Skip to content

Commit fac7c86

Browse files
xudongzhengkartben
authored andcommitted
drivers: serial: nrfx_uarte: fix deprecation warning when UART is unused
This hides the deprecation warning when UART_NRFX_UARTE_LEGACY_SHIM is false because UART is not used. Signed-off-by: Xudong Zheng <[email protected]>
1 parent 9d34d5c commit fac7c86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

soc/nordic/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ config NRF_PLATFORM_HALTIUM
200200
config DEPRECATED_UART_NRFX_UARTE_LEGACY_SHIM
201201
bool
202202
default y if !UART_NRFX_UARTE_LEGACY_SHIM
203+
depends on UART_NRFX_UARTE
203204
select DEPRECATED
204205

205206
endif # SOC_FAMILY_NORDIC_NRF

0 commit comments

Comments
 (0)