Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DP7417 C++ Implementation of Secure MAVLink proxy on device-side #563

Open
wants to merge 273 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
273 commits
Select commit Hold shift + click to select a range
556c3a3
platforms/common/uORB/SubscriptionBlocking.hpp: Fix CLOCK_REALTIME ->…
jlaitine Nov 26, 2022
0bb76ff
Re-write uORB around posix shm
jlaitine Apr 4, 2022
03a9738
uORB/uORBManager: Use adjusted stack size for orb_callback
pussuw Dec 20, 2022
2c74e7d
uORB/uORBManager: Add simple "is client alive"-test to manager
pussuw Jan 17, 2023
92457fb
uorb: Move global _callback_ptr to per thread callback pointer
pussuw Oct 2, 2023
0e80c6b
Print error if device name too long
jnippula Sep 5, 2023
da0d636
uorb: _POSIX_NAME_MAX -> NAME_MAX
jnippula Sep 13, 2023
7446b60
cdev: remove poll interface
jlaitine Apr 22, 2022
0b60318
src/systemcmds/topic_listener: Change topic listener to poll only on …
jlaitine Apr 22, 2022
5105bd0
platforms/xx: Fix some simple dependencies
pussuw Mar 15, 2023
22a2705
platforms/nuttx: nuttx_drivers needs nuttx_mm on link interface
pussuw Aug 23, 2023
cea5733
Add boards/ssrc targets as submodules
jlaitine Sep 15, 2023
90ad141
Add boards/ssrc/icicle target for building for icicle board
jlaitine Sep 15, 2023
a0ad687
Add SSRC crypto submodules
jlaitine Sep 15, 2023
325f5f2
Add SSRC CI buils scripts
jlaitine Sep 15, 2023
2355f1d
Switch src/modules/microdds_client/Micro-XRCE-DDS-Client into tiiuae …
jlaitine Dec 9, 2022
0878c81
Add basic files to support PX4_SOC_ARCH_ID_MPFS
jlaitine Sep 15, 2023
6e8edbd
[TO_UPSTREAM] px4_mtd: Add forward declaration for struct i2c_master_s
jlaitine Apr 30, 2021
a88e4b7
Add SSRC airframes
jlaitine Oct 23, 2020
52beeed
Set QGC remote address for docker container usage
jnippula Nov 2, 2020
1c0f0f1
SITL logging to file only
jnippula Nov 2, 2020
071c6fe
Add ssrc_fog_x as SITL target
jnippula Nov 18, 2020
1e91adc
Disable Multi EKF for 4400_ssrc_fog_x sitl
jlaitine Nov 26, 2020
e7633cf
SSRC: Store the px4 parameters which are specific to flying location …
jlaitine Mar 22, 2021
38fd1bf
px_uploader: Sp2 header to MAVLINK_REBOOT command
jpaali Apr 14, 2021
c77087a
Tools/px_uploader.py: send reset command also via eth
jlaitine Sep 15, 2023
e891666
px_uploader.py: Increase maximum timeout value for crc32 calculation
jlaitine Mar 30, 2023
c9a2ce6
add gazebo-data build
kulmesa May 26, 2021
afb42b4
Use atomic<int> type for atomic bool on RISC-V
jlaitine Apr 30, 2021
12aa750
Add pwm_esc driver
jlaitine Aug 13, 2021
661c514
px4_platform_common/defines: Define M_PI_F et.al. only if they are no…
jlaitine Apr 30, 2021
2dd9532
Support a new board specific rc file "rc.board_paths"
jlaitine Sep 22, 2021
dc5682b
drivers/tone_alarm: Device node friendly implementation
jpaali Oct 12, 2021
d150fcf
src/platforms/common: Make I2C reset speed configurable
jpaali Nov 1, 2021
7ec07cb
PX4_SITL: Start logging on arming instead of from bootup
jnippula Jan 24, 2022
fe4c94f
Increase navigator and wq stacks
jlaitine Feb 4, 2022
84858e7
bootloader/toc parsing: Allow setting FLASH_START_ADDRESS in board sp…
jlaitine Jan 11, 2022
2a98cb1
Add riscv opensbi support for bootloaders
jlaitine Jan 18, 2022
5a54da8
Remove RISC-V GP relaxations
jlaitine Feb 9, 2022
509f5bb
src/modules/mavlink: Remove CONFIG_NET_IGMP and CONFIG_NET_ROUTE requ…
jlaitine Feb 11, 2022
e43f704
Fix typo in SITL logger mode change
jnippula Feb 14, 2022
de4a8ff
Simulator tcp server support
jnippula Feb 16, 2022
b753aea
[TO_UPSTREAM] Increase mavlink_shell stack size for 64-bit targets
jlaitine Mar 10, 2022
876a2bf
Add interface libraries to sw_crypto for userspace compilation
jlaitine Oct 6, 2021
35be392
Test script to run containerized simulation
jnippula Apr 22, 2022
cef4ca8
Update script for testing containerized simulation
jnippula Apr 29, 2022
8455a4d
upload.cmake: Support usb composite device
jlaitine Jun 17, 2022
63620ba
Store gps device_id generated from gps id of hil_gps message
jnippula Jun 9, 2022
67a0c8b
usr_hrt: Increase stack size to 2K
pussuw Jun 28, 2022
52a2bee
usr_hrt: Remove critical section
pussuw Jun 28, 2022
a3bed96
Remove clusterFuzzLite action
jlaitine Jul 11, 2022
71dde61
Enable relaxations for risc-v bootloader to save some space
jlaitine Jul 22, 2022
62e1b21
Fix GyroFFT default fallback.
Aug 17, 2022
4d77d8b
sitl px4-rc.params: support for config.txt
jnippula Aug 5, 2022
ccc2fbe
Add check for _below_gnd_effect_hgt into _get_ground_effect_state() w…
jlaitine Aug 29, 2022
9fe4e17
usr_hrt.c: Adjust stack size according to memory architecture
pussuw Aug 29, 2022
42ddc38
nuttx/tasks.cpp: Use libc method "getprogname" to get task name
pussuw Aug 30, 2022
cc24c59
nuttx/tasks.cpp: Use libc procedures to delete px4 task
pussuw Aug 30, 2022
4f78434
Disable I2C interface in ICM42688P sensor when it is initialized
jlaitine Sep 2, 2022
78327df
usr_hrt: Remove hrt_store_absolute_time
pussuw Jun 28, 2022
abe0f41
boards/xx/toc: Move the ToC to the beginning of the firmware image
pussuw Aug 4, 2022
2c103a9
crypto_hal: Add support for second toc location (BACKPORT)
pussuw Sep 21, 2022
6aafde4
nuttx/toc: Fix re-building of px4 with signed binary
pussuw Sep 22, 2022
7169e0b
Fix CONFIG_BUILD_PROTECTED after NuttX update
pussuw Sep 22, 2022
1c48568
set PLATFORM_NAME to toolchains
jnippula Sep 22, 2022
5464e26
MicroXRCE-DDS-Client: rebase to upstream 2.2.1 version
jnippula Dec 12, 2022
048d70d
microdds_client: receiver port support
jnippula Sep 26, 2022
d3aa236
microdds_client: create participant_by_ref
jnippula Dec 12, 2022
e8e7112
px4-sitl: change microxrce port values
jnippula Dec 12, 2022
cfa78c8
px4_platform_common/atomic.h: Use IRQ locks only when REALLY needed
pussuw Sep 29, 2022
fd7d8d6
cdc_acm_check: Remove it from KERNEL_SRCS
pussuw Oct 11, 2022
1a51122
Remove HIL_STATE_QUATERNION handling from HITL case
jnippula Oct 13, 2022
7e7797b
ControlAllocator: cast NAN's to float
jnippula Oct 27, 2022
73f3413
SSRC uae artifactory configurations
ssrcdevops Nov 3, 2022
18fc28d
workflow name changed to tiiuae-pixhawk-uae-artifact-publish
ssrcdevops Nov 3, 2022
7de5a40
Don't exit in case connection establishment fails
jnippula Nov 14, 2022
e8128a7
Add MAV_x_REMOTE_IPn params
jnippula Nov 23, 2022
6375f0b
nuttx/Make.defs.in: Remove -T from linker script name
pussuw Nov 28, 2022
5d22ef2
stm32/bootloader: Fix prototype of bootloader_main
pussuw Nov 28, 2022
5a1a411
px4_init: Fix linker defined symbols after NuttX update
pussuw Nov 23, 2022
3f054f3
Fix usr_hrt to work also in CONFIG_BUILD_KERNEL
jlaitine Dec 5, 2022
2d31e97
[TO_UPSTREAM] control_allocator: Fix some implicit double<->float con…
jlaitine Dec 9, 2022
ef0f900
dds_topics.h.em: Configure data_reader and _writer for ROS2 communica…
jnippula Dec 12, 2022
f1146f6
microdds_client: increase send/recv entity create timeouts
jnippula Dec 12, 2022
515ea3c
Support CamelCase dds topic names
jnippula Dec 14, 2022
f951bc1
dds topics use CamelCase
jnippula Dec 14, 2022
9e41009
microdds_client: add ssrc specific topics
jnippula Dec 12, 2022
f6a1dd9
Simulator tcp server support, -s flag
jnippula Dec 14, 2022
8d4518f
Simulator_mavlink: workaround for mavlink message bug
jnippula Dec 15, 2022
6346c9d
microdds_client: support publish rate control
jnippula Dec 16, 2022
361273c
px4_sitl: add PWM_OUT_SIM driver
jnippula Dec 21, 2022
fd580c6
px4_layer/protected build: Remove px4_mtd from user space px4 layer
pussuw Dec 7, 2022
f1f1926
nuttx/usr_hrt: Fix HRT_CANCEL
pussuw Jan 5, 2023
3609305
nuttx/usr_hrt: Use atexit() instead of shutdown hook to kill user HRT
pussuw Jan 5, 2023
7d42f04
nuttx/usr_hrt: Fix the queue handling in the ioctl glue interface
pussuw Jan 10, 2023
ff806ab
board_ioctl: Remove dependency to lib/builtin.h
pussuw Sep 29, 2022
a16d0d1
launch_kmod: Strip path from the process name
pussuw Nov 23, 2022
1b87143
Add OpenAMP libraries into builds and enable NET_RPMSG
jpaali Sep 16, 2022
bf083a4
nuttx/protected_build: Fix protected build linkage
pussuw Jan 12, 2023
c2cb9f3
Increase SPI wq stack sizes
jlaitine Jan 27, 2023
a97db64
src/modules/logger/log_writer_file.cpp: Increase log_writer_file stack
jlaitine Jan 27, 2023
729ce31
platforms/common/work_queue/hrt_thread.c: Use sigaction instead of si…
jlaitine Aug 11, 2022
117c10e
platforms/common/CMakeLists.txt: Link uorb_msgs to px4_platform
jlaitine Jan 3, 2023
5448888
uORB/mmap: Wrap mmap behind px4_mmap/unmap
pussuw Dec 7, 2022
c0491c6
microdds_client: cleanup pub&sub instances after connection lost
jnippula Feb 1, 2023
2815675
src/drivers/uavcan: CAN drone flight test fixes
haitomatic Jan 30, 2023
bd9c535
src/drivers/uavcan: Use UAVCAN_ENABLE param for correct uavcan dynami…
haitomatic Feb 1, 2023
2ff11d8
mpfs: Use MTIME directly as hrt_absolute_time in protected builds use…
jlaitine Feb 9, 2023
bcbf69a
usr_hrt: Obtain location of MTIME via syscall
pussuw Feb 16, 2023
2229204
crypto_algorithms.h: Add helper macros to get size of signature creat…
jlaitine Feb 16, 2023
682c321
Add enumerations for CRYPTO_ECDSA_P256 and CRYPTO_RSA_SIG signing alg…
jlaitine Feb 17, 2023
40eedf2
Link the px4_secure_random always, but fail with returning 0 if rng d…
jlaitine Mar 20, 2023
83b67b6
Change the ed25519 key format into PEM, verification key into DER and…
jlaitine Mar 21, 2023
7a9c7e8
crypto: Add keystore_deinit interface function
jlaitine Mar 23, 2023
c428fd7
Small fix for cryptotools.py; dump the public key in correct format
jlaitine Mar 23, 2023
d80e07b
modules/uxrce_dds_client: Put uxrce_dds_client to user space
pussuw Mar 14, 2023
98e2cb4
nuttx/CMakeLists: Add linker script selector
pussuw Sep 28, 2022
b5af72a
Add a simple netconfig module to configure ethernet IP's for ssrc dev…
jlaitine Apr 4, 2023
b4f623d
Add configuration flags to netconfig app
jlaitine Apr 5, 2023
1e964ce
ROMFS/px4fmu_common/init.d/rcS: Move executing rc.board_mavlink as la…
jlaitine Apr 5, 2023
3793545
usr_hrt: Start the worker thread only if it is needed
pussuw Apr 17, 2023
a78c362
ROMFS/px4fmu_common/init.d/rcS: Make it possible to define the device…
jlaitine Apr 18, 2023
932fe58
microddsclient Support for multiple topics yaml files
jnippula Apr 18, 2023
ddc8f67
Replace exit() with _exit() as per new nuttx
jlaitine Apr 21, 2023
e24a6da
Add rover interface CAN driver
haitomatic Apr 27, 2023
05463cc
Enable bunker aiframe support in rc.rover_apps
haitomatic Sep 5, 2023
b19c9e3
Select mavlink logging only if there is no SD card available
jnippula May 12, 2023
2645c51
uavcan driver: fix socketcan iface canX type
haitomatic May 16, 2023
afbe845
uavcan: increase RX/TX rate; decrease param request handling rate
haitomatic May 22, 2023
de96683
usr_hrt: Make sure g_abstime_base is valid before dereferencing it
pussuw May 25, 2023
6361688
src/drivers/px4io/px4io.cpp: Fix printf formatter for size_t type
jlaitine May 30, 2023
d1b4eea
cdc_acm_check: Make cdc_acm_check into its own module
pussuw Jun 13, 2023
80f9902
UAVCAN: use esc current absolute value
haitomatic Jun 16, 2023
2b50ce7
include/cxx/cmath: Forward the fpu functions directly to the __builti…
pussuw Jun 14, 2023
3672787
Increase default i2c frequency of rgbled_ncp5623c
jlaitine Jul 11, 2023
89de995
uavcan: change err msg to debug for param get/set
haitomatic Jul 13, 2023
14f1b57
px4_init.cpp: Properly check the return value of mounting procfs
jlaitine Jul 20, 2023
692a333
drivers/ads1115: Fix consecutive warning "ADS1115 not ready!"
pussuw Aug 10, 2023
27c19ff
common/px4_init.cpp: Add dummy dso_handle for kernel CPP modules
pussuw Aug 10, 2023
5ed2339
blockingqueue.hpp: Fix sem_wait not blocking if task is signaled
pussuw Aug 10, 2023
9240c39
common/shutdown.cpp: Start user worker for CONFIG_BUILD_KERNEL
pussuw Aug 10, 2023
f4f5fcb
lib/geo: Use px4_add_library for geo lib
pussuw Aug 14, 2023
4f53f29
platforms/xx: Fix some simple dependencies
pussuw Mar 15, 2023
80804f4
platforms/xx: Simplify protected mode dependencies
pussuw Aug 11, 2023
217b751
nuttx/protected_build: Create kxx library
pussuw Dec 9, 2022
6e2f205
nuttx/config_build_kernel: Add support for building NuttX in kernel mode
pussuw Oct 10, 2022
2a3aab1
nuttx/config_build_kernel: Build the modules into processes
pussuw Nov 11, 2022
cb8256b
nuttx/config_build_kernel: Do not clear environment in kernel
pussuw Dec 9, 2022
90d3d96
nuttx/config_build_kernel: Use symbolic links for starting kernel mod…
pussuw Dec 9, 2022
d537435
nuttx/config_build_kernel: Do not use user malloc etc for kernel modules
pussuw Dec 20, 2022
98cce1d
nuttx/config_build_kernel: Add daemon server for modules
pussuw Apr 6, 2023
57ec62d
nuttx/config_build_kernel: Start all modules as daemon during boot
pussuw Apr 6, 2023
3cdb468
nuttx/config_build_kernel: Start wq:manager on demand
pussuw May 12, 2023
bca3402
nuttx/config_build_kernel: Temporarily disable link with nuttx_xx and _c
pussuw Aug 17, 2023
6c38ff7
nuttx/config_build_kernel: Add submodule for process daemon / tasking…
pussuw Aug 17, 2023
6e758eb
drivers/drv_hrt.h: Fix faulty operator for timebase macros
pussuw Aug 25, 2023
0312cfe
logger/log_writer_file: Disable HARDFAULT_LOG properly
pussuw Aug 22, 2023
7949547
platforms/nuttx: nuttx_drivers needs nuttx_mm on link interface
pussuw Aug 23, 2023
77b1612
simulation gzbridge: add support for rover vehicle type
haitomatic Jun 27, 2023
02e2c00
ROMFS/CMakeLists.txt: Fix dependency for rc.sysinit
pussuw Aug 31, 2023
1a60011
microxrce_client to use px4_poll for uorb subs
jnippula Sep 4, 2023
ebeff1d
src/drivers/adc/ads1115: Change adc_report type to PublicationMulti
jlaitine Sep 5, 2023
1674108
Add new fields to image_toc entries
jlaitine Sep 13, 2023
9cb9a00
add firmware flasher container
joonas-fi Jan 13, 2022
cceaf28
nuttx/tasks.cpp: Enable ENV unconditionally when CONFIG_BUILD_KERNEL=y
pussuw Sep 15, 2023
311d863
systemcmds/xx: Turn some systemcmds into a non-daemon task
pussuw Sep 14, 2023
e4634ba
events: Move implementation of events::send() to lib/events
pussuw Sep 21, 2023
0eb29f5
uORB/callbacks: Increase amount of callbacks to 32 in kernel mode
pussuw Sep 21, 2023
3c6d38f
px4_platform_common/sem.h: Enable SEM_PRIO_INHERIT by default
pussuw Sep 27, 2023
3c8aa09
Add printing of bootloader version into "ver" systemcommand
jlaitine Oct 3, 2023
10ef931
SITL: configurable uxrce ip-address
jnippula Oct 4, 2023
c1829eb
blockingqueue.hpp: Disable priority inheritance for signaling semaphores
pussuw Oct 4, 2023
6d73a39
WorkItemSingleShot: Disable priority inheritance for signaling semaphore
pussuw Oct 4, 2023
d67899d
uORBManager.cpp: Change struct->class SubscriptionCallback
pussuw Oct 5, 2023
15798fd
uORBManager.cpp: Change how old / stale semaphore handles are used
pussuw Oct 5, 2023
c0b62ce
px4_kmmap: Implement kmmap properly for px4
pussuw Oct 3, 2023
c95e33d
uORB: Check that px4_mmap returns a valid pointer
pussuw Oct 3, 2023
1f88aa3
[REVERTME] Disable semaphore PI for CONFIG_BUILD_KERNEL
pussuw Oct 9, 2023
18c4424
uORBManager.hpp: Check handle validity in queue/dequeueCallback
pussuw Oct 5, 2023
be41802
SubscriptionCallback.hpp: Fix race condition in unregisterCb/Poll
pussuw Oct 9, 2023
8194df5
uORBManager.cpp: Make sure the sub is registered (valid) before invok…
pussuw Oct 9, 2023
35b0e0c
Add SSRC arwing and strivermini frames
vnopanen Oct 18, 2023
f4d9a49
Add ulog_stream_acked
jnippula Sep 22, 2023
79b9cbb
saluki-v2: enable pthread_key feature
jnippula Oct 25, 2023
bdd8196
mavlink_ulog: parallel mavlink logging
jnippula Sep 22, 2023
7f41dc1
logger: parallel mavlink logging
jnippula Oct 12, 2023
3f42219
Update boards/ssrc submodules
jlaitine Oct 26, 2023
3c47ac4
github action: sitl-tests to use gazebo-classic
jnippula Oct 26, 2023
81ecbfc
saluki-vx: Update submodules for rpmsg address change
pussuw Oct 26, 2023
e87cbdd
Update boards/ssrc/icicle after re-base
jlaitine Oct 27, 2023
8a517d7
Remove building ssrc target bootloaders in CI
jlaitine Oct 27, 2023
e4fdc74
rover pos control: fix ugv stuttering issue, enable stationary rotati…
haitomatic Oct 26, 2023
83ddc72
rover interface: change params
haitomatic Oct 26, 2023
3c0e166
airframes: update rover airframe default params, add 50007 Bunker Min…
haitomatic Oct 26, 2023
6b604e9
Add and modify gz sim airframes
haitomatic Oct 26, 2023
85fb2fa
packaging: add gz sim compatible px4 sitl container image build
haitomatic Oct 26, 2023
46a9614
simulation: gz sim sitl hamonizing; fix gz bridge rover sim interface
haitomatic Oct 26, 2023
b9d6417
rover pos control: fix yaw output
haitomatic Oct 27, 2023
6cb5cce
packaging: gz sim sitl change px4 branch to main
haitomatic Oct 27, 2023
8fc4a7d
uxrce_client: Do not send PositionSetpointTriplet
jnippula Oct 30, 2023
6de3e92
gitmodules: Set nuttx-apps remote to tiiuae/nuttx-apps/master
pussuw Oct 30, 2023
f86b747
Update nuttx, apps and kernel process submodules
pussuw Oct 30, 2023
e0136d1
platforms/nuttx/src/*/microchip: Change global device_info variable i…
jlaitine Oct 31, 2023
79be544
Update NuttX
jlaitine Oct 31, 2023
6780933
Update boards/ssrc submodules
jlaitine Oct 31, 2023
1b22891
Add '-o' option to groupadd in Dockerfile.build_env
gpoulios Oct 31, 2023
930c673
Avoid fatal error due to git user mismatch
gpoulios Oct 31, 2023
9c28f6e
nuttx/tasks.cpp: Add px4_exec to tasks.cpp (move it from cdcacm check)
pussuw Sep 14, 2023
f1686b0
mavlink/mavlink_shell: Move mavlink shell to its own process in NuttX…
pussuw Sep 14, 2023
3c282ef
DP-7313 add fpga and bootloader-v2 binaries to px4 container
TimoSairiala Oct 27, 2023
7f07ca8
update nuttx: add mpfs_wdog
jnippula Nov 6, 2023
91e403b
px4_reboot_request supports continue_boot option
jnippula Nov 6, 2023
d8471ac
systemcmd/reboot support bl continue boot
jnippula Nov 6, 2023
ead54c4
Move boards/ssrc/icicle to boards/mpfs/icicle
jlaitine Nov 7, 2023
1bfc4b3
Add support to define PX4 signing key via env. variable
t-salminen Oct 18, 2023
181d8cd
Update pfsoc crypto and keystore submodules
jlaitine Nov 3, 2023
b0d214f
Add px4_boards_ssrc to be excluded in clone_public.sh
jlaitine Nov 8, 2023
55633cf
Add boards/ssrc/common submodule
jlaitine Nov 9, 2023
897d1fe
Update boards/ssrc submodules
jlaitine Nov 9, 2023
f8aec93
upload binaries to private jfrog repo
TimoSairiala Nov 14, 2023
a36d4ab
msg: Add uORB messages for publishing system version information
jlaitine Nov 10, 2023
0462de1
mpfs: Publish version messages at boot
jlaitine Nov 10, 2023
e3fe2a4
mpfs: Add fpga version information to device_boot_info struct
jlaitine Nov 10, 2023
146f2f8
uORB/uORBManager.hpp: Fix pre-processor condition
pussuw Nov 14, 2023
7859bee
px4_sem: Re-enable priority inheritance for kernel mode
pussuw Nov 15, 2023
473aa08
SubscriptionCallback: Add lock protecting callback during its execution
pussuw Nov 16, 2023
e75a161
Update nuttx to include patch for kernel mode PI issue
pussuw Nov 16, 2023
79b088e
Update board/ssrc submodules to fix SPI speed for ICM20649
jlaitine Nov 23, 2023
06f77f2
build.sh: Add kernel mode .elf file as saved artifact
pussuw Nov 23, 2023
77a6388
Add message authentication code to PX4Crypto interfaces
jlaitine Nov 16, 2023
8563010
Add more interfaces for PX4Crypto
jlaitine Nov 13, 2023
01ee597
Update pf crypto submodules
jlaitine Nov 13, 2023
897ab52
Add crypto tests
jlaitine Nov 15, 2023
bf98976
Dependabot updates
dependabot[bot] Oct 27, 2023
7c0c1af
Update pfsoc crypto submodules
jlaitine Nov 24, 2023
b540b32
DP7417 C++ Implementation of Secure MAVLink proxy on device-side
kjyrinki-unikie Nov 24, 2023
3d5b68d
DP7417 Added Kcofig and code formatting for secure_mavlink_udp_proxy.cpp
kjyrinki-unikie Nov 24, 2023
ba1ae0e
DP7417 Moved implementation into own submodule.
kjyrinki-unikie Nov 27, 2023
157f4ff
update proxy
jlaitine Nov 28, 2023
46aceaa
DP7417 Updated submodules
kjyrinki-unikie Nov 29, 2023
771bcf2
DP7417 Updated secure_mavlink_udp_proxy submodule
kjyrinki-unikie Nov 30, 2023
9d03327
update platforms/nuttx/NuttX/extern/pf_crypto
jnippula Nov 30, 2023
ebedb60
saluki-v2: start secure mavlink instance and proxy
jnippula Nov 30, 2023
c10eeb1
clone_public update: skip secure mavlink
jnippula Nov 30, 2023
53cdf62
Update secure_mavlink_udp_proxy
jnippula Dec 12, 2023
587fd51
update pf_crypto
jnippula Dec 12, 2023
58a3673
update Saluki-v2
jnippula Dec 12, 2023
d98b35c
Update nuttx
jnippula Dec 12, 2023
be38a22
pf_crypto dma fix
jnippula Dec 14, 2023
071d32b
update Saluki-v2: IOB fix for kernel mode
jnippula Dec 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
34 changes: 0 additions & 34 deletions .github/workflows/cflite_batch.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: make ${{matrix.check}}
- name: upload coverage
if: contains(matrix.check, 'coverage')
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compile_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
message("::set-output name=timestamp::${current_date}")
- name: ccache cache files
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.ccache
key: ${{matrix.config}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compile_linux_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
message("::set-output name=timestamp::${current_date}")
- name: ccache cache files
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.ccache
key: ${{matrix.config}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compile_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
message("::set-output name=timestamp::${current_date}")
- name: ccache cache files
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.ccache
key: macos_${{matrix.config}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/compile_nuttx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
message("::set-output name=timestamp::${current_date}")
- name: ccache cache files
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.ccache
key: ${{matrix.config}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
run: ccache -s

- name: Upload px4 package
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.3
with:
name: px4_package_${{matrix.config}}
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ekf_update_change_indicator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
run: echo "CHANGE_INDICATED=$(git diff --exit-code --output=/dev/null || echo $?)" >> $GITHUB_ENV
working-directory: src/modules/ekf2/test/change_indication
- name: auto-commit any changes to change indication
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: '[AUTO COMMIT] update change indication'
commit_user_name: ${GIT_COMMITTER_NAME}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/mavros_mission_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
message("::set-output name=timestamp::${current_date}")
- name: ccache cache files
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.ccache
key: sitl_tests-${{matrix.config.build_type}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
run: gdb build/px4_sitl_default/bin/px4 px4.core -ex "thread apply all bt" -ex "quit"
- name: Upload px4 coredump
if: failure()
uses: actions/upload-artifact@v2-preview
uses: actions/upload-artifact@v3.1.3
with:
name: coredump
path: px4.core
Expand All @@ -101,21 +101,21 @@ jobs:

- name: Upload px4 binary
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.3
with:
name: binary
path: build/px4_sitl_default/bin/px4

- name: Store PX4 log
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.3
with:
name: px4_log
path: ~/.ros/log/*/*.ulg

