Skip to content

Commit

Permalink
Set build target
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeden committed Jan 31, 2025
1 parent 6a3c85a commit cfcc5d7
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
# [build]
# target = "thumbv7em-none-eabihf"
[build]
target = "thumbv7em-none-eabihf"

# [target.'cfg(all(target_arch = "arm", target_os = "none"))']
# # rustflags = ["-C", "link-arg=-Tlink.x", "-C", "link-arg=--nmagic"]
# # runner = "probe-run --connect-under-reset --chip nRF52840_xxAA" # Use this for nordic
# runner = "probe-run --chip STM32F405rgt" # Use this for STM32F4

# [target.thumbv7em-none-eabihf]
# rustflags = [
# "-C",
# "link-arg=-Tlink.x", # Link
# "-C",
# "link-arg=--nmagic", # Magic
# ]

# [unstable]
# build-std = ["core"]

0 comments on commit cfcc5d7

Please sign in to comment.