Skip to content

Commit 8fb6ea2

Browse files
kl-cruzkartben
authored andcommitted
tests: mbox: Add support for nRF54LM20A
Extend test coverage with new test. Signed-off-by: Karol Lasończyk <[email protected]>
1 parent 8c13c07 commit 8fb6ea2

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright 2025 Nordic Semiconductor ASA
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
/ {
7+
mbox-consumer {
8+
compatible = "vnd,mbox-consumer";
9+
mboxes = <&cpuapp_vevif_tx 21>, <&cpuapp_vevif_tx 32>,
10+
<&cpuapp_vevif_rx 20>, <&cpuapp_vevif_rx 32>;
11+
mbox-names = "remote_valid", "remote_incorrect",
12+
"local_valid", "local_incorrect";
13+
14+
};
15+
};
16+
17+
&cpuapp_vevif_rx {
18+
status = "okay";
19+
};
20+
21+
&cpuapp_vevif_tx {
22+
status = "okay";
23+
};

tests/drivers/mbox/mbox_error_cases/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ tests:
1717
tests.drivers.mbox_error_cases.nrf54l:
1818
platform_allow:
1919
- nrf54l15dk/nrf54l15/cpuapp
20+
- nrf54lm20dk/nrf54lm20a/cpuapp
2021
- ophelia4ev/nrf54l15/cpuapp
2122
integration_platforms:
2223
- nrf54l15dk/nrf54l15/cpuapp
24+
- nrf54lm20dk/nrf54lm20a/cpuapp
2325
- ophelia4ev/nrf54l15/cpuapp
2426
extra_args: SNIPPET=nordic-flpr

tests/drivers/mbox/mbox_error_cases/src/main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
int dummy_value;
1212

1313
#if defined(CONFIG_SOC_NRF54L05) || defined(CONFIG_SOC_NRF54L10) || \
14-
defined(CONFIG_SOC_NRF54L15) || defined(CONFIG_SOC_NRF54H20)
14+
defined(CONFIG_SOC_NRF54L15) || defined(CONFIG_SOC_NRF54H20) || \
15+
defined(CONFIG_SOC_NRF54LM20A)
1516
#define EXPECTED_MTU_VALUE (0)
1617
#define DATA_TRANSFER_MODE_SUPPORTED (0)
1718
#define REMOTE_BUSY_SUPPORTED (0)

0 commit comments

Comments
 (0)