72 lines
2.0 KiB
YAML
72 lines
2.0 KiB
YAML
common:
|
|
harness: ztest
|
|
harness_config:
|
|
fixture: gpio_loopback
|
|
tests:
|
|
drivers.uart:
|
|
tags: drivers
|
|
platform_allow: nrf52840dk_nrf52840
|
|
extra_configs:
|
|
- CONFIG_UART_INTERRUPT_DRIVEN=n
|
|
- CONFIG_UART_ASYNC_API=n
|
|
- CONFIG_UART_0_ENHANCED_POLL_OUT=n
|
|
|
|
drivers.uart_no_rxpin:
|
|
tags: drivers
|
|
platform_allow: nrf52840dk_nrf52840
|
|
extra_configs:
|
|
- CONFIG_UART_INTERRUPT_DRIVEN=n
|
|
- CONFIG_UART_ASYNC_API=n
|
|
- CONFIG_UART_0_ENHANCED_POLL_OUT=n
|
|
extra_args: DTC_OVERLAY_FILE="boards/nrf52840dk_nrf52840.overlay;nrf_no_rx_pin.overlay"
|
|
|
|
drivers.uart_enhanced_poll:
|
|
tags: drivers
|
|
platform_allow: nrf52840dk_nrf52840
|
|
extra_configs:
|
|
- CONFIG_UART_INTERRUPT_DRIVEN=n
|
|
- CONFIG_UART_ASYNC_API=n
|
|
- CONFIG_UART_0_ENHANCED_POLL_OUT=y
|
|
|
|
drivers.uart_int_driven:
|
|
tags: drivers
|
|
platform_allow: nrf52840dk_nrf52840
|
|
extra_configs:
|
|
- CONFIG_UART_INTERRUPT_DRIVEN=y
|
|
- CONFIG_UART_0_INTERRUPT_DRIVEN=y
|
|
- CONFIG_UART_ASYNC_API=n
|
|
- CONFIG_UART_0_ENHANCED_POLL_OUT=n
|
|
|
|
drivers.uart_int_driven_enhanced_poll:
|
|
tags: drivers
|
|
platform_allow: nrf52840dk_nrf52840
|
|
extra_configs:
|
|
- CONFIG_UART_INTERRUPT_DRIVEN=y
|
|
- CONFIG_UART_0_INTERRUPT_DRIVEN=y
|
|
- CONFIG_UART_ASYNC_API=n
|
|
- CONFIG_UART_0_ENHANCED_POLL_OUT=y
|
|
|
|
drivers.uart_async:
|
|
tags: drivers
|
|
platform_allow: nrf52840dk_nrf52840
|
|
extra_configs:
|
|
- CONFIG_UART_INTERRUPT_DRIVEN=n
|
|
- CONFIG_UART_ASYNC_API=y
|
|
- CONFIG_UART_0_ASYNC=y
|
|
- CONFIG_UART_0_NRF_HW_ASYNC=y
|
|
- CONFIG_UART_0_NRF_HW_ASYNC_TIMER=2
|
|
- CONFIG_NRFX_TIMER2=y
|
|
- CONFIG_UART_0_ENHANCED_POLL_OUT=n
|
|
|
|
drivers.uart_async_enhanced_poll:
|
|
tags: drivers
|
|
platform_allow: nrf52840dk_nrf52840
|
|
extra_configs:
|
|
- CONFIG_UART_INTERRUPT_DRIVEN=n
|
|
- CONFIG_UART_ASYNC_API=y
|
|
- CONFIG_UART_0_ASYNC=y
|
|
- CONFIG_UART_0_NRF_HW_ASYNC=y
|
|
- CONFIG_UART_0_NRF_HW_ASYNC_TIMER=2
|
|
- CONFIG_NRFX_TIMER2=y
|
|
- CONFIG_UART_0_ENHANCED_POLL_OUT=y
|