aboutsummaryrefslogtreecommitdiffstats
path: root/.cargo
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2022-10-25 12:20:32 -0400
committerBrian Cully <bjc@kublai.com>2022-10-25 12:20:32 -0400
commit0c4eb964b015961e3c90e45ef498f6c7f89eddba (patch)
treeb0cc3b540e7123b45da044c73d1f47f98ce010ef /.cargo
parent0f80c612d59c855a99073e583db339fe6a42b883 (diff)
downloadluchie-0c4eb964b015961e3c90e45ef498f6c7f89eddba.tar.gz
luchie-0c4eb964b015961e3c90e45ef498f6c7f89eddba.zip
convert to gd32f303 (stm32f103) bluepill variant
Diffstat (limited to '.cargo')
-rw-r--r--.cargo/config.toml13
1 files changed, 3 insertions, 10 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml
index d0fb511..033305c 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -1,15 +1,8 @@
-[alias]
-t = "test --target x86_64-unknown-linux-gnu"
-xtask = "run --package xtask --"
-
[build]
-target = "riscv32imac-unknown-none-elf"
+target = "thumbv7em-none-eabihf"
-[target.riscv32imac-unknown-none-elf]
-runner = "riscv32-elf-gdb -x gdbinit"
-#rustflags = ["-C", "link-arg=-Tdevice.lds", "-C", "link-arg=-nostdlib"]
+[target.thumbv7em-none-eabihf]
+runner = "arm-none-eabi-gdb -x gdbinit"
rustflags = [
- "-C", "link-arg=-Tmemory.x",
"-C", "link-arg=-Tlink.x",
]
-#linker = "riscv32-elf-ld"