Skip to content

Cleanup after nrf54lm20dk board rename part 2 #3038

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

Conversation

nordic-segl
Copy link
Contributor

Clean up after board rename:

  • enable samples and tests on nrf54lm20dk/nrf54lm20a/cpuXXX,
  • remove nrf54l20pdk/nrf54l20/cpuXXX from samples and tests.

manifest-pr-skip

nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Jul 10, 2025
Include:
Cleanup after nrf54lm20dk board rename part 2
nrfconnect/sdk-zephyr#3038
zephyrproject-rtos/zephyr#92901

Signed-off-by: Sebastian Głąb <[email protected]>
@nordic-segl nordic-segl force-pushed the NRFX-7936_Enable-samples-and-tests-on-nrf54lm20a-pt2 branch 5 times, most recently from 272d0fb to 0dfc4ca Compare July 10, 2025 09:02
@nordic-segl nordic-segl requested review from kl-cruz, carlescufi, mstasiaknordic and a team July 10, 2025 09:09
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Jul 10, 2025
Include:
Cleanup after nrf54lm20dk board rename part 2
nrfconnect/sdk-zephyr#3038
zephyrproject-rtos/zephyr#92901

Signed-off-by: Sebastian Głąb <[email protected]>
@nordic-segl nordic-segl force-pushed the NRFX-7936_Enable-samples-and-tests-on-nrf54lm20a-pt2 branch 2 times, most recently from 134be0b to 32a162c Compare July 10, 2025 09:40
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Jul 10, 2025
Include:
Cleanup after nrf54lm20dk board rename part 2
nrfconnect/sdk-zephyr#3038
zephyrproject-rtos/zephyr#92901

Signed-off-by: Sebastian Głąb <[email protected]>
@nordic-segl nordic-segl force-pushed the NRFX-7936_Enable-samples-and-tests-on-nrf54lm20a-pt2 branch from 32a162c to 28d417a Compare July 10, 2025 10:10
@nordic-segl nordic-segl force-pushed the NRFX-7936_Enable-samples-and-tests-on-nrf54lm20a-pt2 branch 2 times, most recently from 1f3485d to 741f4c0 Compare July 10, 2025 13:32
@nordic-segl nordic-segl force-pushed the NRFX-7936_Enable-samples-and-tests-on-nrf54lm20a-pt2 branch from 741f4c0 to 2afe9a6 Compare July 21, 2025 05:04
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Jul 21, 2025
Include:
Cleanup after nrf54lm20dk board rename part 2
nrfconnect/sdk-zephyr#3038
zephyrproject-rtos/zephyr#92901

Signed-off-by: Sebastian Głąb <[email protected]>
@nordic-segl nordic-segl force-pushed the NRFX-7936_Enable-samples-and-tests-on-nrf54lm20a-pt2 branch 3 times, most recently from 035b6db to 15c3120 Compare July 22, 2025 06:13
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Jul 22, 2025
Include:
Cleanup after nrf54lm20dk board rename part 2
nrfconnect/sdk-zephyr#3038
zephyrproject-rtos/zephyr#92901

Signed-off-by: Sebastian Głąb <[email protected]>
Add overlay required to run the test on
nrf54lm20dk/nrf54lm20a/cpuapp.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit cd26bd7)
…name

Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit 591ff81)
…4LM20 rename

Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit 0272230)
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit dcd1a14)
… nrf54lm20dk

Add overlay required to run the test on
nrf54lm20dk/nrf54lm20a/cpuapp.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit cc3b92e)
decsny and others added 3 commits July 22, 2025 08:22
…rted

This early exit section is only reached if there is an error.
In the case of not supported, the ret variable will be 0 and zassert
won't happen. This is because the test was meant to be skipped, not
passed or failed, in this case. So add the skip call.

Signed-off-by: Declan Snyder <[email protected]>
(cherry picked from commit 0574ac7)
The tests was written wrong. It was meant to test using same spi bufs
for both rx and tx, as in tree many sensor and other spi device drivers
use this paradigm. But the 2nd buf setup call was overwriting the first.
Fix by not using the helper function for this case.

And for the write back test, test using same spi_buf_set.

