0
0
Fork 0

setup rust project using esp-generate

This commit is contained in:
Jannik Beyerstedt 2026-04-25 15:07:54 +02:00
commit 8cfb908678
10 changed files with 1825 additions and 0 deletions

17
.cargo/config.toml Normal file
View file

@ -0,0 +1,17 @@
[target.riscv32imac-unknown-none-elf]
runner = "espflash flash --monitor --chip esp32c5"
[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 = ["alloc", "core"]