File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 1
1
[alias ]
2
2
xtask = " run --package xtask --"
3
3
4
+ # For micro:bit v1.x
5
+
4
6
[target .thumbv6m-none-eabi ]
5
7
runner = ' probe-run --chip nRF51822_xxAA'
6
8
rustflags = [
@@ -9,10 +11,18 @@ rustflags = [
9
11
" -C" , " link-arg=-Tdefmt.x" ,
10
12
]
11
13
14
+ # For micro:bit v2
15
+
16
+ [target .thumbv7em-none-eabi ]
17
+ runner = " probe-run --chip nRF52833_xxAA"
18
+ rustflags = [
19
+ " -C" , " linker=flip-link" ,
20
+ " -C" , " link-arg=-Tlink.x" ,
21
+ " -C" , " link-arg=-Tdefmt.x" ,
22
+ ]
23
+
12
24
[target .thumbv7em-none-eabihf ]
13
- # Execute binary using gdb when calling cargo run
14
25
runner = " probe-run --chip nRF52833_xxAA"
15
- # Tweak to the linking process required by the cortex-m-rt crate
16
26
rustflags = [
17
27
" -C" , " linker=flip-link" ,
18
28
" -C" , " link-arg=-Tlink.x" ,
Original file line number Diff line number Diff line change @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
8
8
## [ Unreleased]
9
9
10
+ ### Added
11
+
12
+ - Added support for the thumbv7em-none-eabi target for microbit: v2 (same as
13
+ thumbv7em-none-eabihf but without hardware floating point support)
14
+
15
+ ### Changed
16
+
10
17
- Rearrange LED display modules under the same root module and change their
11
18
APIs to be more aligned with each other.
12
19
- Add BLE Beacon demo.
You can’t perform that action at this time.
0 commit comments