summaryrefslogtreecommitdiff
path: root/.cargo
diff options
context:
space:
mode:
Diffstat (limited to '.cargo')
-rw-r--r--.cargo/config.toml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml
new file mode 100644
index 0000000..e5798f8
--- /dev/null
+++ b/.cargo/config.toml
@@ -0,0 +1,17 @@
+[target.riscv32imac-unknown-none-elf]
+runner = "sudo espflash flash --monitor --chip esp32c6"
+
+[env]
+ESP_LOG="info"
+
+[build]
+rustflags = [
+ # Required to obtain backtraces (e.g. when using the "esp-backtrace" crate.)
+ # NOTE: May negatively impact performance of produced code
+ "-C", "force-frame-pointers",
+]
+
+target = "riscv32imac-unknown-none-elf"
+
+[unstable]
+build-std = ["core"]