summaryrefslogtreecommitdiff
path: root/nrfdemo/builddk/modules/nrf/subsys/partition_manager
diff options
context:
space:
mode:
Diffstat (limited to 'nrfdemo/builddk/modules/nrf/subsys/partition_manager')
-rw-r--r--nrfdemo/builddk/modules/nrf/subsys/partition_manager/cmake_install.cmake39
-rw-r--r--nrfdemo/builddk/modules/nrf/subsys/partition_manager/pm.yml.libmodem22
-rw-r--r--nrfdemo/builddk/modules/nrf/subsys/partition_manager/pm.yml.mcuboot2
-rw-r--r--nrfdemo/builddk/modules/nrf/subsys/partition_manager/pm.yml.trustzone10
4 files changed, 73 insertions, 0 deletions
diff --git a/nrfdemo/builddk/modules/nrf/subsys/partition_manager/cmake_install.cmake b/nrfdemo/builddk/modules/nrf/subsys/partition_manager/cmake_install.cmake
new file mode 100644
index 0000000..2c92751
--- /dev/null
+++ b/nrfdemo/builddk/modules/nrf/subsys/partition_manager/cmake_install.cmake
@@ -0,0 +1,39 @@
+# Install script for directory: /home/mike/Documents/ncs/v2.7.0/nrf/subsys/partition_manager
+
+# Set the install prefix
+if(NOT DEFINED CMAKE_INSTALL_PREFIX)
+ set(CMAKE_INSTALL_PREFIX "/usr/local")
+endif()
+string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
+
+# Set the install configuration name.
+if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
+ if(BUILD_TYPE)
+ string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
+ CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
+ else()
+ set(CMAKE_INSTALL_CONFIG_NAME "")
+ endif()
+ message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
+endif()
+
+# Set the component getting installed.
+if(NOT CMAKE_INSTALL_COMPONENT)
+ if(COMPONENT)
+ message(STATUS "Install component: \"${COMPONENT}\"")
+ set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
+ else()
+ set(CMAKE_INSTALL_COMPONENT)
+ endif()
+endif()
+
+# Is this installation the result of a crosscompile?
+if(NOT DEFINED CMAKE_CROSSCOMPILING)
+ set(CMAKE_CROSSCOMPILING "TRUE")
+endif()
+
+# Set default install directory permissions.
+if(NOT DEFINED CMAKE_OBJDUMP)
+ set(CMAKE_OBJDUMP "/home/mike/ncs/toolchains/e9dba88316/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-objdump")
+endif()
+
diff --git a/nrfdemo/builddk/modules/nrf/subsys/partition_manager/pm.yml.libmodem b/nrfdemo/builddk/modules/nrf/subsys/partition_manager/pm.yml.libmodem
new file mode 100644
index 0000000..43c8a78
--- /dev/null
+++ b/nrfdemo/builddk/modules/nrf/subsys/partition_manager/pm.yml.libmodem
@@ -0,0 +1,22 @@
+nrf_modem_lib_sram:
+ span: [nrf_modem_lib_ctrl, nrf_modem_lib_tx, nrf_modem_lib_rx, nrf_modem_lib_trace]
+nrf_modem_lib_ctrl:
+ placement: {after: [tfm_sram, spm_sram, start]}
+ size: 0x4e8
+ region: sram_primary
+ inside: sram_nonsecure
+nrf_modem_lib_tx:
+ placement: {after: [nrf_modem_lib_ctrl]}
+ size: 8320
+ region: sram_primary
+ inside: sram_nonsecure
+nrf_modem_lib_rx:
+ placement: {after: [nrf_modem_lib_tx]}
+ size: 8192
+ region: sram_primary
+ inside: sram_nonsecure
+nrf_modem_lib_trace:
+ placement: {after: [nrf_modem_lib_rx]}
+ size: 0
+ region: sram_primary
+ inside: sram_nonsecure
diff --git a/nrfdemo/builddk/modules/nrf/subsys/partition_manager/pm.yml.mcuboot b/nrfdemo/builddk/modules/nrf/subsys/partition_manager/pm.yml.mcuboot
new file mode 100644
index 0000000..05a0b0e
--- /dev/null
+++ b/nrfdemo/builddk/modules/nrf/subsys/partition_manager/pm.yml.mcuboot
@@ -0,0 +1,2 @@
+mcuboot_sram:
+ span: sram_secure
diff --git a/nrfdemo/builddk/modules/nrf/subsys/partition_manager/pm.yml.trustzone b/nrfdemo/builddk/modules/nrf/subsys/partition_manager/pm.yml.trustzone
new file mode 100644
index 0000000..02dd880
--- /dev/null
+++ b/nrfdemo/builddk/modules/nrf/subsys/partition_manager/pm.yml.trustzone
@@ -0,0 +1,10 @@
+# Create a span for the RAM to be configured as SECURE by TF-M.
+sram_secure:
+ region: sram_primary
+ span:
+ - pcd_sram
+sram_nonsecure:
+ region: sram_primary
+ span:
+ - sram_primary
+ - rpmsg_nrf53_sram