summaryrefslogtreecommitdiffstats
path: root/.cargo/config.toml
diff options
context:
space:
mode:
Diffstat (limited to '.cargo/config.toml')
-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..eea2f9e
--- /dev/null
+++ b/.cargo/config.toml
@@ -0,0 +1,17 @@
+[target.riscv32imc-unknown-none-elf]
+runner = "espflash flash --monitor"
+
+[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 = "riscv32imc-unknown-none-elf"
+
+[unstable]
+build-std = ["alloc", "core"]