- name: Store ROS log
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.3
with:
name: ros_log
path: ~/.ros/**/rostest-*.log
Expand All @@ -132,7 +132,7 @@ jobs:
lcov --directory build/px4_sitl_default --base-directory build/px4_sitl_default --gcov-tool gcov --capture -o coverage/lcov.info
- name: Upload coverage information to Codecov
if: contains(matrix.config.build_type, 'Coverage')
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: mavros_mission
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/mavros_offboard_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
message("::set-output name=timestamp::${current_date}")
- name: ccache cache files
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.ccache
key: sitl_tests-${{matrix.config.build_type}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
run: gdb build/px4_sitl_default/bin/px4 px4.core -ex "thread apply all bt" -ex "quit"
- name: Upload px4 coredump
if: failure()
uses: actions/upload-artifact@v2-preview
uses: actions/upload-artifact@v3.1.3
with:
name: coredump
path: px4.core
Expand All @@ -96,21 +96,21 @@ jobs:

- name: Upload px4 binary
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.3
with:
name: binary
path: build/px4_sitl_default/bin/px4

- name: Store PX4 log
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.3
with:
name: px4_log
path: ~/.ros/log/*/*.ulg

- name: Store ROS log
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.3
with:
name: ros_log
path: ~/.ros/**/rostest-*.log
Expand All @@ -127,7 +127,7 @@ jobs:
lcov --directory build/px4_sitl_default --base-directory build/px4_sitl_default --gcov-tool gcov --capture -o coverage/lcov.info
- name: Upload coverage information to Codecov
if: contains(matrix.config.build_type, 'Coverage')
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: mavros_offboard
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/sitl_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
message("::set-output name=timestamp::${current_date}")
- name: ccache cache files
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.ccache
key: sitl_tests-${{matrix.config.build_type}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
Expand Down Expand Up @@ -104,14 +104,14 @@ jobs:
run: gdb build/px4_sitl_default/bin/px4 px4.core -ex "thread apply all bt" -ex "quit"
- name: Upload px4 coredump
if: failure()
uses: actions/upload-artifact@v2-preview
uses: actions/upload-artifact@v3.1.3
with:
name: coredump
path: px4.core

- name: Upload px4 binary
if: failure()
uses: actions/upload-artifact@v2-preview
uses: actions/upload-artifact@v3.1.3
with:
name: binary
path: build/px4_sitl_default/bin/px4
Expand All @@ -128,7 +128,7 @@ jobs:
lcov --directory build/px4_sitl_default --base-directory build/px4_sitl_default --gcov-tool gcov --capture -o coverage/lcov.info
- name: Upload coverage information to Codecov
if: contains(matrix.config.build_type, 'Coverage')
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: mavsdk
Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/tiiuae-builder-images.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: tiiuae-builder-images

on:
# Run only manually
workflow_dispatch:

permissions:
contents: read
packages: write

jobs:
hw-builder-image:
name: create docker builder base image
runs-on: ubuntu-latest
steps:
- name: Checkout px4-firmware
uses: actions/checkout@v4
with:
path: px4-firmware
fetch-depth: 0
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/tiiuae/px4-firmware-builder-base
tags: |
type=raw,value=latest
type=sha
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build builder base image and push
uses: docker/build-push-action@v5
with:
context: .
file: ./px4-firmware/packaging/Dockerfile.build_env_pre
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
18 changes: 18 additions & 0 deletions .github/workflows/tiiuae-check-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Make check_format before PULLREQUEST.


name: check_format

on: [pull_request]

jobs:
main:
name: Validate testfile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Lint
run: |
sudo apt update -y && sudo apt install -y --no-install-recommends make astyle
make check_format
47 changes: 47 additions & 0 deletions .github/workflows/tiiuae-coverity-scan-image.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: tiiuae-coverity-scan-image

on:
# Run only manually
workflow_dispatch:

permissions:
contents: read
packages: write

jobs:
coverity-scan-image:
name: create coverity scan image
runs-on: ubuntu-latest
steps:
- name: Checkout px4-firmware
uses: actions/checkout@v3
with:
path: px4-firmware
fetch-depth: 0
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/tiiuae/px4-coverity-scan-image
tags: |
type=raw,value=latest
type=sha
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push coverity scan image
uses: docker/build-push-action@v4
with:
context: .
file: ./px4-firmware/packaging/Dockerfile.coverity
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
"COVERITY_DOCKER_REGISTRY_USERNAME=${{ secrets.COVERITY_DOCKER_REGISTRY_USERNAME }}"
"COVERITY_DOCKER_REGISTRY_ACCESS_TOKEN=${{ secrets.COVERITY_DOCKER_REGISTRY_ACCESS_TOKEN }}"
"COVERITY_LICENSE_DAT_B64=${{ secrets.COVERITY_LICENSE_DAT_B64 }}"
"COVERITY_ACCESS_TOKEN_B64=${{ secrets.COVERITY_ACCESS_TOKEN_B64 }}"
36 changes: 36 additions & 0 deletions .github/workflows/tiiuae-coverity-scan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: tiiuae-px4-coverity-scan

on:
workflow_dispatch:
pull_request:
branches: [ main ]
jobs:
coverity:
runs-on: px4-self-hosted-coverity
steps:
- name: Checkout px4-firmware
uses: actions/checkout@v3
with:
token: ${{ secrets.GH_REPO_TOKEN }}
submodules: 'recursive'
fetch-depth: 0
- name: Fetch submodule tags
run: |
git submodule foreach --recursive git fetch --tags
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run coverity scan
run:
docker run --rm -v "$(pwd):/main_ws" ghcr.io/tiiuae/px4-coverity-scan-image:latest
- name: Update summary
run:
cat cov-analyze-result.txt >> $GITHUB_STEP_SUMMARY
- name: Upload coverity scan results
uses: actions/[email protected]
with:
name: coverity-html-report-${{ github.event.repository.name }}
path: coverity-output
Loading