diff options
| author | Ulf Lilleengen <[email protected]> | 2024-01-11 20:33:27 +0100 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2024-01-11 20:33:27 +0100 |
| commit | b161dd4b11d5aab145950e6ce41eae4d4378d25b (patch) | |
| tree | a7bd09d639e06e269c36de9836e1f17fa873309f /examples | |
| parent | 9a269803bdaa29c9b36fd70d6651b4f2ea10b220 (diff) | |
use secure mode
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/nrf9160/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/nrf9160/memory.x | 4 |
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" } | |||
| 9 | embassy-sync = { version = "0.5.0", path = "../../embassy-sync", features = ["defmt"] } | 9 | embassy-sync = { version = "0.5.0", path = "../../embassy-sync", features = ["defmt"] } |
| 10 | embassy-executor = { version = "0.4.0", path = "../../embassy-executor", features = ["task-arena-size-32768", "arch-cortex-m", "executor-thread", "executor-interrupt", "defmt", "integrated-timers"] } | 10 | embassy-executor = { version = "0.4.0", path = "../../embassy-executor", features = ["task-arena-size-32768", "arch-cortex-m", "executor-thread", "executor-interrupt", "defmt", "integrated-timers"] } |
| 11 | embassy-time = { version = "0.2", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime"] } | 11 | embassy-time = { version = "0.2", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime"] } |
| 12 | embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defmt", "nrf9160-ns", "time-driver-rtc1", "gpiote", "unstable-pac", "time"] } | 12 | embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defmt", "nrf9160-s", "time-driver-rtc1", "gpiote", "unstable-pac", "time"] } |
| 13 | embassy-net = { version = "0.3", path = "../../embassy-net", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet"] } | 13 | embassy-net = { version = "0.3", path = "../../embassy-net", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet"] } |
| 14 | embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt"] } | 14 | embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt"] } |
| 15 | embedded-io = { version = "0.6.0", features = ["defmt-03"] } | 15 | embedded-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 @@ | |||
| 1 | MEMORY | 1 | MEMORY |
| 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 | } |
