Add a feature for the ESP32-C2 to`esp-hal-common` and update some `cfg`s Organize the `esp-hal-common` imports and exports and update to include the ESP32-C2
19 lines
388 B
TOML
19 lines
388 B
TOML
[target.riscv32imc-unknown-none-elf]
|
|
runner = "espflash --monitor"
|
|
rustflags = [
|
|
"-C", "link-arg=-Tlinkall.x"
|
|
]
|
|
|
|
# for testing: you can specify this target to see atomic emulation in action
|
|
[target.riscv32imac-unknown-none-elf]
|
|
runner = "espflash --monitor"
|
|
rustflags = [
|
|
"-C", "link-arg=-Tlinkall.x"
|
|
]
|
|
|
|
[build]
|
|
target = "riscv32imc-unknown-none-elf"
|
|
|
|
[unstable]
|
|
build-std = ["core"]
|