Skip to content

Commit ed1c4fe

Browse files
committed
public release
0 parents  commit ed1c4fe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+3733
-0
lines changed

.cargo/config

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[alias]
2+
be = "build --example"
3+
br = "build --release"
4+
bre = "build --release --example"
5+
re = "run --example"
6+
rr = "run --release"
7+
rre = "run --release --example"
8+
9+
[target.thumbv7em-none-eabihf]
10+
rustflags = [
11+
"-C", "linker=arm-none-eabi-ld",
12+
"-C", "link-arg=-Tlink.x",
13+
]
14+
runner = "arm-none-eabi-gdb -q -x openocd.gdb"
15+
16+
[build]
17+
target = "thumbv7em-none-eabihf" # Cortex-M4F

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target

Cargo.lock

+318
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
[workspace]
2+
members = [
3+
"async-cortex-m",
4+
"cortex-m-udf",
5+
"nrf52",
6+
"panic-udf",
7+
]
8+
9+
[profile.dev]
10+
codegen-units = 1
11+
debug = 1
12+
debug-assertions = true # !
13+
incremental = false
14+
lto = "fat"
15+
opt-level = 'z' # !
16+
overflow-checks = true # !
17+
18+
[profile.release]
19+
codegen-units = 1
20+
debug = 1
21+
debug-assertions = false
22+
incremental = false
23+
lto = "fat"
24+
opt-level = 3
25+
overflow-checks = false
26+
27+
# `syn` and other proc-macro crates take very long to build when optimized
28+
# this disables optimizations for them significantly reducing the time it takes
29+
# to build the whole dependency graph from scratch
30+
[profile.dev.build-override]
31+
codegen-units = 16
32+
debug = false
33+
debug-assertions = false
34+
incremental = true
35+
opt-level = 0
36+
overflow-checks = false
37+
38+
[profile.release.build-override]
39+
codegen-units = 16
40+
debug = false
41+
debug-assertions = false
42+
incremental = true
43+
opt-level = 0
44+
overflow-checks = false

0 commit comments

Comments
 (0)