px4-firmware/posix-configs
blazczak 57da61dc17
posix-configs/rpi: Fix mavlink over UART (/dev/ttyAMA0)
UART is the primary interface for telemetry radio: https://docs.emlid.com/navio2/ardupilot/hardware-setup/#uart-radio

Check first if /dev/ttyUSB0 exists (https://docs.emlid.com/navio2/ardupilot/hardware-setup/#usb-radio); if not, fall back to configuring over UART (/dev/ttyAMA0).

Use stricter check for character special file (-c) rather than just file (-f).

'console=serial0,115200' needs to be removed from /cmdline.txt as additional configuration step. This should be documented in the Navio2 section of docs.px4.io. Presumably, this is already performed as part of the Raspberry Pi OS prebuilt image Emlid spins.
2020-10-03 10:51:27 -04:00
..
SITL/init/test simulator: break out standalone battery simulator module 2020-06-24 10:39:21 -04:00
bbblue posix: enable ROMFSROOT 2020-09-15 09:30:16 +02:00
eagle simulator: break out standalone battery simulator module 2020-06-24 10:39:21 -04:00
excelsior commander: changes when USB connected 2020-05-06 13:53:54 -04:00
ocpoc posix: enable ROMFSROOT 2020-09-15 09:30:16 +02:00
rpi posix-configs/rpi: Fix mavlink over UART (/dev/ttyAMA0) 2020-10-03 10:51:27 -04:00