-
CONFIG_PM_PARTITION_SIZE_SPM_SRAM
¶
RAM reserved for SPM
Type: hex
Help¶
RAM area set aside for the SPM. On the nRF9160 the BSDLib needs to be included in the build. There are scrict requirements to the RAM area reserved for BSDLib. Specifically it must be 64kB from RAM offset 0x10000. By setting the SPM RAM to 0x10000 we ensure that BSDLib RAM ends up in the right place.
Defaults¶
0x10000 if
SOC_NRF9160
0x8000
Kconfig definition¶
At <nRF>/subsys/spm/Kconfig:39
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:9
→ <BuildDir>/Kconfig/Kconfig.modules:1
→ <nRF>/Kconfig.nrf:25
→ <nRF>/subsys/Kconfig:26
Menu path: (Top) → Modules → Nordic nRF Connect → SPM → Current app is SPM
config PM_PARTITION_SIZE_SPM_SRAM hex "RAM reserved for SPM" default 0x10000 ifSOC_NRF9160
default 0x8000 depends onIS_SPM
help RAM area set aside for the SPM. On the nRF9160 the BSDLib needs to be included in the build. There are scrict requirements to the RAM area reserved for BSDLib. Specifically it must be 64kB from RAM offset 0x10000. By setting the SPM RAM to 0x10000 we ensure that BSDLib RAM ends up in the right place.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)