I work on nRF54L15DK.
When building for the nRF54L15DK, only 188KB of SRAM is allocated.
The remaining 68KB seems to be allocated to the FLPR MCU.
How can I change this size?
I work on nRF54L15DK.
When building for the nRF54L15DK, only 188KB of SRAM is allocated.
The remaining 68KB seems to be allocated to the FLPR MCU.
How can I change this size?
Hello,
I think you can either delete the FLPR part and adding the entire 256kB for SRAM or set the allocation zero for FLPR (if deleting is not allowed).
For the first one, you need to increase the RAM size range. Currently, it is set to 0x2F000 for cpuapp, which corresponds to 168k and 0x11000 for cpuflpr, which corresponds to 68k.
You can edit the rf54l15.dtsi file in following way:
cpuapp_sram: memory@20000000 { compatible = "mmio-sram"; reg = <0x20000000 DT_SIZE_K(256)>; #address-cells = <1>; #size-cells = <1>; ranges = <0x0 0x20000000 0x40000>; }; cpuflpr_sram: memory@20040000 { compatible = "mmio-sram"; reg = <0x20040000 DT_SIZE_K(0)>; #address-cells = <1>; #size-cells = <1>; ranges = <0x0 0x20040000 0x00000>; };
or
cpuapp_sram: memory@20000000 { compatible = "mmio-sram"; reg = <0x20000000 DT_SIZE_K(256)>; #address-cells = <1>; #size-cells = <1>; ranges = <0x0 0x20000000 0x40000>; };