Setup basic esp32c3 embassy

This commit is contained in:
Mona Mayrhofer 2025-06-26 16:04:37 +02:00
commit c1b98bb7d0
No known key found for this signature in database
GPG key ID: 3E2BDA732A957188
11 changed files with 1990 additions and 0 deletions

17
.cargo/config.toml Normal file
View file

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