aboutsummaryrefslogtreecommitdiff
path: root/examples/.cargo
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2021-01-01 22:41:59 +0100
committerDario Nieuwenhuis <[email protected]>2021-01-01 22:46:32 +0100
commit20d3dc87f95f844e747a7e93036ce9ddac369081 (patch)
tree3842a1f3a343de0af8195a1a2a2cf0da17cb7c37 /examples/.cargo
parent4783222f675c1316d0e1a0fda92591f7aca63456 (diff)
Rename examples -> embassy-nrf-examples
Diffstat (limited to 'examples/.cargo')
-rw-r--r--examples/.cargo/config27
1 files changed, 0 insertions, 27 deletions
diff --git a/examples/.cargo/config b/examples/.cargo/config
deleted file mode 100644
index 3f319ae55..000000000
--- a/examples/.cargo/config
+++ /dev/null
@@ -1,27 +0,0 @@
1[target.'cfg(all(target_arch = "arm", target_os = "none"))']
2runner = "probe-run --chip nRF52840_xxAA --defmt"
3
4rustflags = [
5 # LLD (shipped with the Rust toolchain) is used as the default linker
6 "-C", "link-arg=--nmagic",
7 "-C", "link-arg=-Tlink.x",
8 "-C", "link-arg=-Tdefmt.x",
9
10 # if you run into problems with LLD switch to the GNU linker by commenting out
11 # this line
12 # "-C", "linker=arm-none-eabi-ld",
13
14 # if you need to link to pre-compiled C libraries provided by a C toolchain
15 # use GCC as the linker by commenting out both lines above and then
16 # uncommenting the three lines below
17 # "-C", "linker=arm-none-eabi-gcc",
18 # "-C", "link-arg=-Wl,-Tlink.x",
19 # "-C", "link-arg=-nostartfiles",
20]
21
22[build]
23# Pick ONE of these compilation targets
24# target = "thumbv6m-none-eabi" # Cortex-M0 and Cortex-M0+
25# target = "thumbv7m-none-eabi" # Cortex-M3
26# target = "thumbv7em-none-eabi" # Cortex-M4 and Cortex-M7 (no FPU)
27target = "thumbv7em-none-eabihf" # Cortex-M4F and Cortex-M7F (with FPU)