-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cargo: use nightly and force target build
- Loading branch information
1 parent
00f49ff
commit 66cc945
Showing
6 changed files
with
47 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
[target.'cfg(all(target_arch = "arm", target_os = "none"))'] | ||
rustflags = [ | ||
"-C", "link-arg=-Tlink.x", | ||
] | ||
|
||
[build] | ||
target = "thumbv7em-none-eabihf" # Cortex-M4F and Cortex-M7F (with FPU) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
cargo-features = ["per-package-target"] | ||
|
||
[package] | ||
authors = ["Philip Linden <[email protected]>"] | ||
edition = "2021" | ||
readme = "README.md" | ||
name = "ahab_stm32f11ve" | ||
version = "0.1.0" | ||
forced-target = "thumbv7em-none-eabihf" | ||
|
||
[dependencies] | ||
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] } | ||
cortex-m-rt = { workspace = true } | ||
panic-halt = { workspace = true } | ||
rtt-target = { version = "0.6.1", features = ["log"] } | ||
rtt-target = { workspace = true } | ||
|
||
[[bin]] | ||
name = "ahab_stm32f11ve" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[toolchain] | ||
channel = "nightly" # required for per-package-target | ||
|
||
[feature] | ||
per-package-target = ["true"] |