From bf0f5f55f5ea8328a7fb5ac776b8baaed4b9db83 Mon Sep 17 00:00:00 2001 From: memdmp Date: Fri, 24 Jan 2025 21:35:55 +0100 Subject: feat: initial it works --- .cargo/config.toml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .cargo/config.toml (limited to '.cargo/config.toml') 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"] -- cgit v1.2.3