Skip to content

Commit b4056a6

Browse files
samples: Cleanup nRF54LM20 port
- We cannot set full 512 kB RAM - we have only 511 kB, so let's use the default settings. - For MCUBoot and external flash disable external driver check. - Add samples's build dirs to gitignore Signed-off-by: Arkadiusz Balys <arkadiusz.balys@nordicsemi.no>
1 parent b1a947b commit b4056a6

File tree

9 files changed

+8
-66
lines changed

9 files changed

+8
-66
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ __pycache__/
1010
# build
1111
/build*
1212
/twister-out*
13+
/samples/*/build*
1314

1415
# docs
1516
/docs/_build*

samples/light_bulb/boards/nrf54lm20dk_nrf54lm20a_cpuapp.overlay

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,6 @@
1717
};
1818
};
1919

20-
// restore full RRAM and SRAM space - by default some parts are dedicated to FLRP
21-
&cpuapp_rram {
22-
reg = <0x0 DT_SIZE_K(2036)>;
23-
};
24-
25-
&cpuapp_sram {
26-
reg = <0x20000000 DT_SIZE_K(512)>;
27-
ranges = <0x0 0x20000000 DT_SIZE_K(512)>;
28-
};
29-
3020
&pwm20 {
3121
status = "okay";
3222
pinctrl-0 = <&pwm_default>;

samples/light_switch/Kconfig.sysbuild

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ config DFU_MULTI_IMAGE_PACKAGE_NET
4242

4343
endif # SOC_SERIES_NRF53X
4444

45+
if BOARD_NRF54LM20DK
46+
47+
config PM_OVERRIDE_EXTERNAL_DRIVER_CHECK
48+
default y
49+
50+
endif # BOARD_NRF54LM20DK
51+
4552
endif # BOOTLOADER_MCUBOOT
4653

4754
source "${ZEPHYR_BASE}/share/sysbuild/Kconfig"

samples/light_switch/boards/nrf54lm20dk_nrf54lm20a_cpuapp.overlay

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,6 @@
4545
};
4646
};
4747

48-
/* Restore full RRAM and SRAM */
49-
&cpuapp_rram {
50-
reg = <0x0 DT_SIZE_K(2036)>;
51-
};
52-
53-
&cpuapp_sram {
54-
reg = <0x20000000 DT_SIZE_K(512)>;
55-
};
56-
5748
&timer24 {
5849
status = "okay";
5950
};

samples/light_switch/sysbuild/mcuboot/boards/nrf54lm20dk_nrf54lm20a_cpuapp.overlay

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,6 @@
1010
};
1111
};
1212

13-
// restore full RRAM and SRAM space - by default some parts are dedicated to FLRP
14-
&cpuapp_rram {
15-
reg = <0x0 DT_SIZE_K(2036)>;
16-
};
17-
18-
&cpuapp_sram {
19-
reg = <0x20000000 DT_SIZE_K(512)>;
20-
ranges = <0x0 0x20000000 0x80000>;
21-
};
22-
2313
&mx25r64 {
2414
status = "okay";
2515
};

samples/ncp/boards/nrf54lm20dk_nrf54lm20a_cpuapp.overlay

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,6 @@
1313
};
1414
};
1515

16-
/* Restore full RRAM and SRAM */
17-
&cpuapp_rram {
18-
reg = <0x0 DT_SIZE_K(2036)>;
19-
};
20-
21-
&cpuapp_sram {
22-
reg = <0x20000000 DT_SIZE_K(512)>;
23-
};
24-
2516
&pinctrl {
2617
uart21_default: uart21_default {
2718
group1 {

samples/network_coordinator/boards/nrf54lm20dk_nrf54lm20a_cpuapp.overlay

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,6 @@
1717
};
1818
};
1919

20-
// restore full RRAM and SRAM space - by default some parts are dedicated to FLRP
21-
&cpuapp_rram {
22-
reg = <0x0 DT_SIZE_K(2036)>;
23-
};
24-
25-
&cpuapp_sram {
26-
reg = <0x20000000 DT_SIZE_K(512)>;
27-
ranges = <0x0 0x20000000 DT_SIZE_K(512)>;
28-
};
29-
3020
&pwm20 {
3121
status = "okay";
3222
pinctrl-0 = <&pwm_default>;

samples/shell/boards/nrf54lm20dk_nrf54lm20a_cpuapp.overlay

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,6 @@
1010
};
1111
};
1212

13-
/* Restore full RRAM and SRAM */
14-
&cpuapp_rram {
15-
reg = <0x0 DT_SIZE_K(2036)>;
16-
};
17-
18-
&cpuapp_sram {
19-
reg = <0x20000000 DT_SIZE_K(512)>;
20-
};
21-
2213
&timer24 {
2314
status = "okay";
2415
};

samples/template/boards/nrf54lm20dk_nrf54lm20a_cpuapp.overlay

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,6 @@
1010
};
1111
};
1212

13-
/* Restore full RRAM and SRAM */
14-
&cpuapp_rram {
15-
reg = <0x0 DT_SIZE_K(2036)>;
16-
};
17-
18-
&cpuapp_sram {
19-
reg = <0x20000000 DT_SIZE_K(512)>;
20-
};
21-
2213
&timer24 {
2314
status = "okay";
2415
};

0 commit comments

Comments
 (0)