UART: add support for BeagleBone serial ports
Thanks to Johan Henselmans!
This commit is contained in:
parent
d99bcb79fa
commit
9de66d463b
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ const char *serial_ports_device_radix[] = { "tty.SLAB_USBtoUART", "tty.usbserial
|
||||||
# elif defined (__FreeBSD__) || defined (__OpenBSD__)
|
# elif defined (__FreeBSD__) || defined (__OpenBSD__)
|
||||||
const char *serial_ports_device_radix[] = { "cuaU", "cuau", NULL };
|
const char *serial_ports_device_radix[] = { "cuaU", "cuau", NULL };
|
||||||
# elif defined (__linux__)
|
# elif defined (__linux__)
|
||||||
const char *serial_ports_device_radix[] = { "ttyUSB", "ttyS", "ttyACM", "ttyAMA", NULL };
|
const char *serial_ports_device_radix[] = { "ttyUSB", "ttyS", "ttyACM", "ttyAMA","ttyO", NULL };
|
||||||
# else
|
# else
|
||||||
# error "Can't determine serial string for your system"
|
# error "Can't determine serial string for your system"
|
||||||
# endif
|
# endif
|
||||||
|
|
Loading…
Reference in a new issue