1. 30 Aug, 2021 2 commits
    • Daniel Agar's avatar
    • Jukka Laitinen's avatar
      Fix memory corruption when work queue is being deleted · d1c09ec3
      Jukka Laitinen authored
      
      
      When the last WorkItem is deleted, it is removed from a work queue and the
      queue is being stopped. But, the queue itself might get deleted in the middle,
      in a higher priority thread than where the WorkItem deletion was performed from
      
      If the WorkQueue::Detach accesses the member variables after this, there is memory
      corruption
      
      This happens in particular when launching i2c or spi devices in
      I2CSPIDriverBase::module_start:
      
      - The "initializer" is deleted when the instance is not found and the iterator
        while loop continues.
      - The workqueue is deleted in the middle of "initializer" deletion when the
        WorkQueueRunner returns.
      
      This prevents deletion of the WorkQueue before the Detach has been finished,
      in the specific case that the ::Detach triggers the deletion
      Signed-off-by: default avatarJukka Laitinen <jukkax@ssrc.tii.ae>
      d1c09ec3
  2. 27 Aug, 2021 2 commits
  3. 23 Aug, 2021 1 commit
  4. 21 Aug, 2021 10 commits
  5. 12 Aug, 2021 2 commits
  6. 02 Aug, 2021 1 commit
  7. 01 Aug, 2021 3 commits
  8. 23 Jul, 2021 4 commits
    • Julian Oes's avatar
      mavlink: fix offboard velocity input · 349dd630
      Julian Oes authored
      This reverts the behavior for offboard velocity setpoint.
      
      Back in v1.11, the velocity input in NED_BODY was assumed to be in the
      world frame but rotated by yaw to the vehicle frame. With the current
      state the frame is completely fixed to the body. While this might be
      technically correct, it doesn't seem much intuitive for multicopters
      and breaks the MAVSDK offboard velocity API.
      
      So as an example, with a velocity setpoint of 5 m/s forward, the drone
      would in
      - v1.11: fly forward with 5 m/s
      - v1.12: start to fly forward by pitching down but then descend rapidly
        as the forward velocity would translate to a setpoint in Z into the
        ground as it is pitched down.
      
      This commit restores the behavior to what we had previously.
      349dd630
    • David Sidrane's avatar
      Revert "nxp_fmuk66-v3:DMA Poll not needed" · 6b51c639
      David Sidrane authored
      This reverts commit 962f0222.
      6b51c639
    • David Sidrane's avatar
      Revert "nxp_fmuk66-e:DMA Poll not needed" · 4f7909ee
      David Sidrane authored
      This reverts commit 39d68495.
      4f7909ee
    • David Sidrane's avatar
      NuttX with Kinetis SerialPoll back in · cbb48f9a
      David Sidrane authored
      cbb48f9a
  9. 06 Jul, 2021 2 commits
  10. 04 Jul, 2021 1 commit
  11. 02 Jul, 2021 12 commits