Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: driver: uart: uart_mix_fifo_poll: Extend test to support running on multiple UART instances #81701

Merged
merged 4 commits into from
Jan 6, 2025

Conversation

nordic-krch
Copy link
Contributor

Rework test to support running on multiple UART instances.
Extend configuration for nrf54h20dk/nrf54h20/cpuapp to use also uart120 instance.
It contains commit from #81273 as without this uart120 does not work with device runtime PM.

@nordic-krch nordic-krch requested a review from anangl as a code owner November 21, 2024 09:54
@zephyrbot zephyrbot added platform: nRF Nordic nRFx area: UART Universal Asynchronous Receiver-Transmitter labels Nov 21, 2024
kl-cruz
kl-cruz previously approved these changes Nov 25, 2024
@kartben
Copy link
Collaborator

kartben commented Dec 14, 2024

@nordic-krch this needs a rebase

gpio_loopback fixture is used for single pair of shortened pins. For
this test 2 pairs are needed (cts-rts + tx-rx) so gpio_loopback does
not describe it correctly.

Signed-off-by: Krzysztof Chruściński <[email protected]>
Rework test to allow testing multiple UART instances in a single
run.

Signed-off-by: Krzysztof Chruściński <[email protected]>
Do not use CONFIG_UART_NRFX_UARTE_LEGACY_SHIM=n because this option
is going to be deprecated and this option does not support all uart
instances (e.g. uart120). Limit testing of configuration with
CONFIG_UART_0_ENHANCED_POLL_OUT=y to legacy platforms. nrf54x
platforms have ENDTX-STOPTX short so this feature is not supported
and needed there.

Signed-off-by: Krzysztof Chruściński <[email protected]>
Add configuration for UARTE120 fast instance. Use multi-instance capability
of the test to run same test on UARTE120 and slow UARTE peripheral.

Signed-off-by: Krzysztof Chruściński <[email protected]>
@kartben kartben merged commit 9af987d into zephyrproject-rtos:main Jan 6, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: UART Universal Asynchronous Receiver-Transmitter platform: nRF Nordic nRFx
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants