adds blocking pwm working impl for the spinnyboy in rust based on the esp32c6
This commit is contained in:
parent
dd341bbb67
commit
6f2ab7cb95
9 changed files with 1490 additions and 0 deletions
16
spinnyboy_rust/.cargo/config.toml
Normal file
16
spinnyboy_rust/.cargo/config.toml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[target.riscv32imac-unknown-none-elf]
|
||||
runner = "probe-rs run --chip=esp32c6 --preverify --always-print-stacktrace --no-location --catch-hardfault"
|
||||
|
||||
[env]
|
||||
|
||||
[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