-
Notifications
You must be signed in to change notification settings - Fork 13
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
[DO NOT MERGE] LMC: Mavlink ULog rate control support #612
base: main
Are you sure you want to change the base?
Commits on Oct 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7e7797b - Browse repository at this point
Copy the full SHA 7e7797bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 73f3413 - Browse repository at this point
Copy the full SHA 73f3413View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18fc28d - Browse repository at this point
Copy the full SHA 18fc28dView commit details -
Don't exit in case connection establishment fails
This would prevent client to stop working if agent restarts in middle of connection initiation. If entity creation fails the client stop connecting and waiting for next ping response from agent before next connection attempt.
Configuration menu - View commit details
-
Copy full SHA for 7de5a40 - Browse repository at this point
Copy the full SHA 7de5a40View commit details -
Mavlink start supports '-i <x>' flag to read IP address from MAV_<x>_REMOTE_IPn params.
Configuration menu - View commit details
-
Copy full SHA for e8128a7 - Browse repository at this point
Copy the full SHA e8128a7View commit details -
nuttx/Make.defs.in: Remove -T from linker script name
-T is the command line argument for LD, it should not be in the script name
Configuration menu - View commit details
-
Copy full SHA for 6375f0b - Browse repository at this point
Copy the full SHA 6375f0bView commit details -
stm32/bootloader: Fix prototype of bootloader_main
The type of main (entry point) is now relevant, as the entry point is no longer explicitly casted to main_t
Configuration menu - View commit details
-
Copy full SHA for 5d22ef2 - Browse repository at this point
Copy the full SHA 5d22ef2View commit details -
px4_init: Fix linker defined symbols after NuttX update
For some reason, the type of the linker defined symbols was changed. The reasoning was "they typically represent pointers" which is absolutely not true at all. They typically define memory locations, but they can be whatever. It is just a way to provide symbols from the linker to the executable, which is done via relocation symbols.
Configuration menu - View commit details
-
Copy full SHA for 5a1a411 - Browse repository at this point
Copy the full SHA 5a1a411View commit details -
Fix usr_hrt to work also in CONFIG_BUILD_KERNEL
- Allocate a separate wait semaphore for each process (one in PROTECTED_BUILD). Allocate the semaphore in "REGISTER" ioctl, free it in "UNREGISTER" if process exits - Duplicate the user side call events to kernel memory to make them accessible by kernel at all times. Keep track of the allocated items in "freelist" queue - Replace fixed size callout queue with an "inflight" queue Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3f054f3 - Browse repository at this point
Copy the full SHA 3f054f3View commit details -
[TO_UPSTREAM] control_allocator: Fix some implicit double<->float con…
…versions These give errors on some compilers Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2d31e97 - Browse repository at this point
Copy the full SHA 2d31e97View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef0f900 - Browse repository at this point
Copy the full SHA ef0f900View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1146f6 - Browse repository at this point
Copy the full SHA f1146f6View commit details -
Support CamelCase dds topic names
microdds_client dds topic generator to support CamelCase topic names
Configuration menu - View commit details
-
Copy full SHA for 515ea3c - Browse repository at this point
Copy the full SHA 515ea3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f951bc1 - Browse repository at this point
Copy the full SHA f951bc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e41009 - Browse repository at this point
Copy the full SHA 9e41009View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6a1dd9 - Browse repository at this point
Copy the full SHA f6a1dd9View commit details -
Simulator_mavlink: workaround for mavlink message bug
Mavlink msg generator (pymavlink) does not handle mavlink2 message extensions properly. Receiver does not zero-fill the receiver buffer, so due to the extension zero suppression featyure the last "suppressed" fields may contain garbage data. HITL_SENSOR message last field is sensor_id, so it is explicitely set zero to avoid issues.
Configuration menu - View commit details
-
Copy full SHA for 8d4518f - Browse repository at this point
Copy the full SHA 8d4518fView commit details -
microdds_client: support publish rate control
dds_topics.yaml has support for adding optional rate parameter for each publication topics e.g. Limit SensorCombined topic pub rate to 10 Hz: - topic: /fmu/out/sensor_combined type: px4_msgs::msg::SensorCombined rate: 10
Configuration menu - View commit details
-
Copy full SHA for 6346c9d - Browse repository at this point
Copy the full SHA 6346c9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 361273c - Browse repository at this point
Copy the full SHA 361273cView commit details -
px4_layer/protected build: Remove px4_mtd from user space px4 layer
Not usable from user space
Configuration menu - View commit details
-
Copy full SHA for fd580c6 - Browse repository at this point
Copy the full SHA fd580c6View commit details -
The ioctl parameter type was wrong, need to give the handle as well.
Configuration menu - View commit details
-
Copy full SHA for f1f1926 - Browse repository at this point
Copy the full SHA f1f1926View commit details -
nuttx/usr_hrt: Use atexit() instead of shutdown hook to kill user HRT
The shutdown hook is run when the system is shut down, what we want is to call hrt_stop() when the process exits -> use atexit().
Configuration menu - View commit details
-
Copy full SHA for 3609305 - Browse repository at this point
Copy the full SHA 3609305View commit details -
nuttx/usr_hrt: Fix the queue handling in the ioctl glue interface
- Pop the entry from any queue when fiddling around with it, this prevents two threads accessing the same data via the queue - When looking for any item in any queue, the search should be performed with BOTH user entry, and the handle provided. This is because user entries are ambiquous (user virtual addresses) and thus the kernel handle (which is unique) is needed - Fix HRT_CANCEL on the kernel side - Fix HRT_UNREGISTER on the kernel side - Remove potential double booking in callout_queue and callout_inflight. - Do not free items from the freelist, as they do not belong to any thread specifically (as they have been freed) - Remove kernel_entry from the hrt_call structure, the same information can be done by comparing user entry + handle
Configuration menu - View commit details
-
Copy full SHA for 7d42f04 - Browse repository at this point
Copy the full SHA 7d42f04View commit details -
board_ioctl: Remove dependency to lib/builtin.h
The only thing needed from there was the definition of struct builtin_s. The builtin functions are not meant to be used this way anyhow, it is supposed to be a way to inject user-space code into the kernel (the builtin list is _copied_ into kernel memory). The board_ioctl module is is kernel-space only. Also, remove the usage of the "FAR" keyword, we use processors from this millennium that do not use memory segmentation into 64K chunks... The real reason for this change is that CONFIG_BUILD_KERNEL does not allow setting CONFIG_BUILTIN (makes sense, injecting user code into the kernel is not feasible _at all_ with address environments).
Configuration menu - View commit details
-
Copy full SHA for ff806ab - Browse repository at this point
Copy the full SHA ff806abView commit details -
launch_kmod: Strip path from the process name
Allow starting a process with its full path i.e. strip the path from argv[0] and use the base name to find the entry point.
Configuration menu - View commit details
-
Copy full SHA for a16d0d1 - Browse repository at this point
Copy the full SHA a16d0d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b87143 - Browse repository at this point
Copy the full SHA 1b87143View commit details -
nuttx/protected_build: Fix protected build linkage
Do not link the soft float math library, it is not needed for anything and it confuses the linker which does relocations to the FP instructions
Configuration menu - View commit details
-
Copy full SHA for bf083a4 - Browse repository at this point
Copy the full SHA bf083a4View commit details -
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c2cb9f3 - Browse repository at this point
Copy the full SHA c2cb9f3View commit details -
src/modules/logger/log_writer_file.cpp: Increase log_writer_file stack
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a97db64 - Browse repository at this point
Copy the full SHA a97db64View commit details -
platforms/common/work_queue/hrt_thread.c: Use sigaction instead of si…
…gnal Sigaction lets us specify that only the wanted signal is handled with the callback Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 729ce31 - Browse repository at this point
Copy the full SHA 729ce31View commit details -
platforms/common/CMakeLists.txt: Link uorb_msgs to px4_platform
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 117c10e - Browse repository at this point
Copy the full SHA 117c10eView commit details -
uORB/mmap: Wrap mmap behind px4_mmap/unmap
In protected NuttX targets, uORB resides in both kernel- and userspace. However, mmap is not a kernel space API, and must not be directly used from kernel space, if MMU mappings are in use. Why? Because when the kernel side uORB implementation calls mmap, where would the mapping go ? Obviously it would be mapped to the user shared memory virtual addresses, which is a no-no. Fix this by implementing a very dirty, temporary workaround for kernel.
Configuration menu - View commit details
-
Copy full SHA for 5448888 - Browse repository at this point
Copy the full SHA 5448888View commit details -
microdds_client: cleanup pub&sub instances after connection lost
datawriters were not recreated in case of reconnection to agent. Pub&Sub instances are cleared after connection lost is detected, so they are forced to be recreated when connection is regained.
Configuration menu - View commit details
-
Copy full SHA for c0491c6 - Browse repository at this point
Copy the full SHA c0491c6View commit details -
src/drivers/uavcan: CAN drone flight test fixes
- Add/Modify UAVCAN module parameters to allow finer behavior control - Expand UAVCAN mem pool block size
Configuration menu - View commit details
-
Copy full SHA for 2815675 - Browse repository at this point
Copy the full SHA 2815675View commit details -
src/drivers/uavcan: Use UAVCAN_ENABLE param for correct uavcan dynami…
…c node server initialization
Configuration menu - View commit details
-
Copy full SHA for bd9c535 - Browse repository at this point
Copy the full SHA bd9c535View commit details -
mpfs: Use MTIME directly as hrt_absolute_time in protected builds use…
…rspace MTIME register is mapped by MMU directly to user space; thre is no need to do the heavy IOCTL for it Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2ff11d8 - Browse repository at this point
Copy the full SHA 2ff11d8View commit details -
usr_hrt: Obtain location of MTIME via syscall
Instead of using a const value for USRIO_START, which fails when dynamic linking is used (i.e. CONFIG_BUILD_KERNEL), obtain the location of MTIME via syscall to the kernel side HRT.
Configuration menu - View commit details
-
Copy full SHA for bcbf69a - Browse repository at this point
Copy the full SHA bcbf69aView commit details -
crypto_algorithms.h: Add helper macros to get size of signature creat…
…ed with different algorithms This can be used e.g. for bootloader/table of contents creation or in crypto backend code Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2229204 - Browse repository at this point
Copy the full SHA 2229204View commit details -
Add enumerations for CRYPTO_ECDSA_P256 and CRYPTO_RSA_SIG signing alg…
…orithms Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 682c321 - Browse repository at this point
Copy the full SHA 682c321View commit details -
Link the px4_secure_random always, but fail with returning 0 if rng d…
…oesn't exist This is only to resolve linking issues with bootloaders which don't use the random Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 40eedf2 - Browse repository at this point
Copy the full SHA 40eedf2View commit details -
Change the ed25519 key format into PEM, verification key into DER and…
… use the PEM for signing in cryptotools.py This harmonizes the generation and usage of keys. All keys can be simply generated as PEM files with openssl, and public key parts can be injected in DER format. Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 83b67b6 - Browse repository at this point
Copy the full SHA 83b67b6View commit details -
crypto: Add keystore_deinit interface function
In case where keystore backend is real HW, it may need deinitializing in case it is used both in the bootloader and in PX4. Add the interface function for that. Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a9c7e8 - Browse repository at this point
Copy the full SHA 7a9c7e8View commit details -
Small fix for cryptotools.py; dump the public key in correct format
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c428fd7 - Browse repository at this point
Copy the full SHA c428fd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d80e07b - Browse repository at this point
Copy the full SHA d80e07bView commit details -
nuttx/CMakeLists: Add linker script selector
Makes it a bit simpler to select correct linker script(s) for each build type.
Configuration menu - View commit details
-
Copy full SHA for 98e2cb4 - Browse repository at this point
Copy the full SHA 98e2cb4View commit details -
Add a simple netconfig module to configure ethernet IP's for ssrc dev…
…ices This is more or less hardcoded module, which can be used as basis for more advanced functionality later. Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b5af72a - Browse repository at this point
Copy the full SHA b5af72aView commit details -
Add configuration flags to netconfig app
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b4f623d - Browse repository at this point
Copy the full SHA b4f623dView commit details -
ROMFS/px4fmu_common/init.d/rcS: Move executing rc.board_mavlink as la…
…st in rcS This is done only because rpnet is currently slow to start. Revert this change if/when the rpnet startup issues are fixed Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e964ce - Browse repository at this point
Copy the full SHA 1e964ceView commit details -
usr_hrt: Start the worker thread only if it is needed
Instead of starting the worker when a process is created, start it when a call to a hrt service happens. This drops ~30 unnecessary threads from the system, as most user processes use hrt only to obtain the system time.
Configuration menu - View commit details
-
Copy full SHA for 3793545 - Browse repository at this point
Copy the full SHA 3793545View commit details -
ROMFS/px4fmu_common/init.d/rcS: Make it possible to define the device…
… name for "sdcard" in board configuration Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a78c362 - Browse repository at this point
Copy the full SHA a78c362View commit details -
microddsclient Support for multiple topics yaml files
Usage: Define CONFIG_UXRCE_DDS_TOPICS_YAML="<name of new yaml file>" into board specific .px4board config file. Create/copy dds topics yaml file into board dir src/ directory. e.g. boards/px4/fmu5x/src/dds_topics_low_bw.yaml Build log shows the used yaml file name: "microdds_client: use dds topics yaml: 'xxxxx'"
Configuration menu - View commit details
-
Copy full SHA for 932fe58 - Browse repository at this point
Copy the full SHA 932fe58View commit details -
Replace exit() with _exit() as per new nuttx
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ddc8f67 - Browse repository at this point
Copy the full SHA ddc8f67View commit details -
Configuration menu - View commit details
-
Copy full SHA for e24a6da - Browse repository at this point
Copy the full SHA e24a6daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05463cc - Browse repository at this point
Copy the full SHA 05463ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for b19c9e3 - Browse repository at this point
Copy the full SHA b19c9e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2645c51 - Browse repository at this point
Copy the full SHA 2645c51View commit details -
Configuration menu - View commit details
-
Copy full SHA for afbe845 - Browse repository at this point
Copy the full SHA afbe845View commit details -
usr_hrt: Make sure g_abstime_base is valid before dereferencing it
assert() does not work in px4 because it makes a release build that defines NDEBUG for all source files, which in turn disables assert() tests.
Configuration menu - View commit details
-
Copy full SHA for de96683 - Browse repository at this point
Copy the full SHA de96683View commit details -
src/drivers/px4io/px4io.cpp: Fix printf formatter for size_t type
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6361688 - Browse repository at this point
Copy the full SHA 6361688View commit details -
cdc_acm_check: Make cdc_acm_check into its own module
The code that checks for CDC ACM connection needs to be an actual process (module) as: - It cannot run inside the NuttX kernel, it must be capable of starting mavlink - It cannot run inside "the userspace" either, as with CONFIG_BUILD_KERNEL there are several "userspaces" / processes. Do it by: - Forklifting sercon_main() and serdis_main() from libapps, the reason is that with kernel build the symbols are NOT packed into libapps and thus are inaccessible. - Create wrapper for builtin_exec() that can do file exec via posix_spawn()
Configuration menu - View commit details
-
Copy full SHA for d1b4eea - Browse repository at this point
Copy the full SHA d1b4eeaView commit details -
UAVCAN: use esc current absolute value
On UAVCAN drone, sometimes, due to randomness in installation, the motor spinning direction is reverted thus require reversed current and voltage from ESC. This is needed so that only the absolute current value is passed to PX4 system, preventing trigger of esc current < 0 warning
Configuration menu - View commit details
-
Copy full SHA for 80f9902 - Browse repository at this point
Copy the full SHA 80f9902View commit details -
include/cxx/cmath: Forward the fpu functions directly to the __builti…
…n ones Some architectures might not define long double (128-bits) but use the 64-bit double for such arithmetics instead. This fixes a build error due to missing name##l symbol.
Configuration menu - View commit details
-
Copy full SHA for 2b50ce7 - Browse repository at this point
Copy the full SHA 2b50ce7View commit details -
Increase default i2c frequency of rgbled_ncp5623c
This allows the driver to start also on 400kHz bus, and is according to the component spec Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3672787 - Browse repository at this point
Copy the full SHA 3672787View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89de995 - Browse repository at this point
Copy the full SHA 89de995View commit details -
px4_init.cpp: Properly check the return value of mounting procfs
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 14f1b57 - Browse repository at this point
Copy the full SHA 14f1b57View commit details -
drivers/ads1115: Fix consecutive warning "ADS1115 not ready!"
ADS1115 is first commanded to start sampling and after 1/4 of the sample period the single channel sample is read out. However, when using ScheduleOnInterval this fails if the sample reading is blocked for long enough. The resulting _average_ sample rate is still correct (80Hz) but the time between triggering the new sample on the ADC and reading it out can be anything. If the call to ADS1115::RunImpl() happens too soon after starting the new sample, reading it will obviously fail. Fix this by scheduling the sample reading _after_ the sampling has been triggered on the ADC. This ensures the sample is ready the next time when ADS1115::RunImpl() is executed.
Configuration menu - View commit details
-
Copy full SHA for 692a333 - Browse repository at this point
Copy the full SHA 692a333View commit details -
common/px4_init.cpp: Add dummy dso_handle for kernel CPP modules
Some modules might want it, removes link error for uavcan: libuavcan/libuavcan/include/uavcan/node/global_data_type_registry.hpp:215: more undefined references to `__dso_handle'
Configuration menu - View commit details
-
Copy full SHA for 27c19ff - Browse repository at this point
Copy the full SHA 27c19ffView commit details -
blockingqueue.hpp: Fix sem_wait not blocking if task is signaled
sem_wait() can be interrupted if the task receives a signal, however the blockinglist implementation depends on blocking until the semaphore can be obtained.
Configuration menu - View commit details
-
Copy full SHA for 5ed2339 - Browse repository at this point
Copy the full SHA 5ed2339View commit details -
common/shutdown.cpp: Start user worker for CONFIG_BUILD_KERNEL
The userspace work queue is not started automatically by the system, so start it when dispatching the shutdown command. It would be best if there was an init function for shutdown.cpp but this "lazy" init is just fine too.
Configuration menu - View commit details
-
Copy full SHA for 9240c39 - Browse repository at this point
Copy the full SHA 9240c39View commit details -
lib/geo: Use px4_add_library for geo lib
Geo needs libm, which is automatically added by prebuild_targets
Configuration menu - View commit details
-
Copy full SHA for f4f5fcb - Browse repository at this point
Copy the full SHA f4f5fcbView commit details -
platforms/xx: Fix some simple dependencies
- uORB depends on uorb_msgs (get_orb_meta) - px4_platform_init() should not call param_init, if param module is disabled - px4_protected_layers re-organize the link_library commands into one - reboot does not need to explicitly add px4_platform, it gets it anyway
Configuration menu - View commit details
-
Copy full SHA for 4f53f29 - Browse repository at this point
Copy the full SHA 4f53f29View commit details -
platforms/xx: Simplify protected mode dependencies
Move user libraries from the "start/end-group" clause to a proper target_link_libraries so CMake knows the dependency correctly.
Configuration menu - View commit details
-
Copy full SHA for 80804f4 - Browse repository at this point
Copy the full SHA 80804f4View commit details -
nuttx/protected_build: Create kxx library
Create a kernel version of the C++ user library. This is necessary as otherwise some calls will be directed to the user space.
Configuration menu - View commit details
-
Copy full SHA for 217b751 - Browse repository at this point
Copy the full SHA 217b751View commit details -
nuttx/config_build_kernel: Add support for building NuttX in kernel mode
This is phase 0.1 for enabling PX4 in NuttX kernel mode, this builds the simplest possible configuration i.e. NuttX + nsh + px4 userspace init, but no userspace processes yet. One result is a bootable ROMFS which is placed into the kernel binary and mounted into /sbin by the board initialization logic. The kernel knows the mount point and starts the user space from /sbin/init, which is the nsh shell. A second result are the NuttX apps, placed and installed into /bin The next step is to start building the modules into processes
Configuration menu - View commit details
-
Copy full SHA for 6e2f205 - Browse repository at this point
Copy the full SHA 6e2f205View commit details -
nuttx/config_build_kernel: Build the modules into processes
This commit adds support to build px4 modules into individual processes. This is done by using a common main.cpp file, which calls the user space init function and then the module entry point. The entry point is provided by a command line CDEF -Dentry=module_main The processes are installed into /bin and this is mounted as from a ROMFS The dependencies are still a huge mess, and will be fixed later...
Configuration menu - View commit details
-
Copy full SHA for 2a3aab1 - Browse repository at this point
Copy the full SHA 2a3aab1View commit details -
nuttx/config_build_kernel: Do not clear environment in kernel
The environment is cleared for px4 processes, but the initial process needs to have the environment intact. Without this patch the environment is wiped for nsh (the init process) via: px4_platform_init -> px4::WorkQueueManagerStart(); -> px4_task_spawn_cmd() -> clearenv() nsh _NEEDS_ the environment to be intact in kernel mode.
Configuration menu - View commit details
-
Copy full SHA for cb8256b - Browse repository at this point
Copy the full SHA cb8256bView commit details -
nuttx/config_build_kernel: Use symbolic links for starting kernel mod…
…ules The proxy process "launch_kmod" is used to start the kernel side modules, to keep backwards compatibility with nsh builtin apps, use symbolic links to achive the same functionality. rc.sysinit is used for this, it is perfect for setting up low level infrastructure needed by the init process, as it is loaded _before_ the rcS / init.d script.
Configuration menu - View commit details
-
Copy full SHA for 90d3d96 - Browse repository at this point
Copy the full SHA 90d3d96View commit details -
nuttx/config_build_kernel: Do not use user malloc etc for kernel modules
malloc/realloc/free/mallinfo etc don't work correctly when executing NuttX kernel code, as they are used for user heap. For kernel modules, use the kernel versions instead.
Configuration menu - View commit details
-
Copy full SHA for d537435 - Browse repository at this point
Copy the full SHA d537435View commit details -
nuttx/config_build_kernel: Add daemon server for modules
Also, add mechanism to turn the daemon off, for simple apps that don't need it. One example is launch_kmod.
Configuration menu - View commit details
-
Copy full SHA for 98cce1d - Browse repository at this point
Copy the full SHA 98cce1dView commit details -
nuttx/config_build_kernel: Start all modules as daemon during boot
Add the startup to rc.sysinit, so the module daemons are all running before calling the actual init.d/rcS script
Configuration menu - View commit details
-
Copy full SHA for 57ec62d - Browse repository at this point
Copy the full SHA 57ec62dView commit details -
nuttx/config_build_kernel: Start wq:manager on demand
Do not start wq:manager for every process during init, start it only when it is needed. This drops ~20 useless threads from the system.
Configuration menu - View commit details
-
Copy full SHA for 3cdb468 - Browse repository at this point
Copy the full SHA 3cdb468View commit details -
nuttx/config_build_kernel: Temporarily disable link with nuttx_xx and _c
The problem is that prebuild_targets pulls in nuttx_xx (user version) unconditionally, for both user and kernel. This in turn pulls in nuttx_c (user version) which causes a link issue: NuttX/nuttx/libs/libc/libc.a(pthread_attr_init.o): in function `.LANCHOR0': NuttX/nuttx/include/nuttx/pthread.h:118: multiple definition of `g_default_pthread_attr'; NuttX/nuttx/sched/libsched.a(pthread_create.o):/home/ville/wpc_toolchain/workspace/px4-firmware/platforms/nuttx/NuttX/nuttx/include/nuttx/pthread.h:118: first defined here This temporarily patches the issue, the real fix is to remove nuttx_xx from prebuild_targets (which causes a ton of new issues to resolve...)
Configuration menu - View commit details
-
Copy full SHA for bca3402 - Browse repository at this point
Copy the full SHA bca3402View commit details -
nuttx/config_build_kernel: Add submodule for process daemon / tasking…
… logic Bind the daemon and task_create/delete to the correct files
Configuration menu - View commit details
-
Copy full SHA for 6c38ff7 - Browse repository at this point
Copy the full SHA 6c38ff7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e758eb - Browse repository at this point
Copy the full SHA 6e758ebView commit details -
logger/log_writer_file: Disable HARDFAULT_LOG properly
Disable all code regarding hardfaults (ARM specific trap) when they are not used / needed. Fixes build issue with NuttX upstream: In file included from /src/modules/logger/log_writer_file.cpp:46: /src/lib/systemlib/hardfault_log.h:144:3: error: conflicting declaration 'typedef struct stack_t stack_t' 144 | } stack_t;
Configuration menu - View commit details
-
Copy full SHA for 0312cfe - Browse repository at this point
Copy the full SHA 0312cfeView commit details -
platforms/nuttx: nuttx_drivers needs nuttx_mm on link interface
Fixes build error: arm-none-eabi/bin/ld: NuttX/nuttx/drivers/libdrivers.a(pipe_common.o): in function `pipecommon_close': nuttx/drivers/pipes/pipe_common.c:381: undefined reference to `circbuf_uninit'
Configuration menu - View commit details
-
Copy full SHA for 7949547 - Browse repository at this point
Copy the full SHA 7949547View commit details -
simulation gzbridge: add support for rover vehicle type
use vehicle torque and thrust setpoint for rover control
Configuration menu - View commit details
-
Copy full SHA for 77b1612 - Browse repository at this point
Copy the full SHA 77b1612View commit details -
ROMFS/CMakeLists.txt: Fix dependency for rc.sysinit
Must wait for romfs.copy.stamp, otherwise the init script might get wiped.
Configuration menu - View commit details
-
Copy full SHA for 02e2c00 - Browse repository at this point
Copy the full SHA 02e2c00View commit details -
microxrce_client to use px4_poll for uorb subs
- Subscribe to poll uorbs instead of sleeping px4_usleep to allow more accurate timing. - Change rate control to be controlled by uorb subscribe instead of custom rate reduction in microdds_client.
Configuration menu - View commit details
-
Copy full SHA for 1a60011 - Browse repository at this point
Copy the full SHA 1a60011View commit details -
src/drivers/adc/ads1115: Change adc_report type to PublicationMulti
To support several ads1115 modules publishing to different adc_report instances Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ebeff1d - Browse repository at this point
Copy the full SHA ebeff1dView commit details -
Add new fields to image_toc entries
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1674108 - Browse repository at this point
Copy the full SHA 1674108View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cb9a00 - Browse repository at this point
Copy the full SHA 9cb9a00View commit details -
Configuration menu - View commit details
-
Copy full SHA for cceaf28 - Browse repository at this point
Copy the full SHA cceaf28View commit details -
systemcmds/xx: Turn some systemcmds into a non-daemon task
These are simple and stateless applications -> NO_DAEMON saves 1 process and socket from being created for nothing.
Configuration menu - View commit details
-
Copy full SHA for 311d863 - Browse repository at this point
Copy the full SHA 311d863View commit details -
events: Move implementation of events::send() to lib/events
Events have a global, system-wide sequence number, which must be handled atomically, (fetching and incrementing the sequence AND sending the event to uORB must be atomic). Currently in FLAT mode, only one instance of this sequence number exists, so it is OK to have it in px4_platform. However, in PROTECTED mode px4_platform is instantiated both in kernel- and user spaces, which makes two instances of this sequence number, which causes problems in the mavlink event handling logic. When mavlink receives and handles events, it expects that: - The sequence numbers arrive in order (seq n is followed by n+1 etc) - It increments by 1 - There is only one instance of the sequence number In PROTECTED mode this is violated, as the kernel and user sequence numbers run freely on their own. This patch fixes the issue by moving the event backend to the kernel and by providing user access to it via ioctl.
Configuration menu - View commit details
-
Copy full SHA for e4634ba - Browse repository at this point
Copy the full SHA e4634baView commit details -
uORB/callbacks: Increase amount of callbacks to 32 in kernel mode
In kernel mode there might be quite a lot of waiters, so increase the callback list size substantially. Leave the other modes unaffected.
Configuration menu - View commit details
-
Copy full SHA for 0eb29f5 - Browse repository at this point
Copy the full SHA 0eb29f5View commit details -
px4_platform_common/sem.h: Enable SEM_PRIO_INHERIT by default
This is a (temporary) regression mitigation after NuttX 12.0 release, where priority inheritance (pi) was disabled by default. This changes the default behavior, as previously pi was enabled by default. Patch it by enabling it within the px4_sem_init() call.
Configuration menu - View commit details
-
Copy full SHA for 3c6d38f - Browse repository at this point
Copy the full SHA 3c6d38fView commit details -
Add printing of bootloader version into "ver" systemcommand
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3c8aa09 - Browse repository at this point
Copy the full SHA 3c8aa09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10ef931 - Browse repository at this point
Copy the full SHA 10ef931View commit details -
blockingqueue.hpp: Disable priority inheritance for signaling semaphores
The head/tail semaphores are not used as lock but rather as resource counters and thus relate more as signaling semaphores. Disable PI for them. I run my code with CONFIG_DEBUG_ASSERTIONS=y and the kernel panics due to the semaphore having no holder, disabling PI fixes this.
Configuration menu - View commit details
-
Copy full SHA for c1829eb - Browse repository at this point
Copy the full SHA c1829ebView commit details -
WorkItemSingleShot: Disable priority inheritance for signaling semaphore
WorkItemSingleShot::_sem is a signaling semaphore, disable PI for it. Set CONFIG_DEBUG_ASSERTIONS=y and the kernel panics due to the semaphore having no holder, disabling PI fixes this.
Configuration menu - View commit details
-
Copy full SHA for 6d73a39 - Browse repository at this point
Copy the full SHA 6d73a39View commit details -
uORBManager.cpp: Change struct->class SubscriptionCallback
The pointer types should be compatible, still, for OCD purposes change them.
Configuration menu - View commit details
-
Copy full SHA for d67899d - Browse repository at this point
Copy the full SHA d67899dView commit details -
uORBManager.cpp: Change how old / stale semaphore handles are used
When the semaphore is released and re-instantiated, do proper cleanup in g_sem_pool.reserve(). Also remove GlobalSemPool and GlobalLock::set and replace them with free() which just destroys the mutex.
Configuration menu - View commit details
-
Copy full SHA for 15798fd - Browse repository at this point
Copy the full SHA 15798fdView commit details -
px4_kmmap: Implement kmmap properly for px4
NuttX kernel now handles mappings into kernel memory, so the 1 page mapping limitation is unnecessary.
Configuration menu - View commit details
-
Copy full SHA for c0b62ce - Browse repository at this point
Copy the full SHA c0b62ceView commit details -
uORB: Check that px4_mmap returns a valid pointer
If px4_mmap fails, do not proceed and cause random system crash later, instead produce meaningful error messages from uorb_start().
Configuration menu - View commit details
-
Copy full SHA for c95e33d - Browse repository at this point
Copy the full SHA c95e33dView commit details -
[REVERTME] Disable semaphore PI for CONFIG_BUILD_KERNEL
Temporary change, fix when semaphores work properly in kernel mode
Configuration menu - View commit details
-
Copy full SHA for 1f88aa3 - Browse repository at this point
Copy the full SHA 1f88aa3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18c4424 - Browse repository at this point
Copy the full SHA 18c4424View commit details -
SubscriptionCallback.hpp: Fix race condition in unregisterCb/Poll
Remove _cb_handle before calling unregister_callback, to ensure no one uses the old stale handle before it is cleared.
Configuration menu - View commit details
-
Copy full SHA for be41802 - Browse repository at this point
Copy the full SHA be41802View commit details -
uORBManager.cpp: Make sure the sub is registered (valid) before invok…
…ing cb There seems to be a race condition where the callback thread is signaled but the sub is not registered when the orb_callback thread executes. This patches such errors, but the root cause of the race condition is not known. Regardless, this sanity check is not wrong.
Configuration menu - View commit details
-
Copy full SHA for 8194df5 - Browse repository at this point
Copy the full SHA 8194df5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35b0e0c - Browse repository at this point
Copy the full SHA 35b0e0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4d9a49 - Browse repository at this point
Copy the full SHA f4d9a49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79b9cbb - Browse repository at this point
Copy the full SHA 79b9cbbView commit details -
Configuration menu - View commit details
-
Copy full SHA for bdd8196 - Browse repository at this point
Copy the full SHA bdd8196View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f41dc1 - Browse repository at this point
Copy the full SHA 7f41dc1View commit details -
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3f42219 - Browse repository at this point
Copy the full SHA 3f42219View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c47ac4 - Browse repository at this point
Copy the full SHA 3c47ac4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81ecbfc - Browse repository at this point
Copy the full SHA 81ecbfcView commit details
Commits on Oct 27, 2023
-
Update boards/ssrc/icicle after re-base
Keep this target building still Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e87cbdd - Browse repository at this point
Copy the full SHA e87cbddView commit details -
Remove building ssrc target bootloaders in CI
The "px4 bootloader" is no longer supported for these Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a517d7 - Browse repository at this point
Copy the full SHA 8a517d7View commit details
Commits on Oct 30, 2023
-
rover pos control: fix ugv stuttering issue, enable stationary rotati…
…on and smooth path following
Configuration menu - View commit details
-
Copy full SHA for e4fdc74 - Browse repository at this point
Copy the full SHA e4fdc74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83ddc72 - Browse repository at this point
Copy the full SHA 83ddc72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c0e166 - Browse repository at this point
Copy the full SHA 3c0e166View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b604e9 - Browse repository at this point
Copy the full SHA 6b604e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85fb2fa - Browse repository at this point
Copy the full SHA 85fb2faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46a9614 - Browse repository at this point
Copy the full SHA 46a9614View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9d6417 - Browse repository at this point
Copy the full SHA b9d6417View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cb5cce - Browse repository at this point
Copy the full SHA 6cb5cceView commit details -
uxrce_client: Do not send PositionSetpointTriplet
There is no one using the position_setpoint_triplet messages in MC side currently and because no users there, it causes SROS ACL errors about uxrce-agent has no permissions to write to topic.
Configuration menu - View commit details
-
Copy full SHA for 8fc4a7d - Browse repository at this point
Copy the full SHA 8fc4a7dView commit details -
gitmodules: Set nuttx-apps remote to tiiuae/nuttx-apps/master
So we can cherry-pick changes for nuttx-apps. This change maybe worth reverting at some point (make nuttx-apps point to some release again).
Configuration menu - View commit details
-
Copy full SHA for 6de3e92 - Browse repository at this point
Copy the full SHA 6de3e92View commit details
Commits on Oct 31, 2023
-
Update nuttx, apps and kernel process submodules
Kernel mode issues are fixed, mostly CPU usage, almost all of these are patches from upstream.
Configuration menu - View commit details
-
Copy full SHA for f86b747 - Browse repository at this point
Copy the full SHA f86b747View commit details
Commits on Nov 1, 2023
-
platforms/nuttx/src/*/microchip: Change global device_info variable i…
…nto device_boot_info To avoid clashing variable names in px4 Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e0136d1 - Browse repository at this point
Copy the full SHA e0136d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79be544 - Browse repository at this point
Copy the full SHA 79be544View commit details -
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6780933 - Browse repository at this point
Copy the full SHA 6780933View commit details -
Add '-o' option to groupadd in Dockerfile.build_env
Under OSX, user group (staff) is in the low tens (20) and conflicts with system groups of Ubuntu. '-o' allows to create group with same GID but different name.
Configuration menu - View commit details
-
Copy full SHA for 1b22891 - Browse repository at this point
Copy the full SHA 1b22891View commit details -
Configuration menu - View commit details
-
Copy full SHA for 930c673 - Browse repository at this point
Copy the full SHA 930c673View commit details
Commits on Nov 2, 2023
-
nuttx/tasks.cpp: Add px4_exec to tasks.cpp (move it from cdcacm check)
Add a generic px4 exec function to spawn processes either via: - builtin list if configuration does not use file apps - posix_spawn if configuration uses file apps
Configuration menu - View commit details
-
Copy full SHA for 9c28f6e - Browse repository at this point
Copy the full SHA 9c28f6eView commit details -
mavlink/mavlink_shell: Move mavlink shell to its own process in NuttX…
… build Move the mavlink shell to its own process and launch it via px4_exec. The task is very simple and does not need anything from the MavlinkShell class, it is defined as a static function anyway in order to be passed as pointer-to-function to px4_task_spawn. The shell application is now compiled as its own module, and added to the builtin list or list of module binaries, and can / is started via px4_exec instead.
Configuration menu - View commit details
-
Copy full SHA for f1686b0 - Browse repository at this point
Copy the full SHA f1686b0View commit details
Commits on Nov 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3c282ef - Browse repository at this point
Copy the full SHA 3c282efView commit details
Commits on Nov 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7f07ca8 - Browse repository at this point
Copy the full SHA 7f07ca8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91e403b - Browse repository at this point
Copy the full SHA 91e403bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8471ac - Browse repository at this point
Copy the full SHA d8471acView commit details -
Move boards/ssrc/icicle to boards/mpfs/icicle
Icicle boards is not really ssrc HW. In addition, we want to add all "ssrc" boards via a separate submodule. So, move icicle away from "ssrc" Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ead54c4 - Browse repository at this point
Copy the full SHA ead54c4View commit details -
Add support to define PX4 signing key via env. variable
If SIGNING_ARGS environment variable is defined, build script uses its value as a signing key location. Also a new submodule saluki-sec-scripts is added. If SIGNING_ARGS is not defined test keys are used under Tools/saluki-sec-scripts/test_keys/ saluki-sec-scripts contains also signing tools and second set of keys (custom_keys), which are used in FPGA secure boot builds. Signed-off-by: Tero Salminen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1bfc4b3 - Browse repository at this point
Copy the full SHA 1bfc4b3View commit details
Commits on Nov 8, 2023
-
Update pfsoc crypto and keystore submodules
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 181d8cd - Browse repository at this point
Copy the full SHA 181d8cdView commit details
Commits on Nov 9, 2023
-
Add px4_boards_ssrc to be excluded in clone_public.sh
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b0d214f - Browse repository at this point
Copy the full SHA b0d214fView commit details -
Add boards/ssrc/common submodule
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 55633cf - Browse repository at this point
Copy the full SHA 55633cfView commit details -
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 897d1fe - Browse repository at this point
Copy the full SHA 897d1feView commit details
Commits on Nov 14, 2023
-
upload binaries to private jfrog repo
also remove some old unused workflows: - .github/workflows/tiiuae-gzebo-data.yaml - .github/workflows/tiiuae-pixhawk-artifact-publish.yaml
Configuration menu - View commit details
-
Copy full SHA for f8aec93 - Browse repository at this point
Copy the full SHA f8aec93View commit details
Commits on Nov 15, 2023
-
msg: Add uORB messages for publishing system version information
These can be used to transfer version information accross the system (ver, mavlink...) without link dependency to version libraries Also this allows easy publishing the autopilot versions to ROS2 over uXRCE-DDS Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a36d4ab - Browse repository at this point
Copy the full SHA a36d4abView commit details -
mpfs: Publish version messages at boot
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0462de1 - Browse repository at this point
Copy the full SHA 0462de1View commit details -
mpfs: Add fpga version information to device_boot_info struct
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e3fe2a4 - Browse repository at this point
Copy the full SHA e3fe2a4View commit details -
uORB/uORBManager.hpp: Fix pre-processor condition
#if __PX4_NUTTX does nothing, change it to #if defined()
Configuration menu - View commit details
-
Copy full SHA for 146f2f8 - Browse repository at this point
Copy the full SHA 146f2f8View commit details
Commits on Nov 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7859bee - Browse repository at this point
Copy the full SHA 7859beeView commit details -
SubscriptionCallback: Add lock protecting callback during its execution
There is a potential problem with sub->call() and sub->[un-]register(), when the callback is executing, if someone drops the callback registration, it will result in a resource leak and a crash. This does not happen in flat mode, as the uORB::DeviceNode::lock protects both, but when a callback thread is used, there is a race condition which is fixed by this patch.
Configuration menu - View commit details
-
Copy full SHA for 473aa08 - Browse repository at this point
Copy the full SHA 473aa08View commit details -
Configuration menu - View commit details
-
Copy full SHA for e75a161 - Browse repository at this point
Copy the full SHA e75a161View commit details
Commits on Nov 23, 2023
-
Update board/ssrc submodules to fix SPI speed for ICM20649
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 79b088e - Browse repository at this point
Copy the full SHA 79b088eView commit details -
build.sh: Add kernel mode .elf file as saved artifact
Makes analyzing core dumps a whole lot easier
Configuration menu - View commit details
-
Copy full SHA for 06f77f2 - Browse repository at this point
Copy the full SHA 06f77f2View commit details -
Add message authentication code to PX4Crypto interfaces
This is needed if using authenticated encryption/decryption (e.g. AES-GCM) Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 77a6388 - Browse repository at this point
Copy the full SHA 77a6388View commit details -
Add more interfaces for PX4Crypto
Add renew_nonce and and decrypt_data interfaces, and also ioctl's for memory protected builds. Stub these functions in sw_crypto driver. the functions are currently not used but a stub is needed in order to build properly. Add implementation for signature_check in PX4Crypto class, there is already an implementation in the backend, but the function is missing from the PX4Crypto interface. Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8563010 - Browse repository at this point
Copy the full SHA 8563010View commit details -
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 01ee597 - Browse repository at this point
Copy the full SHA 01ee597View commit details -
Configuration menu - View commit details
-
Copy full SHA for 897ab52 - Browse repository at this point
Copy the full SHA 897ab52View commit details
Commits on Nov 27, 2023
-
Combination of multiple dependabot updates: build(deps): bump scipy build(deps): bump actions/upload-artifact from 2.pre.preview to 3.1.3 build(deps): bump docker/setup-buildx-action from 2 to 3 build(deps): bump stefanzweifel/git-auto-commit-action from 4 to 5 build(deps): bump codecov/codecov-action from 1 to 3 build(deps): bump actions/cache from 2 to 3 Signed-off-by: dependabot[bot] <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bf98976 - Browse repository at this point
Copy the full SHA bf98976View commit details -
Update pfsoc crypto submodules
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7c0c1af - Browse repository at this point
Copy the full SHA 7c0c1afView commit details
Commits on Nov 29, 2023
-
src/systemcmd/tests: Improve tests_crypto
Use different size input / output buffers for testing, add some preliminary RSA test code Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b517b8b - Browse repository at this point
Copy the full SHA b517b8bView commit details -
Update pfsoc crypto submodules
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0d70e10 - Browse repository at this point
Copy the full SHA 0d70e10View commit details
Commits on Nov 30, 2023
-
src/drivers/sw_crypto: Fix buffer lengths for xchacha20 crypto
The size input argument for monocypher crypto_xchacha20_ctr should be the plaintext message length. The promise of the interface is, that the call to encrypt_data updates the ciphertext message length after the call succeeds. The crypto should check that the output buffer length (cipher length) is large enough to contain the encrypted data. Fix these issues; these have gone unnoticed for a long time since the interface has been only used by logger, and passing the same size for both in and out. Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f13117d - Browse repository at this point
Copy the full SHA f13117dView commit details
Commits on Dec 1, 2023
-
Update Tools/saluki-sec-scripts submodule
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 608aa8f - Browse repository at this point
Copy the full SHA 608aa8fView commit details -
Update boards/ssrc/common for R&D feature flags
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 70978ef - Browse repository at this point
Copy the full SHA 70978efView commit details -
Add a systemcmd to check R&D feature flags for the board Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9e49787 - Browse repository at this point
Copy the full SHA 9e49787View commit details -
ROMFS/px4fmu_common/init.d/rcS: Disable execution from SD card if not…
… allowed by R&D flags Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b87adac - Browse repository at this point
Copy the full SHA b87adacView commit details -
Remove RDCT bitflag definitions from the image_toc.h
Place them inside the board configuration instead Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3bbe540 - Browse repository at this point
Copy the full SHA 3bbe540View commit details -
Temporary disable tamper protection Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d89b274 - Browse repository at this point
Copy the full SHA d89b274View commit details -
Update NuttX submodule for SPI speed correction
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f1cf472 - Browse repository at this point
Copy the full SHA f1cf472View commit details -
Update boards/ssrc submodules for SPI speed corrections
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bfee66d - Browse repository at this point
Copy the full SHA bfee66dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a676345 - Browse repository at this point
Copy the full SHA a676345View commit details
Commits on Dec 5, 2023
-
platforms/common/uORB: Make consistent use of ATOMIC_ENTER and ATOMIC…
…_LEAVE macros These macros were only used to protect write / copy functions. Use them also for callback registration. Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3b12db4 - Browse repository at this point
Copy the full SHA 3b12db4View commit details
Commits on Dec 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 53fb2b0 - Browse repository at this point
Copy the full SHA 53fb2b0View commit details
Commits on Dec 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a32204f - Browse repository at this point
Copy the full SHA a32204fView commit details
Commits on Dec 12, 2023
-
Navigator: move disable camera trigger on mission inactivation to sep…
…erate function Signed-off-by: Silvan Fuhrer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bbd9c4c - Browse repository at this point
Copy the full SHA bbd9c4cView commit details -
Mission: reset mission on landing only if last item was reached
Signed-off-by: Silvan Fuhrer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1be1eba - Browse repository at this point
Copy the full SHA 1be1ebaView commit details -
Navigator: Mission: improve survey mission resume
Signed-off-by: Silvan Fuhrer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d640f35 - Browse repository at this point
Copy the full SHA d640f35View commit details -
Configuration menu - View commit details
-
Copy full SHA for d360ab7 - Browse repository at this point
Copy the full SHA d360ab7View commit details -
dataman: refactoring _file_initialize
clear dataman file and init initial value on creation
Configuration menu - View commit details
-
Copy full SHA for eb5912c - Browse repository at this point
Copy the full SHA eb5912cView commit details -
dataman: add DatamanClient with sync functions
Rework of dataman
Configuration menu - View commit details
-
Copy full SHA for 1fe305d - Browse repository at this point
Copy the full SHA 1fe305dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cddbb89 - Browse repository at this point
Copy the full SHA cddbb89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ebcfec - Browse repository at this point
Copy the full SHA 7ebcfecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98365b6 - Browse repository at this point
Copy the full SHA 98365b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec9b4d2 - Browse repository at this point
Copy the full SHA ec9b4d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3f3edd - Browse repository at this point
Copy the full SHA e3f3eddView commit details -
Configuration menu - View commit details
-
Copy full SHA for e29ceec - Browse repository at this point
Copy the full SHA e29ceecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cbe41c - Browse repository at this point
Copy the full SHA 9cbe41cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc55ba3 - Browse repository at this point
Copy the full SHA cc55ba3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5150ed - Browse repository at this point
Copy the full SHA a5150edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fdbd01 - Browse repository at this point
Copy the full SHA 3fdbd01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 504caab - Browse repository at this point
Copy the full SHA 504caabView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2d0367 - Browse repository at this point
Copy the full SHA e2d0367View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69df2ef - Browse repository at this point
Copy the full SHA 69df2efView commit details -
dataman: update compat version
A version update is needed since the dataman is showing errors if data doesn't exist or if it is wrongly stored. This will force default data to be initialized.
Configuration menu - View commit details
-
Copy full SHA for cbebc06 - Browse repository at this point
Copy the full SHA cbebc06View commit details -
Configuration menu - View commit details
-
Copy full SHA for be9e97e - Browse repository at this point
Copy the full SHA be9e97eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7189a1f - Browse repository at this point
Copy the full SHA 7189a1fView commit details -
ci: allow tests dataman to pass
tests dataman will trigger errors and run_nsh_cmd.py is not written to detect only when a test fails. This is properly tested with run_tests.py
Configuration menu - View commit details
-
Copy full SHA for 0a51d9d - Browse repository at this point
Copy the full SHA 0a51d9dView commit details -
navigator: use mission topic to notify about geofence & safe point ch…
…anges This avoids the need to regularly access dataman for checking.
Configuration menu - View commit details
-
Copy full SHA for 552348e - Browse repository at this point
Copy the full SHA 552348eView commit details -
navigator: defer saving mission until disarmed
Avoids unnecessary dataman accesses
Configuration menu - View commit details
-
Copy full SHA for f9b740f - Browse repository at this point
Copy the full SHA f9b740fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5d3174 - Browse repository at this point
Copy the full SHA c5d3174View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ea3719 - Browse repository at this point
Copy the full SHA 2ea3719View commit details -
HIL: add --ignore-stdout-errors to run_nsh_cmd.py and use for 'tests …
…dataman' As this test is expected to contain errors.
Configuration menu - View commit details
-
Copy full SHA for 8907ff5 - Browse repository at this point
Copy the full SHA 8907ff5View commit details -
fix dataman: treat 0 as valid return for read & ensure to init buffer
This can happen e.g. when the item is cleared.
Configuration menu - View commit details
-
Copy full SHA for 67fec16 - Browse repository at this point
Copy the full SHA 67fec16View commit details -
mision: only run mission feasibility checks when mission updated
Instead of also when geofence/safe points updated. This prevents reporting multiple times.
Configuration menu - View commit details
-
Copy full SHA for a55481d - Browse repository at this point
Copy the full SHA a55481dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fe2843 - Browse repository at this point
Copy the full SHA 3fe2843View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4072914 - Browse repository at this point
Copy the full SHA 4072914View commit details -
mission: On an updated mission, don't assume per default that the mis…
…sion is not valid, use the state from the last mission validation.
Configuration menu - View commit details
-
Copy full SHA for c1f9829 - Browse repository at this point
Copy the full SHA c1f9829View commit details -
mavlink-mission: Initialize the safepoint and mission counter from th…
…e dataman state. If at the last powercycle one mission was uploaded, the counter in dataman was 1. On the next powercycle the mavlink mission counter was reset to zero and on first mission upload updated to 1 again. Other modules check, if the mission was changed based on the counter, like the mission.cpp loaded the mission counter from the dataman. On a new mission, the comparison of the counters failed, because both were the same value even if the mission was completely different.
Configuration menu - View commit details
-
Copy full SHA for bda13a5 - Browse repository at this point
Copy the full SHA bda13a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f4fbbd - Browse repository at this point
Copy the full SHA 9f4fbbdView commit details
Commits on Dec 13, 2023
-
Update saluki-v2 and nuttx submodules
Fetch changes to enable compiler optimized memcpy et al
Configuration menu - View commit details
-
Copy full SHA for 2ba8ffb - Browse repository at this point
Copy the full SHA 2ba8ffbView commit details
Commits on Dec 14, 2023
-
navigator/MissionFeasibility: Fix orb_publish interface for the new uORB
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fe222f3 - Browse repository at this point
Copy the full SHA fe222f3View commit details -
uORB: Fix uORB wrap-around test, set _data_valid = true together with…
… generation This manifests only with the new uORB library, which always returns 0 updates available when data is not valid Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 06d44f7 - Browse repository at this point
Copy the full SHA 06d44f7View commit details -
Change some printfs to PX4_INFO to "make tests" to pass
With the latest NuttX, for some reason printfs don't match the regexps as before (probably due to \n character in the end) Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for df48443 - Browse repository at this point
Copy the full SHA df48443View commit details -
cmake/gtest/px4_add_gtest.cmake: Link gtests to events
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 006b959 - Browse repository at this point
Copy the full SHA 006b959View commit details -
build px4 custom signed binaries
- build custom signed px4 - package fpga binaries to px4 container - bootloader is now included in fpga bitstream so no need to package it anymore - build from added tag: v1.14.0-*
Configuration menu - View commit details
-
Copy full SHA for eb5c076 - Browse repository at this point
Copy the full SHA eb5c076View commit details
Commits on Dec 19, 2023
-
uORB: Optimize callbacks in protected builds
In protected builds, put all SubscriptionCallbacks into process specific lists, and in the callback thread execute them in a loop. Set the priority of the callback threads to the priority of nav_and_controllers+1, this should be always enough. It is currently very difficult to find the optimal value. Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fb8bd97 - Browse repository at this point
Copy the full SHA fb8bd97View commit details -
Set callback thread priority to nav_and_controllers priority
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 394cfc6 - Browse repository at this point
Copy the full SHA 394cfc6View commit details -
uORB: Fix a bug in IndexedStack rm
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c46237e - Browse repository at this point
Copy the full SHA c46237eView commit details
Commits on Dec 20, 2023
-
Update saluki-sec-scripts submodule
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6dcd65c - Browse repository at this point
Copy the full SHA 6dcd65cView commit details -
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6fcb391 - Browse repository at this point
Copy the full SHA 6fcb391View commit details -
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7d51159 - Browse repository at this point
Copy the full SHA 7d51159View commit details
Commits on Dec 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1841fe3 - Browse repository at this point
Copy the full SHA 1841fe3View commit details -
SITL: fix parse error on start
This fixes the error: etc/init.d-posix/rcS: 39: [: Illegal number: Signed-off-by: Julian Oes <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0cf0572 - Browse repository at this point
Copy the full SHA 0cf0572View commit details -
SITL: fix parse error due to logging
This fixes the error: /px4_sitl_etc/init.d-posix/rcS.sim_udp: 26: [: =: unexpected operator
Configuration menu - View commit details
-
Copy full SHA for 63e5611 - Browse repository at this point
Copy the full SHA 63e5611View commit details -
SITL airframe for ssrc_fog_x fixed
CA_ROTOR and PWM_MAIN_FUNC params added to init.d-posix/4400 airframe to make actuator outputs working for sitl
Configuration menu - View commit details
-
Copy full SHA for e688b40 - Browse repository at this point
Copy the full SHA e688b40View commit details
Commits on Jan 9, 2024
-
build(deps): bump docker/login-action from 2 to 3
Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3. - [Release notes](https://github.com/docker/login-action/releases) - [Commits](docker/login-action@v2...v3) --- updated-dependencies: - dependency-name: docker/login-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f1cb5b9 - Browse repository at this point
Copy the full SHA f1cb5b9View commit details
Commits on Jan 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a84ac3c - Browse repository at this point
Copy the full SHA a84ac3cView commit details
Commits on Jan 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3eb5581 - Browse repository at this point
Copy the full SHA 3eb5581View commit details
Commits on Jan 12, 2024
-
Pull latest changes + get rid of merge commits
Configuration menu - View commit details
-
Copy full SHA for 609977d - Browse repository at this point
Copy the full SHA 609977dView commit details
Commits on Jan 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 017b616 - Browse repository at this point
Copy the full SHA 017b616View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6795ba7 - Browse repository at this point
Copy the full SHA 6795ba7View commit details
Commits on Jan 16, 2024
-
Update NuttX submodule for mpfs i2c corrections
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f42b0db - Browse repository at this point
Copy the full SHA f42b0dbView commit details
Commits on Jan 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0097b6b - Browse repository at this point
Copy the full SHA 0097b6bView commit details -
mavlink_ulog: always update ulog_stream_acked uorb even check_for_upd…
…ates not set If update not called, it may lead to infinite loop in case check_for_updates not set and there are new messages in ulog_stream_acked uorb.
Configuration menu - View commit details
-
Copy full SHA for f3a8744 - Browse repository at this point
Copy the full SHA f3a8744View commit details -
Update NuttX submodule for PLIC warm reboot initialization fix
Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 94301da - Browse repository at this point
Copy the full SHA 94301daView commit details -
Add CRC code to every block stored in px4_24xxxx_mtd.c
An EEPROM behind and i2c media is not 100% failure proof. But any errors in e.g. mtd_params reading can cause catastrophic failures in flight. Mitigate any possible errors in px4 mtd_params reading by adding crc code to every page on EEPROM In addition: - Read every block into a temporary buffer before copying to clients buffer; this fixes some issues with memory protected builds when writing directly to user buffers from i2c driver interrupt handler - If a read request fails, don't return any partially filled buffer to user Signed-off-by: Jukka Laitinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 92ef045 - Browse repository at this point
Copy the full SHA 92ef045View commit details
Commits on Jan 19, 2024
-
px4_init.cpp: Define __cxa_atexit() here
Like __dso_handle, this symbol must NOT be pulled from the user libc. The __cxa_atexitatexit() functions in kernel are no-ops as we don't support shared library destructors.
Configuration menu - View commit details
-
Copy full SHA for e45dc83 - Browse repository at this point
Copy the full SHA e45dc83View commit details
Commits on Jan 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d783993 - Browse repository at this point
Copy the full SHA d783993View commit details
Commits on Jan 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c1ba103 - Browse repository at this point
Copy the full SHA c1ba103View commit details
Commits on Jan 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 92dee64 - Browse repository at this point
Copy the full SHA 92dee64View commit details -
Configuration menu - View commit details
-
Copy full SHA for 851b188 - Browse repository at this point
Copy the full SHA 851b188View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebd9f38 - Browse repository at this point
Copy the full SHA ebd9f38View commit details -
Revert "mavlink_ulog: always update ulog_stream_acked uorb even check…
…_for_updates not set" This reverts commit f3a8744. Updating and sometimes ignoring ulog_stream_acked reduces the load, but may cause log to be corrupted due to missing definition data. Need to revert the patch to avoid broken log files.
Configuration menu - View commit details
-
Copy full SHA for 0357a57 - Browse repository at this point
Copy the full SHA 0357a57View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4e0960 - Browse repository at this point
Copy the full SHA e4e0960View commit details
Commits on Jan 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a24893a - Browse repository at this point
Copy the full SHA a24893aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e17c4cb - Browse repository at this point
Copy the full SHA e17c4cbView commit details