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

Open
wants to merge 62 commits into
base: main
Choose a base branch
from

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 <sebastian.glab@nordicsemi.no>
Add overlay required to run the test on
nrf54lm20dk/nrf54lm20a/cpuapp.

Upstream PR #: 92901

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
…name

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

Upstream PR #: 92901

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
@nordic-segl nordic-segl force-pushed the NRFX-7936_Enable-samples-and-tests-on-nrf54lm20a-pt2 branch from 057dc32 to 6aaf7ca Compare July 10, 2025 07:58
…4LM20 rename

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

Upstream PR #: 92901

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Upstream PR #: 92901

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
… nrf54lm20dk

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

Upstream PR #: 92901

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
…rename

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

Upstream PR #: 92901

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
…F54LM20 rename

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

Upstream PR #: 92901

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
…20 rename

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

Upstream PR #: 92901

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
@nordic-segl nordic-segl force-pushed the NRFX-7936_Enable-samples-and-tests-on-nrf54lm20a-pt2 branch from 6aaf7ca to b2a8fc8 Compare July 10, 2025 08:13
Yunshao-Chiang and others added 9 commits July 10, 2025 10:36
… driver

Add analog comparator driver for ITE it51xxx chip.

Signed-off-by: Yunshao Chiang <Yunshao.Chiang@ite.com.tw>
(cherry picked from commit 5a2765da260501371063c6500dcb8d6a1992e53e)
…for ek_ra8p1

Add support test app `gpio_loopback` for Renesas ek_ra8p1 board

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
(cherry picked from commit 3367bd46dd2df1819e4b33334cbf989cd69f519b)
… on nrf54lm20dk

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

Upstream PR #: 92901

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
…ter nRF54LM20 rename

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

Upstream PR #: 92901

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
…s OSPI_B

Add support test app "flash/common" for testing Renesas RA
OSPI_B on ek_ra8m1, ek_ra8d1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
(cherry picked from commit a545e19)
…rase is required

When no flash device requires erase, this test does not retrieve
flash page size with flash_get_page_info_by_offs(), but instead
it takes an arbitrary page size based on the test area length.
Since the test_flash_copy routine needs to use two pages, the test
area needs to be split into at least two parts. Correct the related
code and add a check if test_flash_copy requirements are met.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
(cherry picked from commit fb94343ce45d1324189fbf2ff0fffc52e4a9a525)
… rename

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

Enable external memory node.

Use separate test configuration as external memory works
only on nRF54LM20 DKs with `external_flash` fixture.

Upstream PR #: 92901

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
…RF54LM20 rename

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

Upstream PR #: 92901

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
…F54LM20 rename

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

Upstream PR #: 92901

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
@nordic-segl nordic-segl force-pushed the NRFX-7936_Enable-samples-and-tests-on-nrf54lm20a-pt2 branch 3 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 <sebastian.glab@nordicsemi.no>
@nordic-segl nordic-segl force-pushed the NRFX-7936_Enable-samples-and-tests-on-nrf54lm20a-pt2 branch from 0dfc4ca to 134be0b Compare July 10, 2025 09:17
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 <sebastian.glab@nordicsemi.no>
thaoluonguw and others added 8 commits July 10, 2025 12:10
…back test

Add support for ek_ra2l1 on spi_loopback.

Signed-off-by: Thao Luong <thao.luong.uw@renesas.com>
(cherry picked from commit e2267bd59e4055ccc7b60021a30e47b3c047e312)
…a8p1

Add support test app spi_loopback for Renesas ek_ra8p1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
(cherry picked from commit c6f237ed0be16d27659e25ce96ff5bbcb12d5122)
Size given to __aligned() is in bytes.
Align following DCACHE line size, or default to 32-byte alignment

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
(cherry picked from commit da62b1c19d5ab1f2ac38ef577a1a6d338940b1c1)
…N support

Different LPSPI IPs are used for RT11xx and MCXN. On a older version of
LPSPI, a transmit command or a TX data need to be issued to end a frame.
On a new version, no such requirement.

Based on above information, we have to make DMA transfers "cascade" in
the DMA ISR to keep CS asserted during the whole SPI transfer.

PCS_HOLD_ON is a feature to keep CS asserted during multi SPI transfers.
It is implemented and supported on new LPSPI IP but it is impossible to
be supported on an older version like RT11xx.

Signed-off-by: Raymond Lei <raymond.lei@nxp.com>
(cherry picked from commit 0d2935218c5ee623f2fd0ea4fc1f5a3b9c14d72c)
…23x0

Enable DMA for the test.

Signed-off-by: Julien Panis <jpanis@baylibre.com>
(cherry picked from commit a631df5cd8c85af29537966c556f3e8f04de4516)
Enable 'spi_loopback' test for MAX32657 boards.

Signed-off-by: Mert Ekren <mert.ekren@analog.com>
(cherry picked from commit e7dd1e507a25c80fe905d5563c0cbf09bf59532e)
…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 <declan.snyder@nxp.com>
(cherry picked from commit 0574ac7e845876c8e9fee0c8f3974d519a7ce086)
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 <declan.snyder@nxp.com>
(cherry picked from commit f7853dfb161a849f466026c35f02f0a025413719)
@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 and others added 12 commits July 10, 2025 14:17
…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).

Upstream PR #: 92901

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
…RF54LM20 rename

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

Upstream PR #: 92901

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
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 <jerzy.kasenberg.xr@bp.renesas.com>
(cherry picked from commit fea8ee47dab30559eb486ae0d23dc711639ef786)
…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 <khaoula.bidani-ext@st.com>
(cherry picked from commit 065900b11f55bceedf159dee3524a6a92f4d391a)
…ek_ra8p1

Add support test uart_async_api for Renesas ek_ra8p1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
(cherry picked from commit e6f9cd35bffdc9ea9992e78e9bb96671837b9b6b)
…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 <fabrice.djiatsa-ext@st.com>
(cherry picked from commit 28c766b95705452b2f94e45e4ad87df03109b123)
…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 <fabrice.djiatsa-ext@st.com>
(cherry picked from commit 7900f8d4ee7b318c0813c9a5629d000cdae7b06c)
…F54LM20 rename

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

Add test on fast instance uart00 on nrf54lm20dk.

Upstream PR #: 92901

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
…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.

Upstream PR #: 92901

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
…LM20 rename

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

Upstream PR #: 92901

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
…r nRF54LM20 rename

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

Upstream PR #: 92901

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
… rename

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

Upstream PR #: 92901

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
@nordic-segl nordic-segl force-pushed the NRFX-7936_Enable-samples-and-tests-on-nrf54lm20a-pt2 branch from 28d417a to 1f3485d Compare July 10, 2025 12:18
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Upstream PR #: 92901

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
…F54LM20 rename

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

Upstream PR #: 92901

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Upstream PR #: 92901

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
…up time"

This reverts commit 79eff4e.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
… rename

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

Upstream PR #: 92901

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
@nordic-segl nordic-segl force-pushed the NRFX-7936_Enable-samples-and-tests-on-nrf54lm20a-pt2 branch from 1f3485d to 741f4c0 Compare July 10, 2025 13:32
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.