Skip to content

Commit

Permalink
Merged in david_s5/nuttx/master_singlewire (pull request #679)
Browse files Browse the repository at this point in the history
Added Single Wire Kconfig knob

* stm32f0:Added Kconfig knob for STM32F0_USART_SINGLEWIRE

* stm32f7:Added Kconfig knob for STM32F7_USART_SINGLEWIRE

* stm32l4:Corrected comment in Kconfig STM32L4_USART_SINGLEWIRE

* stm32:Added Kconfig knob for STM32_USART_SINGLEWIRE

Approved-by: GregoryN <gnutt@nuttx.org>
  • Loading branch information
David Sidrane authored and gregory-nutt committed Jul 12, 2018
1 parent ece1bda commit fbe5f56
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 1 deletion.
8 changes: 8 additions & 0 deletions arch/arm/src/stm32/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7376,6 +7376,14 @@ config STM32_SERIALBRK_BSDCOMPAT
on because the SW starts the break and then the HW automatically clears
the break. This makes it is difficult to sent a long break.

config STM32_USART_SINGLEWIRE
bool "Single Wire Support"
default n
depends on STM32_USART
---help---
Enable single wire UART support. The option enables support for the
TIOCSSINGLEWIRE ioctl in the STM32 serial driver.

endmenu # Serial Driver Configuration

menu "HCI UART Driver Configuration"
Expand Down
8 changes: 8 additions & 0 deletions arch/arm/src/stm32f0/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1486,6 +1486,14 @@ config STM32F0_SERIAL_DISABLE_REORDERING
want the side effect of having all serial port names change when just
the console is moved from serial to USB.

config STM32F0_USART_SINGLEWIRE
bool "Single Wire Support"
default n
depends on STM32F0_USART
---help---
Enable single wire UART support. The option enables support for the
TIOCSSINGLEWIRE ioctl in the STM32F0 serial driver.

endmenu # Serial Driver Configuration

if PM
Expand Down
8 changes: 8 additions & 0 deletions arch/arm/src/stm32f7/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1901,6 +1901,14 @@ config STM32F7_SERIALBRK_BSDCOMPAT
on because the SW starts the break and then the HW automatically clears
the break. This makes it is difficult to sent a long break.

config STM32F7_USART_SINGLEWIRE
bool "Single Wire Support"
default n
depends on STM32F7_USART
---help---
Enable single wire UART support. The option enables support for the
TIOCSSINGLEWIRE ioctl in the STM32F7 serial driver.

if PM

config STM32F7_PM_SERIAL_ACTIVITY
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/src/stm32l4/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3794,7 +3794,7 @@ config STM32L4_USART_SINGLEWIRE
depends on STM32L4_USART
---help---
Enable single wire UART support. The option enables support for the
TIOCSSINGLEWIRE ioctl in the STM32 serial driver.
TIOCSSINGLEWIRE ioctl in the STM32L4 serial driver.

if PM

Expand Down

0 comments on commit fbe5f56

Please sign in to comment.