aboutsummaryrefslogtreecommitdiffstats
path: root/.cargo
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2022-08-06 12:12:37 -0400
committerBrian Cully <bjc@kublai.com>2022-08-06 12:12:37 -0400
commit35248b205cd56633e52b9e634a942e7fd987db0b (patch)
tree37c9fd21e52e7cb0a7c547065a52d73d19d925b9 /.cargo
parent8f9bc49bb40e2972cf0c0bf1b61eb8127a9397df (diff)
downloadluchie-35248b205cd56633e52b9e634a942e7fd987db0b.tar.gz
luchie-35248b205cd56633e52b9e634a942e7fd987db0b.zip
Blinky on a hardware timer, with ‘wfi’ in between.
Diffstat (limited to '.cargo')
-rw-r--r--.cargo/config.toml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml
index 2609695..d0fb511 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -7,5 +7,9 @@ target = "riscv32imac-unknown-none-elf"
[target.riscv32imac-unknown-none-elf]
runner = "riscv32-elf-gdb -x gdbinit"
-rustflags = ["-C", "link-arg=-Tdevice.lds", "-C", "link-arg=-nostdlib"]
-linker = "riscv32-elf-ld"
+#rustflags = ["-C", "link-arg=-Tdevice.lds", "-C", "link-arg=-nostdlib"]
+rustflags = [
+ "-C", "link-arg=-Tmemory.x",
+ "-C", "link-arg=-Tlink.x",
+]
+#linker = "riscv32-elf-ld"