aboutsummaryrefslogtreecommitdiff
path: root/examples/nrf9160
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2024-01-11 20:33:27 +0100
committerUlf Lilleengen <[email protected]>2024-01-11 20:33:27 +0100
commitb161dd4b11d5aab145950e6ce41eae4d4378d25b (patch)
treea7bd09d639e06e269c36de9836e1f17fa873309f /examples/nrf9160
parent9a269803bdaa29c9b36fd70d6651b4f2ea10b220 (diff)
use secure mode
Diffstat (limited to 'examples/nrf9160')
-rw-r--r--examples/nrf9160/Cargo.toml2
-rw-r--r--examples/nrf9160/memory.x4
2 files changed, 2 insertions, 4 deletions
diff --git a/examples/nrf9160/Cargo.toml b/examples/nrf9160/Cargo.toml
index b35b7778d..b6ee40a37 100644
--- a/examples/nrf9160/Cargo.toml
+++ b/examples/nrf9160/Cargo.toml
@@ -9,7 +9,7 @@ embassy-futures = { version = "0.1.0", path = "../../embassy-futures" }
9embassy-sync = { version = "0.5.0", path = "../../embassy-sync", features = ["defmt"] } 9embassy-sync = { version = "0.5.0", path = "../../embassy-sync", features = ["defmt"] }
10embassy-executor = { version = "0.4.0", path = "../../embassy-executor", features = ["task-arena-size-32768", "arch-cortex-m", "executor-thread", "executor-interrupt", "defmt", "integrated-timers"] } 10embassy-executor = { version = "0.4.0", path = "../../embassy-executor", features = ["task-arena-size-32768", "arch-cortex-m", "executor-thread", "executor-interrupt", "defmt", "integrated-timers"] }
11embassy-time = { version = "0.2", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime"] } 11embassy-time = { version = "0.2", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime"] }
12embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defmt", "nrf9160-ns", "time-driver-rtc1", "gpiote", "unstable-pac", "time"] } 12embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defmt", "nrf9160-s", "time-driver-rtc1", "gpiote", "unstable-pac", "time"] }
13embassy-net = { version = "0.3", path = "../../embassy-net", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet"] } 13embassy-net = { version = "0.3", path = "../../embassy-net", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet"] }
14embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt"] } 14embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt"] }
15embedded-io = { version = "0.6.0", features = ["defmt-03"] } 15embedded-io = { version = "0.6.0", features = ["defmt-03"] }
diff --git a/examples/nrf9160/memory.x b/examples/nrf9160/memory.x
index 4d1d77c00..4c7d4ebf0 100644
--- a/examples/nrf9160/memory.x
+++ b/examples/nrf9160/memory.x
@@ -1,7 +1,5 @@
1MEMORY 1MEMORY
2{ 2{
3 /* Assumes Secure Partition Manager (SPM) flashed at the start */ 3 FLASH : ORIGIN = 0x00000000, LENGTH = 1024K
4 SPM : ORIGIN = 0x00000000, LENGTH = 320K
5 FLASH : ORIGIN = 0x00050000, LENGTH = 704K
6 RAM : ORIGIN = 0x20018000, LENGTH = 160K 4 RAM : ORIGIN = 0x20018000, LENGTH = 160K
7} 5}