Signed-off-by: Declan Snyder <[email protected]>
(cherry picked from commit f7853df)
…LM20 rename

Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Run test with 16MHz/32MHz bitrate using spi00 instance
(spi2x instances support up to 16MHz/2).

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit 31e8326)
@nordic-segl nordic-segl force-pushed the NRFX-7936_Enable-samples-and-tests-on-nrf54lm20a-pt2 branch from 15c3120 to e6768f4 Compare July 22, 2025 06:22
Jerzy Kasenberg and others added 8 commits July 22, 2025 08:30
This fixes the case where uart_tx() called from tx callback
fill UART output fifo and immediately execute callback again.
This can happen when hardware does not have interrupt for
output FIFO empty and there is no non-blocking way to tell
that transfer finished.
For such case as soon as output FIFO is filled there is
interrupt that informs that more data can be transmitted.
For hardware with 32 byte fifo callback was seen to be
executed recursively 3 times.
That would not be a problem if chained_write_next_buf
was set BEFORE next call uart_tx().

Additionally semaphore max value is increased to 2
to accommodate such case.

Signed-off-by: Jerzy Kasenberg <[email protected]>
(cherry picked from commit fea8ee4)
…erlays

Add UART test overlays for Nucleo U385RG-Q board.
Remove non serial boot conf file since they are now unnecessary.

Signed-off-by: Khaoula Bidani <[email protected]>
(cherry picked from commit 065900b)
…ek_ra8p1

Add support test uart_async_api for Renesas ek_ra8p1

Signed-off-by: Khoa Nguyen <[email protected]>
(cherry picked from commit e6f9cd3)
…he memory

Since nucleo_f746zg has NOCACHE_MEM defined
(related to test cases drivers.uart.async_api.nocache_mem
and drivers.uart.async_api.nocache_mem_dt.nucleo_f746zg),
the TX buffer should be placed in a non-cacheable memory region
for the uart_async_var_buf_length testsuite to pass.

Signed-off-by: Fabrice DJIATSA <[email protected]>
(cherry picked from commit 28c766b)
…frequency

With the current configuration, we encounter a user setting error
during the test with the log:
"Wrong number of bytes received, got: 2, expected: 3."

Workaround:
Increase the clock frequency to enable faster data transmission
and avoid user setting errors.

Signed-off-by: Fabrice DJIATSA <[email protected]>
(cherry picked from commit 7900f8d)
…F54LM20 rename

Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Add test on fast instance uart00 on nrf54lm20dk.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit e5a9c35)
…RF54LM20 rename

Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Reorganize testcase.yaml to make it easier to maintain.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit 207c662)
…LM20 rename

Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit d05c971)
@nordic-segl nordic-segl force-pushed the NRFX-7936_Enable-samples-and-tests-on-nrf54lm20a-pt2 branch 2 times, most recently from 7bdaecd to e9e458b Compare July 22, 2025 06:44
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit a918256)
…F54LM20 rename

Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit 1cf511e)
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit c537fa7)
…up time"

This reverts commit 79eff4e.

Signed-off-by: Sebastian Głąb <[email protected]>
… rename

Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit ebdbc24)
@nordic-segl nordic-segl force-pushed the NRFX-7936_Enable-samples-and-tests-on-nrf54lm20a-pt2 branch from e9e458b to 9703de6 Compare July 22, 2025 06:48
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Jul 22, 2025
Include:
Cleanup after nrf54lm20dk board rename part 2
nrfconnect/sdk-zephyr#3038
zephyrproject-rtos/zephyr#92901

Signed-off-by: Sebastian Głąb <[email protected]>
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Jul 22, 2025
Include:
Cleanup after nrf54lm20dk board rename part 2
nrfconnect/sdk-zephyr#3038
zephyrproject-rtos/zephyr#92901

Signed-off-by: Sebastian Głąb <[email protected]>
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Jul 22, 2025
Include:
Cleanup after nrf54lm20dk board rename part 2
nrfconnect/sdk-zephyr#3038
zephyrproject-rtos/zephyr#92901

Signed-off-by: Sebastian Głąb <[email protected]>
@nordicjm nordicjm merged commit 73f253b into nrfconnect:main Jul 22, 2025
19 checks passed
@nordic-segl nordic-segl deleted the NRFX-7936_Enable-samples-and-tests-on-nrf54lm20a-pt2 branch July 22, 2025 13:23
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Jul 22, 2025
Include:
Cleanup after nrf54lm20dk board rename part 2
nrfconnect/sdk-zephyr#3038
zephyrproject-rtos/zephyr#92901

Signed-off-by: Sebastian Głąb <[email protected]>
rlubos pushed a commit to nrfconnect/sdk-nrf that referenced this pull request Jul 22, 2025
Include:
Cleanup after nrf54lm20dk board rename part 2
nrfconnect/sdk-zephyr#3038
zephyrproject-rtos/zephyr#92901

Signed-off-by: Sebastian Głąb <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.