Skip to content

Commit 020cb79

Browse files
xudongzhengkartben
authored andcommitted
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 <[email protected]>
1 parent fac7c86 commit 020cb79

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

drivers/serial/Kconfig.nrfx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ config UART_NRFX_UARTE_LEGACY_SHIM
3535
help
3636
Disabling this option is deprecated.
3737

38+
config DEPRECATED_UART_NRFX_UARTE_LEGACY_SHIM
39+
bool
40+
default y if !UART_NRFX_UARTE_LEGACY_SHIM
41+
depends on UART_NRFX_UARTE
42+
select DEPRECATED
43+
3844
config UART_NRFX_UARTE_ENHANCED_RX
3945
bool "Enhanced RX handling"
4046
depends on UART_ASYNC_API

soc/nordic/Kconfig

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,4 @@ config NRF_PLATFORM_HALTIUM
197197
this option. This allows to easily enable common functionality on
198198
SoCs based on the Haltium platform.
199199

200-
config DEPRECATED_UART_NRFX_UARTE_LEGACY_SHIM
201-
bool
202-
default y if !UART_NRFX_UARTE_LEGACY_SHIM
203-
depends on UART_NRFX_UARTE
204-
select DEPRECATED
205-
206200
endif # SOC_FAMILY_NORDIC_NRF

0 commit comments

Comments
 (0)