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

[DO NOT MERGE] LMC: Mavlink ULog rate control support #612

Draft
wants to merge 345 commits into
base: main
Choose a base branch
from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Oct 26, 2023

  1. ControlAllocator: cast NAN's to float

    jnippula authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    7e7797b View commit details
    Browse the repository at this point in the history
  2. SSRC uae artifactory configurations

    ssrcdevops authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    73f3413 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    18fc28d View commit details
    Browse the repository at this point in the history
  4. 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.
    jnippula authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    7de5a40 View commit details
    Browse the repository at this point in the history
  5. Add MAV_x_REMOTE_IPn params

    Mavlink start supports '-i <x>' flag to read IP address
    from MAV_<x>_REMOTE_IPn params.
    jnippula authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    e8128a7 View commit details
    Browse the repository at this point in the history
  6. 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
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    6375f0b View commit details
    Browse the repository at this point in the history
  7. 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
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    5d22ef2 View commit details
    Browse the repository at this point in the history
  8. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    5a1a411 View commit details
    Browse the repository at this point in the history
  9. 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]>
    jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    3f054f3 View commit details
    Browse the repository at this point in the history
  10. [TO_UPSTREAM] control_allocator: Fix some implicit double<->float con…

    …versions
    
    These give errors on some compilers
    
    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    2d31e97 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ef0f900 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f1146f6 View commit details
    Browse the repository at this point in the history
  13. Support CamelCase dds topic names

    microdds_client dds topic generator to support CamelCase topic names
    jnippula authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    515ea3c View commit details
    Browse the repository at this point in the history
  14. dds topics use CamelCase

    jnippula authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    f951bc1 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    9e41009 View commit details
    Browse the repository at this point in the history
  16. Simulator tcp server support, -s flag

    jnippula authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    f6a1dd9 View commit details
    Browse the repository at this point in the history
  17. 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.
    jnippula authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    8d4518f View commit details
    Browse the repository at this point in the history
  18. 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
    jnippula authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    6346c9d View commit details
    Browse the repository at this point in the history
  19. px4_sitl: add PWM_OUT_SIM driver

    jnippula authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    361273c View commit details
    Browse the repository at this point in the history
  20. px4_layer/protected build: Remove px4_mtd from user space px4 layer

    Not usable from user space
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    fd580c6 View commit details
    Browse the repository at this point in the history
  21. nuttx/usr_hrt: Fix HRT_CANCEL

    The ioctl parameter type was wrong, need to give the handle as well.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    f1f1926 View commit details
    Browse the repository at this point in the history
  22. 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().
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    3609305 View commit details
    Browse the repository at this point in the history
  23. 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
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    7d42f04 View commit details
    Browse the repository at this point in the history
  24. 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).
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    ff806ab View commit details
    Browse the repository at this point in the history
  25. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    a16d0d1 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    1b87143 View commit details
    Browse the repository at this point in the history
  27. 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
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    bf083a4 View commit details
    Browse the repository at this point in the history
  28. Increase SPI wq stack sizes

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    c2cb9f3 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    a97db64 View commit details
    Browse the repository at this point in the history
  30. 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]>
    jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    729ce31 View commit details
    Browse the repository at this point in the history
  31. platforms/common/CMakeLists.txt: Link uorb_msgs to px4_platform

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    117c10e View commit details
    Browse the repository at this point in the history
  32. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    5448888 View commit details
    Browse the repository at this point in the history
  33. 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.
    jnippula authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    c0491c6 View commit details
    Browse the repository at this point in the history
  34. src/drivers/uavcan: CAN drone flight test fixes

    - Add/Modify UAVCAN module parameters to allow finer behavior control
    - Expand UAVCAN mem pool block size
    haitomatic authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    2815675 View commit details
    Browse the repository at this point in the history
  35. src/drivers/uavcan: Use UAVCAN_ENABLE param for correct uavcan dynami…

    …c node server initialization
    haitomatic authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    bd9c535 View commit details
    Browse the repository at this point in the history
  36. 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]>
    jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    2ff11d8 View commit details
    Browse the repository at this point in the history
  37. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    bcbf69a View commit details
    Browse the repository at this point in the history
  38. 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]>
    jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    2229204 View commit details
    Browse the repository at this point in the history
  39. Add enumerations for CRYPTO_ECDSA_P256 and CRYPTO_RSA_SIG signing alg…

    …orithms
    
    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    682c321 View commit details
    Browse the repository at this point in the history
  40. 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]>
    jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    40eedf2 View commit details
    Browse the repository at this point in the history
  41. 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]>
    jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    83b67b6 View commit details
    Browse the repository at this point in the history
  42. 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]>
    jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    7a9c7e8 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    c428fd7 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    d80e07b View commit details
    Browse the repository at this point in the history
  45. nuttx/CMakeLists: Add linker script selector

    Makes it a bit simpler to select correct linker script(s) for each
    build type.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    98e2cb4 View commit details
    Browse the repository at this point in the history
  46. 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]>
    jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    b5af72a View commit details
    Browse the repository at this point in the history
  47. Add configuration flags to netconfig app

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    b4f623d View commit details
    Browse the repository at this point in the history
  48. 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]>
    jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    1e964ce View commit details
    Browse the repository at this point in the history
  49. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    3793545 View commit details
    Browse the repository at this point in the history
  50. 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]>
    jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    a78c362 View commit details
    Browse the repository at this point in the history
  51. 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'"
    jnippula authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    932fe58 View commit details
    Browse the repository at this point in the history
  52. Replace exit() with _exit() as per new nuttx

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    ddc8f67 View commit details
    Browse the repository at this point in the history
  53. Add rover interface CAN driver

    haitomatic authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    e24a6da View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    05463cc View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    b19c9e3 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    2645c51 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    afbe845 View commit details
    Browse the repository at this point in the history
  58. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    de96683 View commit details
    Browse the repository at this point in the history
  59. src/drivers/px4io/px4io.cpp: Fix printf formatter for size_t type

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    6361688 View commit details
    Browse the repository at this point in the history
  60. 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()
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    d1b4eea View commit details
    Browse the repository at this point in the history
  61. 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
    haitomatic authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    80f9902 View commit details
    Browse the repository at this point in the history
  62. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    2b50ce7 View commit details
    Browse the repository at this point in the history
  63. 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]>
    jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    3672787 View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    89de995 View commit details
    Browse the repository at this point in the history
  65. px4_init.cpp: Properly check the return value of mounting procfs

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    14f1b57 View commit details
    Browse the repository at this point in the history
  66. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    692a333 View commit details
    Browse the repository at this point in the history
  67. 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'
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    27c19ff View commit details
    Browse the repository at this point in the history
  68. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    5ed2339 View commit details
    Browse the repository at this point in the history
  69. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    9240c39 View commit details
    Browse the repository at this point in the history
  70. lib/geo: Use px4_add_library for geo lib

    Geo needs libm, which is automatically added by prebuild_targets
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    f4f5fcb View commit details
    Browse the repository at this point in the history
  71. 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
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    4f53f29 View commit details
    Browse the repository at this point in the history
  72. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    80804f4 View commit details
    Browse the repository at this point in the history
  73. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    217b751 View commit details
    Browse the repository at this point in the history
  74. 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
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    6e2f205 View commit details
    Browse the repository at this point in the history
  75. 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...
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    2a3aab1 View commit details
    Browse the repository at this point in the history
  76. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    cb8256b View commit details
    Browse the repository at this point in the history
  77. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    90d3d96 View commit details
    Browse the repository at this point in the history
  78. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    d537435 View commit details
    Browse the repository at this point in the history
  79. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    98cce1d View commit details
    Browse the repository at this point in the history
  80. 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
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    57ec62d View commit details
    Browse the repository at this point in the history
  81. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    3cdb468 View commit details
    Browse the repository at this point in the history
  82. 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...)
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    bca3402 View commit details
    Browse the repository at this point in the history
  83. nuttx/config_build_kernel: Add submodule for process daemon / tasking…

    … logic
    
    Bind the daemon and task_create/delete to the correct files
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    6c38ff7 View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    6e758eb View commit details
    Browse the repository at this point in the history
  85. 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;
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    0312cfe View commit details
    Browse the repository at this point in the history
  86. 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'
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    7949547 View commit details
    Browse the repository at this point in the history
  87. simulation gzbridge: add support for rover vehicle type

    use vehicle torque and thrust setpoint for rover control
    haitomatic authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    77b1612 View commit details
    Browse the repository at this point in the history
  88. ROMFS/CMakeLists.txt: Fix dependency for rc.sysinit

    Must wait for romfs.copy.stamp, otherwise the init script might get wiped.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    02e2c00 View commit details
    Browse the repository at this point in the history
  89. 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.
    jnippula authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    1a60011 View commit details
    Browse the repository at this point in the history
  90. 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]>
    jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    ebeff1d View commit details
    Browse the repository at this point in the history
  91. Add new fields to image_toc entries

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    1674108 View commit details
    Browse the repository at this point in the history
  92. add firmware flasher container

    joonas-fi authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    9cb9a00 View commit details
    Browse the repository at this point in the history
  93. Configuration menu
    Copy the full SHA
    cceaf28 View commit details
    Browse the repository at this point in the history
  94. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    311d863 View commit details
    Browse the repository at this point in the history
  95. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    e4634ba View commit details
    Browse the repository at this point in the history
  96. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    0eb29f5 View commit details
    Browse the repository at this point in the history
  97. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    3c6d38f View commit details
    Browse the repository at this point in the history
  98. Add printing of bootloader version into "ver" systemcommand

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    3c8aa09 View commit details
    Browse the repository at this point in the history
  99. SITL: configurable uxrce ip-address

    jnippula authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    10ef931 View commit details
    Browse the repository at this point in the history
  100. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    c1829eb View commit details
    Browse the repository at this point in the history
  101. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    6d73a39 View commit details
    Browse the repository at this point in the history
  102. uORBManager.cpp: Change struct->class SubscriptionCallback

    The pointer types should be compatible, still, for OCD purposes change
    them.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    d67899d View commit details
    Browse the repository at this point in the history
  103. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    15798fd View commit details
    Browse the repository at this point in the history
  104. px4_kmmap: Implement kmmap properly for px4

    NuttX kernel now handles mappings into kernel memory, so the 1 page
    mapping limitation is unnecessary.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    c0b62ce View commit details
    Browse the repository at this point in the history
  105. 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().
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    c95e33d View commit details
    Browse the repository at this point in the history
  106. [REVERTME] Disable semaphore PI for CONFIG_BUILD_KERNEL

    Temporary change, fix when semaphores work properly in kernel mode
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    1f88aa3 View commit details
    Browse the repository at this point in the history
  107. Configuration menu
    Copy the full SHA
    18c4424 View commit details
    Browse the repository at this point in the history
  108. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    be41802 View commit details
    Browse the repository at this point in the history
  109. 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.
    pussuw authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    8194df5 View commit details
    Browse the repository at this point in the history
  110. Add SSRC arwing and strivermini frames

    vnopanen authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    35b0e0c View commit details
    Browse the repository at this point in the history
  111. Add ulog_stream_acked

    jnippula authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    f4d9a49 View commit details
    Browse the repository at this point in the history
  112. saluki-v2: enable pthread_key feature

    jnippula authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    79b9cbb View commit details
    Browse the repository at this point in the history
  113. mavlink_ulog: parallel mavlink logging

    jnippula authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    bdd8196 View commit details
    Browse the repository at this point in the history
  114. logger: parallel mavlink logging

    jnippula authored and jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    7f41dc1 View commit details
    Browse the repository at this point in the history
  115. Update boards/ssrc submodules

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    3f42219 View commit details
    Browse the repository at this point in the history
  116. Configuration menu
    Copy the full SHA
    3c47ac4 View commit details
    Browse the repository at this point in the history
  117. Configuration menu
    Copy the full SHA
    81ecbfc View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2023

  1. Update boards/ssrc/icicle after re-base

    Keep this target building still
    
    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    e87cbdd View commit details
    Browse the repository at this point in the history
  2. Remove building ssrc target bootloaders in CI

    The "px4 bootloader" is no longer supported for these
    
    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    8a517d7 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. rover pos control: fix ugv stuttering issue, enable stationary rotati…

    …on and smooth path following
    haitomatic committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    e4fdc74 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    83ddc72 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3c0e166 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6b604e9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    85fb2fa View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    46a9614 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b9d6417 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6cb5cce View commit details
    Browse the repository at this point in the history
  9. 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.
    jnippula committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    8fc4a7d View commit details
    Browse the repository at this point in the history
  10. 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).
    pussuw committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    6de3e92 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Update nuttx, apps and kernel process submodules

    Kernel mode issues are fixed, mostly CPU usage, almost all of these are
    patches from upstream.
    pussuw committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    f86b747 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. 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]>
    jlaitine committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    e0136d1 View commit details
    Browse the repository at this point in the history
  2. Update NuttX

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    79be544 View commit details
    Browse the repository at this point in the history
  3. Update boards/ssrc submodules

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    6780933 View commit details
    Browse the repository at this point in the history
  4. 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.
    gpoulios committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    1b22891 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    930c673 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. 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
    pussuw committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    9c28f6e View commit details
    Browse the repository at this point in the history
  2. 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.
    pussuw committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    f1686b0 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2023

  1. Configuration menu
    Copy the full SHA
    3c282ef View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. update nuttx: add mpfs_wdog

    jnippula committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    7f07ca8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    91e403b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d8471ac View commit details
    Browse the repository at this point in the history
  4. 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]>
    jlaitine committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    ead54c4 View commit details
    Browse the repository at this point in the history
  5. 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]>
    t-salminen authored and jlaitine committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    1bfc4b3 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. Update pfsoc crypto and keystore submodules

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    181d8cd View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. Add px4_boards_ssrc to be excluded in clone_public.sh

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    b0d214f View commit details
    Browse the repository at this point in the history
  2. Add boards/ssrc/common submodule

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    55633cf View commit details
    Browse the repository at this point in the history
  3. Update boards/ssrc submodules

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    897d1fe View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2023

  1. 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
    TimoSairiala committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    f8aec93 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. 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]>
    jlaitine committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    a36d4ab View commit details
    Browse the repository at this point in the history
  2. mpfs: Publish version messages at boot

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    0462de1 View commit details
    Browse the repository at this point in the history
  3. mpfs: Add fpga version information to device_boot_info struct

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    e3fe2a4 View commit details
    Browse the repository at this point in the history
  4. uORB/uORBManager.hpp: Fix pre-processor condition

    #if __PX4_NUTTX does nothing, change it to #if defined()
    pussuw committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    146f2f8 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

  1. Configuration menu
    Copy the full SHA
    7859bee View commit details
    Browse the repository at this point in the history
  2. 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.
    pussuw committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    473aa08 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e75a161 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. Update board/ssrc submodules to fix SPI speed for ICM20649

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    79b088e View commit details
    Browse the repository at this point in the history
  2. build.sh: Add kernel mode .elf file as saved artifact

    Makes analyzing core dumps a whole lot easier
    pussuw committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    06f77f2 View commit details
    Browse the repository at this point in the history
  3. 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]>
    jlaitine committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    77a6388 View commit details
    Browse the repository at this point in the history
  4. 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]>
    jlaitine committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    8563010 View commit details
    Browse the repository at this point in the history
  5. Update pf crypto submodules

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    01ee597 View commit details
    Browse the repository at this point in the history
  6. Add crypto tests

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    897ab52 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2023

  1. Dependabot updates

    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]>
    dependabot[bot] authored and TimoSairiala committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    bf98976 View commit details
    Browse the repository at this point in the history
  2. Update pfsoc crypto submodules

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    7c0c1af View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2023

  1. 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]>
    jlaitine committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    b517b8b View commit details
    Browse the repository at this point in the history
  2. Update pfsoc crypto submodules

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    0d70e10 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2023

  1. 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]>
    jlaitine committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    f13117d View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2023

  1. Update Tools/saluki-sec-scripts submodule

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    608aa8f View commit details
    Browse the repository at this point in the history
  2. Update boards/ssrc/common for R&D feature flags

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    70978ef View commit details
    Browse the repository at this point in the history
  3. Add rdfeat systemcmd

    Add a systemcmd to check R&D feature flags for the board
    
    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    9e49787 View commit details
    Browse the repository at this point in the history
  4. 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]>
    jlaitine committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    b87adac View commit details
    Browse the repository at this point in the history
  5. Remove RDCT bitflag definitions from the image_toc.h

    Place them inside the board configuration instead
    
    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    3bbe540 View commit details
    Browse the repository at this point in the history
  6. Update boards/ssrc submodules

    Temporary disable tamper protection
    
    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    d89b274 View commit details
    Browse the repository at this point in the history
  7. Update NuttX submodule for SPI speed correction

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    f1cf472 View commit details
    Browse the repository at this point in the history
  8. Update boards/ssrc submodules for SPI speed corrections

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    bfee66d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a676345 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2023

  1. 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]>
    jlaitine committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    3b12db4 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2023

  1. Update pf crypto submodule

    jnippula committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    53fb2b0 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

  1. Configuration menu
    Copy the full SHA
    a32204f View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. Navigator: move disable camera trigger on mission inactivation to sep…

    …erate function
    
    Signed-off-by: Silvan Fuhrer <[email protected]>
    sfuhrer authored and pussuw committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    bbd9c4c View commit details
    Browse the repository at this point in the history
  2. Mission: reset mission on landing only if last item was reached

    Signed-off-by: Silvan Fuhrer <[email protected]>
    sfuhrer authored and pussuw committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    1be1eba View commit details
    Browse the repository at this point in the history
  3. Navigator: Mission: improve survey mission resume

    Signed-off-by: Silvan Fuhrer <[email protected]>
    sfuhrer authored and pussuw committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    d640f35 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d360ab7 View commit details
    Browse the repository at this point in the history
  5. dataman: refactoring _file_initialize

    clear dataman file and init initial value on creation
    Igor-Misic authored and pussuw committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    eb5912c View commit details
    Browse the repository at this point in the history
  6. dataman: add DatamanClient with sync functions

    Rework of dataman
    Igor-Misic authored and pussuw committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    1fe305d View commit details
    Browse the repository at this point in the history
  7. datamanClient: add async functions

    Igor-Misic authored and pussuw committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    cddbb89 View commit details
    Browse the repository at this point in the history
  8. datamanClient: add DatamanCache class

    Igor-Misic authored and pussuw committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    7ebcfec View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    98365b6 View commit details
    Browse the repository at this point in the history
  10. mission: integrate dataman cache

    Igor-Misic authored and pussuw committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    ec9b4d2 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e3f3edd View commit details
    Browse the repository at this point in the history
  12. geofence: integrate dataman cache

    Igor-Misic authored and pussuw committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    e29ceec View commit details
    Browse the repository at this point in the history
  13. rtl: integrate dataman cache

    Igor-Misic authored and pussuw committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    9cbe41c View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    cc55ba3 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    a5150ed View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    3fdbd01 View commit details
    Browse the repository at this point in the history
  17. dataman: remove locking mechanism

    Igor-Misic authored and pussuw committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    504caab View commit details
    Browse the repository at this point in the history
  18. dataman: add perf_counter

    Igor-Misic authored and pussuw committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    e2d0367 View commit details
    Browse the repository at this point in the history
  19. GeofenceBreachAvoidanceTest: bug fix

    Igor-Misic authored and pussuw committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    69df2ef View commit details
    Browse the repository at this point in the history
  20. 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.
    Igor-Misic authored and pussuw committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    cbebc06 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    be9e97e View commit details
    Browse the repository at this point in the history
  22. dataman: add guards for max item value

    Igor-Misic authored and pussuw committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    7189a1f View commit details
    Browse the repository at this point in the history
  23. 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
    Igor-Misic authored and pussuw committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    0a51d9d View commit details
    Browse the repository at this point in the history
  24. navigator: use mission topic to notify about geofence & safe point ch…

    …anges
    
    This avoids the need to regularly access dataman for checking.
    bkueng authored and pussuw committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    552348e View commit details
    Browse the repository at this point in the history
  25. navigator: defer saving mission until disarmed

    Avoids unnecessary dataman accesses
    bkueng authored and pussuw committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    f9b740f View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    c5d3174 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    2ea3719 View commit details
    Browse the repository at this point in the history
  28. HIL: add --ignore-stdout-errors to run_nsh_cmd.py and use for 'tests …

    …dataman'
    
    As this test is expected to contain errors.
    bkueng authored and pussuw committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    8907ff5 View commit details
    Browse the repository at this point in the history
  29. fix dataman: treat 0 as valid return for read & ensure to init buffer

    This can happen e.g. when the item is cleared.
    bkueng authored and pussuw committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    67fec16 View commit details
    Browse the repository at this point in the history
  30. mision: only run mission feasibility checks when mission updated

    Instead of also when geofence/safe points updated.
    This prevents reporting multiple times.
    bkueng authored and pussuw committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    a55481d View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    3fe2843 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    4072914 View commit details
    Browse the repository at this point in the history
  33. 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.
    KonradRudin authored and pussuw committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    c1f9829 View commit details
    Browse the repository at this point in the history
  34. 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.
    KonradRudin authored and pussuw committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    bda13a5 View commit details
    Browse the repository at this point in the history
  35. update saluki-v3

    jnippula committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    9f4fbbd View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. Update saluki-v2 and nuttx submodules

    Fetch changes to enable compiler optimized memcpy et al
    pussuw committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    2ba8ffb View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2023

  1. Configuration menu
    Copy the full SHA
    fe222f3 View commit details
    Browse the repository at this point in the history
  2. 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]>
    jlaitine committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    06d44f7 View commit details
    Browse the repository at this point in the history
  3. 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]>
    jlaitine committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    df48443 View commit details
    Browse the repository at this point in the history
  4. cmake/gtest/px4_add_gtest.cmake: Link gtests to events

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    006b959 View commit details
    Browse the repository at this point in the history
  5. 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-*
    TimoSairiala committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    eb5c076 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2023

  1. 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]>
    jlaitine committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    fb8bd97 View commit details
    Browse the repository at this point in the history
  2. Set callback thread priority to nav_and_controllers priority

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    394cfc6 View commit details
    Browse the repository at this point in the history
  3. uORB: Fix a bug in IndexedStack rm

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    c46237e View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. Update saluki-sec-scripts submodule

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    6dcd65c View commit details
    Browse the repository at this point in the history
  2. Update nuttx submodule

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    6fcb391 View commit details
    Browse the repository at this point in the history
  3. Update boards/ssrc submodules

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    7d51159 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2023

  1. Configuration menu
    Copy the full SHA
    1841fe3 View commit details
    Browse the repository at this point in the history
  2. 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]>
    julianoes authored and mehmetkillioglu committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    0cf0572 View commit details
    Browse the repository at this point in the history
  3. SITL: fix parse error due to logging

    This fixes the error:
    /px4_sitl_etc/init.d-posix/rcS.sim_udp: 26: [: =: unexpected operator
    mehmetkillioglu committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    63e5611 View commit details
    Browse the repository at this point in the history
  4. 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
    mehmetkillioglu committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    e688b40 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. 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]>
    dependabot[bot] authored and TimoSairiala committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    f1cb5b9 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. Update nuttx submodule

    pussuw committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    a84ac3c View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. Configuration menu
    Copy the full SHA
    3eb5581 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. Update pf_crypto submodule

    Pull latest changes + get rid of merge commits
    pussuw committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    609977d View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2024

  1. Update saluki common submodule

    pussuw committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    017b616 View commit details
    Browse the repository at this point in the history
  2. Update saluki common submodule

    pussuw committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    6795ba7 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. Update NuttX submodule for mpfs i2c corrections

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    f42b0db View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. Configuration menu
    Copy the full SHA
    0097b6b View commit details
    Browse the repository at this point in the history
  2. 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.
    jnippula committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    f3a8744 View commit details
    Browse the repository at this point in the history
  3. Update NuttX submodule for PLIC warm reboot initialization fix

    Signed-off-by: Jukka Laitinen <[email protected]>
    jlaitine committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    94301da View commit details
    Browse the repository at this point in the history
  4. 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]>
    jlaitine committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    92ef045 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

  1. 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.
    pussuw committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    e45dc83 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. Updated FPGA to sha-4230961

    kordets committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    d783993 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Update saluki-v2 submodule

    pussuw committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    c1ba103 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2024

  1. Update saluki common submodule

    pussuw committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    92dee64 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    851b188 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ebd9f38 View commit details
    Browse the repository at this point in the history
  4. 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.
    jnippula committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    0357a57 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e4e0960 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2024

  1. Configuration menu
    Copy the full SHA
    a24893a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e17c4cb View commit details
    Browse the repository at this point in the history