66config UART_$(nrfx_uart_num)_INTERRUPT_DRIVEN
77bool "Interrupt support on port $(nrfx_uart_num)"
88depends on UART_INTERRUPT_DRIVEN
9- select UART_ASYNC_TO_INT_DRIVEN_API if !UART_NRFX_UARTE_LEGACY_SHIM
109default y
1110help
1211 This option enables UART interrupt support on port $(nrfx_uart_num).
@@ -29,9 +28,6 @@ config UART_$(nrfx_uart_num)_ENHANCED_POLL_OUT
2928 When enabled, polling out does not trigger interrupt which stops TX.
3029 Feature uses a PPI channel.
3130
32- config NRFX_UARTE$(nrfx_uart_num)
33- def_bool y if HAS_HW_NRF_UARTE$(nrfx_uart_num) && !UART_NRFX_UARTE_LEGACY_SHIM
34-
3531config UART_$(nrfx_uart_num)_NRF_PARITY_BIT
3632bool "Parity bit"
3733help
@@ -40,7 +36,6 @@ config UART_$(nrfx_uart_num)_NRF_PARITY_BIT
4036config UART_$(nrfx_uart_num)_NRF_TX_BUFFER_SIZE
4137int "Size of RAM buffer"
4238depends on HAS_HW_NRF_UARTE$(nrfx_uart_num)
43- depends on UART_NRFX_UARTE_LEGACY_SHIM
4439range 1 $(UINT16_MAX)
4540default 32
4641help
@@ -52,7 +47,6 @@ config UART_$(nrfx_uart_num)_NRF_HW_ASYNC
5247bool "Use hardware RX byte counting"
5348depends on HAS_HW_NRF_UARTE$(nrfx_uart_num)
5449depends on UART_ASYNC_API
55- depends on UART_NRFX_UARTE_LEGACY_SHIM
5650depends on HAS_HW_NRF_PPI || HAS_HW_NRF_DPPIC
5751select NRFX_GPPI
5852help
@@ -65,7 +59,6 @@ config UART_$(nrfx_uart_num)_NRF_ASYNC_LOW_POWER
6559bool "Low power mode"
6660depends on HAS_HW_NRF_UARTE$(nrfx_uart_num)
6761depends on UART_ASYNC_API
68- depends on UART_NRFX_UARTE_LEGACY_SHIM
6962default y if !PM_DEVICE
7063help
7164 When enabled, UARTE is enabled before each TX or RX usage and disabled
@@ -78,46 +71,3 @@ config UART_$(nrfx_uart_num)_NRF_ASYNC_LOW_POWER
7871config UART_$(nrfx_uart_num)_NRF_HW_ASYNC_TIMER
7972int "Timer instance"
8073depends on UART_$(nrfx_uart_num)_NRF_HW_ASYNC
81-
82- config UART_$(nrfx_uart_num)_HAS_RX_CACHE_SECTION
83- def_bool $(dt_nodelabel_has_prop,uart$(nrfx_uart_num),memory-regions)
84- imply NRFX_UARTE_CONFIG_RX_CACHE_ENABLED
85- help
86- This helper symbol indicates the existence of a linker section which
87- can be dedicated to an RX cache buffer.
88-
89- config UART_$(nrfx_uart_num)_TX_CACHE_SIZE
90- int "TX cache buffer size"
91- depends on !UART_NRFX_UARTE_LEGACY_SHIM
92- default 8
93- help
94- For UARTE, TX cache buffer is used when provided TX buffer is not located
95- in memory which can be used by the EasyDMA.
96-
97- config UART_$(nrfx_uart_num)_RX_CACHE_SIZE
98- int "RX cache buffer size"
99- depends on !UART_NRFX_UARTE_LEGACY_SHIM
100- default 32 if UART_$(nrfx_uart_num)_HAS_RX_CACHE_SECTION
101- default 5
102- range 5 $(UINT8_MAX)
103- help
104- For UARTE, RX cache buffer is used when provided RX buffer is not located
105- in memory which can be used by the EasyDMA. It is also used to store
106- flushed data.
107-
108- config UART_$(nrfx_uart_num)_A2I_RX_SIZE
109- depends on !UART_NRFX_UARTE_LEGACY_SHIM
110- int "Asynchronous to interrupt driven adaptation layer RX buffer size"
111- default 64 if UART_$(nrfx_uart_num)_INTERRUPT_DRIVEN
112- default 0
113- help
114- Amount of space dedicated for RX. It is divided into chunks with some
115- amount of that space used for control data.
116-
117- config UART_$(nrfx_uart_num)_A2I_RX_BUF_COUNT
118- depends on !UART_NRFX_UARTE_LEGACY_SHIM
119- int "Asynchronous to interrupt driven adaptation layer RX buffer count"
120- default 8 if UART_$(nrfx_uart_num)_INTERRUPT_DRIVEN
121- default 0
122- help
123- Number of chunks into RX space is divided.
0 commit comments