Skip to content

[nrf fromlist] tests: mbox: Add support for nRF54LM20A #3141

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 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* Copyright 2025 Nordic Semiconductor ASA
* SPDX-License-Identifier: Apache-2.0
*/

/ {
mbox-consumer {
compatible = "vnd,mbox-consumer";
mboxes = <&cpuapp_vevif_tx 21>, <&cpuapp_vevif_tx 32>,
<&cpuapp_vevif_rx 20>, <&cpuapp_vevif_rx 32>;
mbox-names = "remote_valid", "remote_incorrect",
"local_valid", "local_incorrect";

};
};

&cpuapp_vevif_rx {
status = "okay";
};

&cpuapp_vevif_tx {
status = "okay";
};
2 changes: 2 additions & 0 deletions tests/drivers/mbox/mbox_error_cases/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ tests:
tests.drivers.mbox_error_cases.nrf54l:
platform_allow:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54lm20dk/nrf54lm20a/cpuapp
- ophelia4ev/nrf54l15/cpuapp
integration_platforms:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54lm20dk/nrf54lm20a/cpuapp
- ophelia4ev/nrf54l15/cpuapp
extra_args: SNIPPET=nordic-flpr
3 changes: 2 additions & 1 deletion tests/drivers/mbox/mbox_error_cases/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
int dummy_value;

#if defined(CONFIG_SOC_NRF54L05) || defined(CONFIG_SOC_NRF54L10) || \
defined(CONFIG_SOC_NRF54L15) || defined(CONFIG_SOC_NRF54H20)
defined(CONFIG_SOC_NRF54L15) || defined(CONFIG_SOC_NRF54H20) || \
defined(CONFIG_SOC_NRF54LM20A)

Check notice on line 15 in tests/drivers/mbox/mbox_error_cases/src/main.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

You may want to run clang-format on this change

tests/drivers/mbox/mbox_error_cases/src/main.c:15 -#if defined(CONFIG_SOC_NRF54L05) || defined(CONFIG_SOC_NRF54L10) || \ - defined(CONFIG_SOC_NRF54L15) || defined(CONFIG_SOC_NRF54H20) || \ +#if defined(CONFIG_SOC_NRF54L05) || defined(CONFIG_SOC_NRF54L10) || \ + defined(CONFIG_SOC_NRF54L15) || defined(CONFIG_SOC_NRF54H20) || \
#define EXPECTED_MTU_VALUE (0)
#define DATA_TRANSFER_MODE_SUPPORTED (0)
#define REMOTE_BUSY_SUPPORTED (0)
Expand Down
Loading