ardupilot/libraries/AP_HAL_Linux
Brad Bosch f2f9349419 AP_HAL: Add support for parity to Serial passthrough
Add code to reflect USB ACM parity setting to the passthrough port alongside existing support for ACM baud rate changes.  Some use cases for serial passthrough require specific parity settings.

For example, even parity is used and required by the USART protocol used in the STM32 system bootloader. This enhancement allows the use of standard flash programming tools such as STM32CubeProgrammer to flash connected STM based peripherals such as Receivers and Telemetry radios via serial passthrough.  Some examples of such peripherals include the FrSky R9 receivers as well as various other STM based LoRa modules used by the mLRS project.
2024-06-11 09:24:32 +10:00
..
benchmarks Global: remove minlure 2018-06-26 07:32:08 -07:00
boards/navigator AP_Hal_Linux: create defaults.parm for Navigator 2022-02-01 17:35:26 +11:00
examples AP_HAL_Linux: moved UART port locking up to AP_HAL 2023-07-12 17:06:02 +10:00
tests AP_HAL_Linux: add unit tests for Thread implementations 2016-11-02 16:28:20 -02:00
AnalogIn_ADS1115.cpp AP_HAL_Linux: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
AnalogIn_ADS1115.h AP_HAL_Linux: AnalogSource: set_pin return true 2021-10-06 18:42:51 +11:00
AnalogIn_IIO.cpp AP_HAL_Linux: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
AnalogIn_IIO.h AP_HAL_Linux: AnalogSource: set_pin return true 2021-10-06 18:42:51 +11:00
AnalogIn_Navio2.cpp AP_HAL_Linux: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
AnalogIn_Navio2.h AP_HAL_Linux: AnalogSource: set_pin return true 2021-10-06 18:42:51 +11:00
AP_HAL_Linux.h AP_HAL_Linux: replace header guard with pragma once 2016-02-18 14:52:35 -02:00
CameraSensor_Mt9v117_Patches.cpp AP_HAL_Linux: move mt9v117 patches inside class 2015-12-18 17:56:06 +11:00
CameraSensor_Mt9v117.cpp Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
CameraSensor_Mt9v117.h AP_HAL_Linux: convert CameraSensor_Mt9v117 to I2CDevice 2016-07-28 18:03:09 -03:00
CameraSensor.cpp AP_HAL_Linux: add O_CLOEXEC in places missing it 2016-11-07 12:37:30 -03:00
CameraSensor.h AP_HAL_Linux: remove AP_HAL_Linux_Namespace header 2016-07-29 20:25:03 -03:00
CANSocketIface.cpp HAL_Linux: reimplement CAN with BinarySemaphore 2024-01-03 07:37:05 +11:00
CANSocketIface.h HAL_Linux: reimplement CAN with BinarySemaphore 2024-01-03 07:37:05 +11:00
ConsoleDevice.cpp AP_HAL_Linux: enable console for examples 2020-05-28 13:49:47 +10:00
ConsoleDevice.h AP_HAL_Linux: use SocketAPM_native 2024-01-03 12:14:47 +11:00
Flow_PX4.cpp Global: remove minlure 2018-06-26 07:32:08 -07:00
Flow_PX4.h AP_HAL_Linux: remove AP_HAL_Linux_Namespace header 2016-07-29 20:25:03 -03:00
GPIO_Aero.cpp AP_HAL_Linux: AP_Common no longer gives board information; use AP_HAL_Boards 2019-02-15 08:15:45 +11:00
GPIO_Aero.h AP_HAL_Linux: add port to Intel Aero 2016-09-03 01:03:07 -03:00
GPIO_BBB.cpp AP_HAL_Linux: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
GPIO_BBB.h GPIO_BBB: fix partially working GPIO init 2021-10-15 15:16:17 -07:00
GPIO_Bebop.cpp AP_HAL_Linux: AP_Common no longer gives board information; use AP_HAL_Boards 2019-02-15 08:15:45 +11:00
GPIO_Bebop.h AP_HAL_Linux: Add support for Sonar GPIO 2016-05-03 16:43:39 -03:00
GPIO_Disco.cpp AP_HAL_Linux: AP_Common no longer gives board information; use AP_HAL_Boards 2019-02-15 08:15:45 +11:00
GPIO_Disco.h HAL_Linux: fixed ULTRASOUND GPIO for Disco 2016-07-20 13:38:17 +10:00
GPIO_Edge.cpp AP_HAL_Linux: AP_Common no longer gives board information; use AP_HAL_Boards 2019-02-15 08:15:45 +11:00
GPIO_Edge.h AP_HAL_Linux: use GPIO_Sysfs for Edge 2017-11-17 09:18:36 -08:00
GPIO_Navigator.cpp AP_HAL_Linux: create GPIO_Navigator 2022-09-06 09:34:07 +10:00
GPIO_Navigator.h AP_HAL_Linux: update Navigator available GPIOs 2023-09-04 18:06:37 +10:00
GPIO_Navio2.cpp AP_HAL_Linux: AP_Common no longer gives board information; use AP_HAL_Boards 2019-02-15 08:15:45 +11:00
GPIO_Navio2.h AP_HAL_Linux: use GPIO_Sysfs for Navio 2 2017-11-17 09:18:35 -08:00
GPIO_Navio.cpp AP_HAL_Linux: AP_Common no longer gives board information; use AP_HAL_Boards 2019-02-15 08:15:45 +11:00
GPIO_Navio.h AP_HAL_Linux: use GPIO_Sysfs for Navio 2017-11-17 09:20:55 -08:00
GPIO_RPI_BCM.cpp AP_HAL_Linux: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
GPIO_RPI_BCM.h AP_HAL_Linux: Add support to Raspberry Pi 5 2024-05-13 10:46:58 -03:00
GPIO_RPI_HAL.h AP_HAL_Linux: Add support to Raspberry Pi 5 2024-05-13 10:46:58 -03:00
GPIO_RPI_RP1.cpp AP_HAL_Linux: Add support to Raspberry Pi 5 2024-05-13 10:46:58 -03:00
GPIO_RPI_RP1.h AP_HAL_Linux: Add support to Raspberry Pi 5 2024-05-13 10:46:58 -03:00
GPIO_RPI.cpp AP_HAL_Linux: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
GPIO_RPI.h AP_HAL_Linux: Add support to Raspberry Pi 5 2024-05-13 10:46:58 -03:00
GPIO_Sysfs.cpp AP_HAL_Linux: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
GPIO_Sysfs.h HAL_Linux: implement HAL_GPIO_SCRIPT support 2019-07-06 09:02:54 +10:00
GPIO.cpp AP_HAL_Linux: make a static-const hal references references to external symbol 2020-03-03 10:12:14 +11:00
GPIO.h AP_HAL_Linux: add can-zero board 2023-12-05 07:41:06 -06:00
HAL_Linux_Class.cpp AP_HAL_Linux: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
HAL_Linux_Class.h AP_HAL_Linux: delay signal handlers setup 2024-04-05 11:36:29 +11:00
Heat_Pwm.cpp AP_HAL_Linux: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Heat_Pwm.h Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
Heat.h Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
I2CDevice.cpp AP_HAL_Linux: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
I2CDevice.h HAL_Linux: implement I2C bus masks 2018-07-10 15:39:47 +10:00
Led_Sysfs.cpp AP_HAL_Linux: make a static-const hal references references to external symbol 2020-03-03 10:12:14 +11:00
Led_Sysfs.h AP_HAL_Linux: Led_Sysfs: small fixes 2017-01-19 08:56:32 -08:00
OpticalFlow_Onboard.cpp AP_HAL_Linux: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
OpticalFlow_Onboard.h AP_HAL_Linux: add missing override keywords 2019-02-22 15:01:09 +00:00
Poller.cpp AP_HAL_Linux: allow to wakeup pollable 2016-11-02 16:28:20 -02:00
Poller.h AP_HAL_Linux: allow to wakeup pollable 2016-11-02 16:28:20 -02:00
PollerThread.cpp AP_HAL_Linux: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
PollerThread.h AP_HAL_Linux: allow PollerThread to stop 2016-11-02 16:28:20 -02:00
PWM_Sysfs.cpp AP_HAL_Linux: make a static-const hal references references to external symbol 2020-03-03 10:12:14 +11:00
PWM_Sysfs.h PWM_Sysfs: add an init method to do hal dependent stuff. 2016-11-07 14:59:31 -02:00
RCInput_AioPRU.cpp AP_HAL_linux: add new board PocketPilot 2017-12-27 16:01:55 +00:00
RCInput_AioPRU.h AP_HAL_Linux: add missing override keywords 2019-02-22 15:01:09 +00:00
RCInput_Multi.cpp AP_HAL_Linux: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
RCInput_Multi.h AP_HAL_Linux: add second RCIN port for Blue 2018-01-17 15:25:51 -08:00
RCInput_Navio2.cpp AP_HAL_Linux: make use of RCInput_Navio2 in Edge 2017-10-20 13:03:08 -07:00
RCInput_Navio2.h AP_HAL_Linux: remove AP_HAL_Linux_Namespace header 2016-07-29 20:25:03 -03:00
RCInput_PRU.cpp AP_HAL_Linux: remove BBBmini from RCInput_PRU.cpp 2017-12-14 12:40:37 -08:00
RCInput_PRU.h AP_HAL_Linux: add missing override keywords 2019-02-22 15:01:09 +00:00
RCInput_RCProtocol.cpp AP_HAL_Linux: add missing header to RCInput_RCProtocol.cpp 2022-09-28 18:38:33 -03:00
RCInput_RCProtocol.h HAL_Linux: add RC in driver for Navigator 2022-09-28 18:38:33 -03:00
RCInput_RPI.cpp AP_HAL_Linux: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
RCInput_RPI.h AP_HAL_Linux: Fix RPI check using enumerations 2023-06-17 14:44:38 +10:00
RCInput_SoloLink.cpp AP_HAL_Linux: add prototype for handling SoloLink 2017-08-17 12:04:27 -07:00
RCInput_SoloLink.h HAL_Linux: use SocketAPM_native 2024-01-03 12:14:47 +11:00
RCInput_UART.cpp AP_HAL_Linux: add O_CLOEXEC in places missing it 2016-11-07 12:37:30 -03:00
RCInput_UART.h HAL_Linux: fixed build warnings in RC input methods 2020-07-07 10:23:00 +10:00
RCInput_UDP_Protocol.h AP_HAL_Linux: RCInput_UDP: accept up to 16 channels 2020-05-03 00:07:52 -07:00
RCInput_UDP.cpp HAL_Linux: fixed build warnings in RC input methods 2020-07-07 10:23:00 +10:00
RCInput_UDP.h HAL_Linux: use SocketAPM_native 2024-01-03 12:14:47 +11:00
RCInput_ZYNQ.cpp AP_HAL_Linux: combine ppm and sbus on ocpoc_zynq 2017-11-01 10:28:40 -07:00
RCInput_ZYNQ.h AP_HAL_Linux: add missing override keywords 2019-02-22 15:01:09 +00:00
RCInput.cpp AP_HAL_Linux: remove unused RC input methods 2024-05-07 09:49:48 +10:00
RCInput.h AP_HAL_Linux: remove unused RC input methods 2024-05-07 09:49:48 +10:00
RCOutput_AeroIO.cpp AP_HAL_Linux: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
RCOutput_AeroIO.h Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
RCOutput_AioPRU.cpp AP_HAL_Linux: fix spelling of generated in panics 2018-07-10 09:55:01 -07:00
RCOutput_AioPRU.h AP_HAL_Linux: add missing override keywords 2019-02-22 15:01:09 +00:00
RCOutput_Bebop.cpp HAL_Linux: removed ESC scaling, moved to AP_HAL 2023-08-24 13:06:40 +10:00
RCOutput_Bebop.h HAL_Linux: removed ESC scaling, moved to AP_HAL 2023-08-24 13:06:40 +10:00
RCOutput_Disco.cpp HAL_Linux: removed ESC scaling, moved to AP_HAL 2023-08-24 13:06:40 +10:00
RCOutput_Disco.h HAL_Linux: removed ESC scaling, moved to AP_HAL 2023-08-24 13:06:40 +10:00
RCOutput_PCA9685.cpp AP_HAL_Linux: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
RCOutput_PCA9685.h RCOutput_PC9685: refactor write/write_gpio 2022-09-06 09:34:07 +10:00
RCOutput_PRU.cpp AP_HAL_Linux: fix spelling of generated in panics 2018-07-10 09:55:01 -07:00
RCOutput_PRU.h AP_HAL_Linux: add missing override keywords 2019-02-22 15:01:09 +00:00
RCOutput_Sysfs.cpp AP_HAL_Linux: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
RCOutput_Sysfs.h AP_HAL_Linux: add missing override keywords 2019-02-22 15:01:09 +00:00
RCOutput_ZYNQ.cpp AP_HAL_Linux: fix spelling of generated in panics 2018-07-10 09:55:01 -07:00
RCOutput_ZYNQ.h AP_HAL_Linux: add missing override keywords 2019-02-22 15:01:09 +00:00
Scheduler.cpp AP_HAL_Linux: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Scheduler.h AP_HAL_Linux: cpu affinity 2021-10-08 13:47:56 -07:00
Semaphores.cpp HAL_Linux: implement BinarySemaphore 2024-01-03 07:37:05 +11:00
Semaphores.h HAL_Linux: implement BinarySemaphore 2024-01-03 07:37:05 +11:00
SerialDevice.h AP_HAL_Linux: Add support for setting uart parity on Linux boards 2019-04-26 00:49:25 -07:00
SPIDevice.cpp AP_HAL_Linux: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
SPIDevice.h AP_HAL_Linux: add missing override keywords 2019-02-22 15:01:09 +00:00
SPIUARTDriver.cpp AP_HAL_Linux: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
SPIUARTDriver.h AP_HAL_Linux: fix SPIUARTDriver to work with GPS autodetection 2024-05-08 17:13:58 +10:00
Storage.cpp waf: remove SKETCH and SKETCHNAME from build sysmte 2024-02-26 15:42:25 +11:00
Storage.h AP_HAL_Linux: add get_storage_ptr method 2021-11-10 17:21:35 +11:00
system.cpp HAL_Linux: fixed time function to use integer maths 2024-02-06 07:31:21 +11:00
TCPServerDevice.cpp Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
TCPServerDevice.h HAL_Linux: use SocketAPM_native 2024-01-03 12:14:47 +11:00
Thread.cpp AP_HAL_Linux: cpu affinity 2021-10-08 13:47:56 -07:00
Thread.h AP_HAL_Linux: Thread: allow loose running thread 2018-07-11 10:00:29 +10:00
ToneAlarm_Disco.cpp HAL_Linux: added duration to toneAlarm_set_buzzer_tone 2018-07-30 14:02:12 +10:00
ToneAlarm_Disco.h HAL_Linux: added duration to toneAlarm_set_buzzer_tone 2018-07-30 14:02:12 +10:00
ToneAlarm.cpp AP_HAL_Linux: Fix PWM FS to follow the Kernel's 4.X instead 3.9 2020-10-26 22:55:03 -07:00
ToneAlarm.h HAL_Linux: added duration to toneAlarm_set_buzzer_tone 2018-07-30 14:02:12 +10:00
UARTDevice.cpp AP_HAL_Linux: Use Linux-specific TCSETS2 ioctl to enable "non-standard" UART baudrates 2022-09-26 22:12:21 -03:00
UARTDevice.h AP_HAL_Linux: use SocketAPM_native 2024-01-03 12:14:47 +11:00
UARTDriver.cpp AP_HAL: Add support for parity to Serial passthrough 2024-06-11 09:24:32 +10:00
UARTDriver.h AP_HAL_Linux: fix SPIUARTDriver to work with GPS autodetection 2024-05-08 17:13:58 +10:00
UDPDevice.cpp HAL_Linux: added udpin support to HAL_Linux 2016-06-28 21:01:43 +10:00
UDPDevice.h HAL_Linux: use SocketAPM_native 2024-01-03 12:14:47 +11:00
Util_RPI.cpp AP_HAL_Linux: Remove message about base address 2024-05-13 10:46:58 -03:00
Util_RPI.h AP_HAL_Linux: Util_RPI: Add support to RPI5 identification 2024-05-13 10:46:58 -03:00
Util.cpp AP_HAL_Linux: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Util.h AP_HAL_Linux: added old_size to heap_realloc 2023-01-16 09:19:16 +11:00
VideoIn.cpp Global: remove minlure 2018-06-26 07:32:08 -07:00
VideoIn.h AP_HAL_Linux: remove AP_HAL_Linux_Namespace header 2016-07-29 20:25:03 -03:00