refactoring of serial drivers for linux #705

Merged
gaisser merged 4 commits from eive/fsfw:mueller/refactor_serial_linux into development 2022-11-14 14:39:42 +01:00
Owner
  • Rename Uart to Serial. The termios interface can be used for more than just UART, it can be used to communicate with general serial interfaces
  • Move some generic setter/getter functions to more simple C like module
  • Separate compilation flag to add serial / termios drivers
  • I am not sure that both the gpiod and the serial support need to be wrapped by FSFW_HAL_LINUX_ADD_PERIPHERAL_DRIVERS. I think those can stand as separately compilable helper modules. Might rename/remove FSFW_HAL_LINUX_ADD_PERIPHERAL_DRIVERS to FSFW_HAL_LINUX_ADD_SPI_I2C_DRIVERS in a separate PR because those are only interesting for embedded Linux devices with appropriate driver support.
- Rename `Uart` to `Serial`. The `termios` interface can be used for more than just UART, it can be used to communicate with general serial interfaces - Move some generic setter/getter functions to more simple C like module - Separate compilation flag to add serial / termios drivers - I am not sure that both the gpiod and the serial support need to be wrapped by `FSFW_HAL_LINUX_ADD_PERIPHERAL_DRIVERS`. I think those can stand as separately compilable helper modules. Might rename/remove `FSFW_HAL_LINUX_ADD_PERIPHERAL_DRIVERS` to `FSFW_HAL_LINUX_ADD_SPI_I2C_DRIVERS` in a separate PR because those are only interesting for embedded Linux devices with appropriate driver support.
muellerr added 1 commit 2022-11-10 17:53:29 +01:00
fsfw/fsfw/pipeline/pr-development This commit looks good Details
819a298b19
refactoring of serial drivers for linux
muellerr added this to the v6.0.0 milestone 2022-11-10 17:55:00 +01:00
muellerr requested review from gaisser 2022-11-10 17:57:29 +01:00
muellerr added 1 commit 2022-11-11 11:33:28 +01:00
fsfw/fsfw/pipeline/pr-development This commit looks good Details
5b352978c5
rename cookie class
muellerr added 1 commit 2022-11-11 11:34:59 +01:00
fsfw/fsfw/pipeline/pr-development This commit looks good Details
b6a3c206cc
smaller include tweaks
gaisser approved these changes 2022-11-14 14:36:27 +01:00
gaisser left a comment
Owner

LGTM

LGTM
gaisser added 1 commit 2022-11-14 14:36:36 +01:00
fsfw/fsfw/pipeline/pr-development This commit looks good Details
7b0db08962
Merge branch 'development' into mueller/refactor_serial_linux
muellerr added the
Breaking API Change
label 2022-11-14 14:39:08 +01:00
gaisser merged commit 93fda71989 into development 2022-11-14 14:39:42 +01:00
gaisser deleted branch mueller/refactor_serial_linux 2022-11-14 14:39:53 +01:00
Sign in to join this conversation.
No description provided.