aboutsummaryrefslogtreecommitdiffstats
path: root/.cargo/config.toml
diff options
context:
space:
mode:
Diffstat (limited to '.cargo/config.toml')
-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"