From b97bc791260554edfd79dbd84c05815bef26b636 Mon Sep 17 00:00:00 2001 From: Wouter Geraedts Date: Tue, 9 Apr 2024 15:01:27 +0200 Subject: Added esp32c6 support and example --- examples/esp32c6/.cargo/config.toml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 examples/esp32c6/.cargo/config.toml (limited to 'examples/esp32c6/.cargo') diff --git a/examples/esp32c6/.cargo/config.toml b/examples/esp32c6/.cargo/config.toml new file mode 100644 index 0000000..ba9bb54 --- /dev/null +++ b/examples/esp32c6/.cargo/config.toml @@ -0,0 +1,15 @@ +[target.riscv32imac-unknown-none-elf] +runner = "espflash flash --monitor" + +[build] +rustflags = [ + "-C", "link-arg=-Tlinkall.x", + # 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"] -- cgit v1.2.3