Skip to content

Commit

Permalink
Add Cortex M7 options to config.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
korken89 committed Jul 20, 2023
1 parent c1ffa72 commit 1f71224
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ rustflags = [
"-C", "linker=flip-link",
"-C", "link-arg=-Tlink.x",
"-C", "link-arg=-Tdefmt.x",
# "-C", "target-cpu=cortex-m7", # For Cortex M7 instructions/pipelining
# "-C", "target-feature=+fp64", # For Cortex M7 double precision FPU
# This is needed if your flash or ram addresses are not aligned to 0x10000 in memory.x
# See https://github.com/rust-embedded/cortex-m-quickstart/pull/95
"-C", "link-arg=--nmagic",
# "-C", "link-arg=--nmagic",
]

[build]
Expand Down

0 comments on commit 1f71224

Please sign in to comment.