Skip to content

Commit

Permalink
boards: nrf54l15dk: Enable tests and samples for the L05 and L10
Browse files Browse the repository at this point in the history
This is a follow-up to 2147577,
extending the number of tests and samples that use the new L05 and L10.

Signed-off-by: Carles Cufi <[email protected]>
  • Loading branch information
carlescufi authored and kartben committed Nov 25, 2024
1 parent 992db7d commit b06bf51
Show file tree
Hide file tree
Showing 12 changed files with 114 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/ {
cpuapp_sram@20017000 {
compatible = "zephyr,memory-region", "mmio-sram";
reg = <0x20017000 DT_SIZE_K(4)>;
zephyr,memory-region = "RetainedMem";
status = "okay";

retainedmem0: retainedmem {
compatible = "zephyr,retained-ram";
status = "okay";
};
};

aliases {
retainedmemdevice = &retainedmem0;
};
};

&cpuapp_sram {
/* Shrink SRAM size to avoid overlap with retained memory region:
* 96 - 4 = 92KB = 0x17000
*/
reg = <0x20000000 0x17000>;
ranges = <0x0 0x20000000 0x17000>;
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/ {
cpuapp_sram@2002f000 {
compatible = "zephyr,memory-region", "mmio-sram";
reg = <0x2002f000 DT_SIZE_K(4)>;
zephyr,memory-region = "RetainedMem";
status = "okay";

retainedmem0: retainedmem {
compatible = "zephyr,retained-ram";
status = "okay";
};
};

aliases {
retainedmemdevice = &retainedmem0;
};
};

&cpuapp_sram {
/* Shrink SRAM size to avoid overlap with retained memory region:
* 192 - 4 = 188KB = 0x2f000
*/
reg = <0x20000000 0x2f000>;
ranges = <0x0 0x20000000 0x2f000>;
};
2 changes: 2 additions & 0 deletions samples/boards/nordic/system_off/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ tests:
integration_platforms:
- nrf52840dk/nrf52840
platform_allow:
- nrf54l15dk/nrf54l05/cpuapp
- nrf54l15dk/nrf54l10/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf52840dk/nrf52840
- nrf52dk/nrf52832
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_NVS=y
CONFIG_SETTINGS_NVS=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_NVS=y
CONFIG_SETTINGS_NVS=y
2 changes: 2 additions & 0 deletions samples/subsys/settings/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ tests:
- native_sim
- native_sim/native/64
- mr_canhubk3
- nrf54l15dk/nrf54l05/cpuapp
- nrf54l15dk/nrf54l10/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf54h20dk/nrf54h20/cpuapp
integration_platforms:
Expand Down
2 changes: 2 additions & 0 deletions tests/drivers/flash/common/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ tests:
- mimxrt1060_evk
drivers.flash.common.no_explicit_erase:
platform_allow:
- nrf54l15dk/nrf54l05/cpuapp
- nrf54l15dk/nrf54l10/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf54h20dk/nrf54h20/cpuapp
drivers.flash.common.tfm_ns:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_POWEROFF=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/ {
cpuapp_sram@20017000 {
compatible = "zephyr,memory-region", "mmio-sram";
reg = <0x20017000 DT_SIZE_K(4)>;
zephyr,memory-region = "RetainedMem";
status = "okay";

retainedmem0: retainedmem {
compatible = "zephyr,retained-ram";
status = "okay";
};
};

aliases {
retainedmemtestdevice = &retainedmem0;
};
};

&cpuapp_sram {
/* Shrink SRAM size to avoid overlap with retained memory region:
* 96 - 4 = 92KB = 0x17000
*/
reg = <0x20000000 0x17000>;
ranges = <0x0 0x20000000 0x17000>;
};
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_POWEROFF=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/ {
cpuapp_sram@2002f000 {
compatible = "zephyr,memory-region", "mmio-sram";
reg = <0x2002f000 DT_SIZE_K(4)>;
zephyr,memory-region = "RetainedMem";
status = "okay";

retainedmem0: retainedmem {
compatible = "zephyr,retained-ram";
status = "okay";
};
};

aliases {
retainedmemtestdevice = &retainedmem0;
};
};

&cpuapp_sram {
/* Shrink SRAM size to avoid overlap with retained memory region:
* 192 - 4 = 188KB = 0x2f000
*/
reg = <0x20000000 0x2f000>;
ranges = <0x0 0x20000000 0x2f000>;
};
2 changes: 2 additions & 0 deletions tests/drivers/retained_mem/api/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ tests:
- qemu_cortex_m3
- nrf54h20dk/nrf54h20/cpuapp
- nrf54h20dk/nrf54h20/cpurad
- nrf54l15dk/nrf54l05/cpuapp
- nrf54l15dk/nrf54l10/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
tags:
- drivers
Expand Down

0 comments on commit b06bf51

Please sign in to comment.