Skip to content

Commit 8d1be06

Browse files
committed
drivers: serial: nrfx_uarte: Improve UART_NRFX_UARTE_ENHANCED_RX dependency
Enhanced RX cannot be used when UART_x_NRF_HW_ASYNC is used so changing default value to depends on. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
1 parent 29b869d commit 8d1be06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/serial/Kconfig.nrfx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ config UART_NRFX_UARTE_ENHANCED_RX
6060
bool "Enhanced RX handling"
6161
depends on UART_ASYNC_API
6262
depends on UART_NRFX_UARTE_LEGACY_SHIM
63-
default y if !(UART_0_NRF_HW_ASYNC || UART_1_NRF_HW_ASYNC || UART_2_NRF_HW_ASYNC)
63+
depends on !(UART_0_NRF_HW_ASYNC || UART_1_NRF_HW_ASYNC || UART_2_NRF_HW_ASYNC)
64+
default y
6465
help
6566
Enable RX handling mode which is switching buffers on timeout. This is an
6667
enhancement compared to other two modes (default and hardware assisted).

0 commit comments

Comments
 (0)