Skip to content

Commit fba1fa1

Browse files
xudongzhengnordic-krch
authored andcommitted
[nrf fromtree] 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]> (cherry picked from commit 020cb79)
1 parent b4223be commit fba1fa1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

drivers/serial/Kconfig.nrfx

+6
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

-6
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)