-
- Downloads
POSIX: Enabled hrt queued work to be run
In STM32, the ISR handler calls hrt_call_invoke(). There is no
interrupt timer inthe POSIX port so a work item is put on the
high priority work queue to expire at the next event (in ticks)
or at the next max delay interval.
Counter wrapping is likely still not handled properly in this code.
Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
Showing
- src/platforms/posix/px4_layer/drv_hrt.c 106 additions, 3 deletionssrc/platforms/posix/px4_layer/drv_hrt.c
- src/platforms/posix/px4_layer/px4_posix_impl.cpp 3 additions, 0 deletionssrc/platforms/posix/px4_layer/px4_posix_impl.cpp
- src/platforms/posix/tests/hrt_test/hrt_test.cpp 18 additions, 0 deletionssrc/platforms/posix/tests/hrt_test/hrt_test.cpp
Please register or sign in to comment