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