px4-firmware/boards/freefly/can-rtk-gps
Julian Oes 9686c81f7d boards: enable flow control on CDCACM
This enables flow control on CDCACM for the NuttX boards which fixes a
problem where HITL would stall.

The stall could happen if the hardware would be a bit too slow in
keeping up with the incoming messages. Often, this happened on arming
because the logger would take some time to log all parameters right at
the beginning.

The stall would then not recover due to NuttX bug where the rx interrupt
would not be restored correctly and instead only a slower watchdog would
release the next read. This watchdog takes 200ms which means it's hard
to impossible to get out of the situation without restarting sim and/or
PX4.  For more information about the issue, see:
apache/incubator-nuttx#3633

As a workaround, until that bug is fixed, and because it makes sense
anyway, I propose to enable FLOWCONTROL for the serial via USB.
2021-12-21 08:01:38 +01:00
..
init CAN node STM32F7 support and Freefly RTK GPS CAN node 2021-05-16 13:10:02 -04:00
nuttx-config boards: enable flow control on CDCACM 2021-12-21 08:01:38 +01:00
src boards: board_app_initialize() don't return early on failure 2021-12-09 20:41:54 -05:00
canbootloader.px4board [Kconfig] Toolchain & platform fixes, SITL still broken 2021-10-07 10:09:01 -04:00
default.px4board [Kconfig] Bloaty 2nd pass 2021-10-07 10:09:01 -04:00
firmware.prototype CAN node STM32F7 support and Freefly RTK GPS CAN node 2021-05-16 13:10:02 -04:00
uavcan_board_identity CAN node STM32F7 support and Freefly RTK GPS CAN node 2021-05-16 13:10:02 -04:00