feat: init esp32 project
This commit is contained in:
parent
3f542d8db0
commit
a69b064f39
15 changed files with 1804 additions and 10 deletions
17
.cargo/config.toml
Normal file
17
.cargo/config.toml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
[target.riscv32imac-unknown-none-elf]
|
||||
runner = "probe-rs run --chip=esp32c6 --preverify --always-print-stacktrace --no-location --catch-hardfault"
|
||||
|
||||
[env]
|
||||
DEFMT_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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue