px4-firmware/platforms
Alex Mikhalev a0a4b10885 Fix non-determinstic boot hang with crashdumps
On boot, if board_hardfault_init finds a hardfault stored in BBSRAM, it
checks if there is any data available on stdin to see if there is
somebody there to respond to a prompt. But on boards such as cubeorange
where there is not a serial console by default, the ioctl fails and
bytesWaiting is uninitialized. So it will non-deterministally hang the
boot process with no outside feedback if that value is not zero.

Signed-off-by: Alex Mikhalev <alexmikhalevalex@gmail.com>
2020-11-12 12:57:27 -05:00
..
common wq:attitude_ctrl increase stack by 16 bytes (again) 2020-08-16 18:16:16 -04:00
nuttx Fix non-determinstic boot hang with crashdumps 2020-11-12 12:57:27 -05:00
posix vehicles: add new vehicle type: Airship (#14862) 2020-08-10 08:52:51 +02:00
qurt commander: reboot/shutdown usability fixes 2020-05-06 13:53:54 -04:00
CMakeLists.txt restore UAVCAN bootloader support 2020-04-19 16:10:09 -04:00