drivers: serial: nrfx_uarte: move DEPRECATED_UART_NRFX_UARTE_LEGACY_SHIM
The Kconfig option should be defined alongside UART_NRFX_UARTE_LEGACY_SHIM for clarity. Signed-off-by: Xudong Zheng <7pkvm5aw@slicealias.com>
This commit is contained in:
parent
fac7c86568
commit
020cb79d27
2 changed files with 6 additions and 6 deletions
|
@ -35,6 +35,12 @@ config UART_NRFX_UARTE_LEGACY_SHIM
|
|||
help
|
||||
Disabling this option is deprecated.
|
||||
|
||||
config DEPRECATED_UART_NRFX_UARTE_LEGACY_SHIM
|
||||
bool
|
||||
default y if !UART_NRFX_UARTE_LEGACY_SHIM
|
||||
depends on UART_NRFX_UARTE
|
||||
select DEPRECATED
|
||||
|
||||
config UART_NRFX_UARTE_ENHANCED_RX
|
||||
bool "Enhanced RX handling"
|
||||
depends on UART_ASYNC_API
|
||||
|
|
|
@ -197,10 +197,4 @@ config NRF_PLATFORM_HALTIUM
|
|||
this option. This allows to easily enable common functionality on
|
||||
SoCs based on the Haltium platform.
|
||||
|
||||
config DEPRECATED_UART_NRFX_UARTE_LEGACY_SHIM
|
||||
bool
|
||||
default y if !UART_NRFX_UARTE_LEGACY_SHIM
|
||||
depends on UART_NRFX_UARTE
|
||||
select DEPRECATED
|
||||
|
||||
endif # SOC_FAMILY_NORDIC_NRF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue