* Remove the `direct-vectoring` feature * Enables the feature by default * renames the old direct_vectoring enable function `enable_direct` * Make enable_direct safe, move it out of vectored module * enable interrupt preemption by default for riscv * remove pub from cpu intr handlers * add enable_direct for Xtensa too * Fix flip-link feature * Fix up interrupt docs * changelog * fix clippy suggestions * Disable P4 workflow
35 lines
1.1 KiB
TOML
35 lines
1.1 KiB
TOML
[alias]
|
|
esp32 = "run --release --features=esp32 --target=xtensa-esp32-none-elf"
|
|
esp32c2 = "run --release --features=esp32c2 --target=riscv32imc-unknown-none-elf"
|
|
esp32c3 = "run --release --features=esp32c3 --target=riscv32imc-unknown-none-elf"
|
|
esp32c6 = "run --release --features=esp32c6 --target=riscv32imac-unknown-none-elf"
|
|
esp32h2 = "run --release --features=esp32h2 --target=riscv32imac-unknown-none-elf"
|
|
esp32p4 = "run --release --features=esp32p4 --target=riscv32imafc-unknown-none-elf"
|
|
esp32s2 = "run --release --features=esp32s2 --target=xtensa-esp32s2-none-elf"
|
|
esp32s3 = "run --release --features=esp32s3 --target=xtensa-esp32s3-none-elf"
|
|
|
|
[target.'cfg(target_arch = "riscv32")']
|
|
runner = "espflash flash --monitor"
|
|
rustflags = [
|
|
"-C", "link-arg=-Tlinkall.x",
|
|
"-C", "force-frame-pointers",
|
|
]
|
|
|
|
[target.'cfg(target_arch = "xtensa")']
|
|
runner = "espflash flash --monitor"
|
|
rustflags = [
|
|
# GNU LD
|
|
"-C", "link-arg=-Wl,-Tlinkall.x",
|
|
"-C", "link-arg=-nostartfiles",
|
|
|
|
# LLD
|
|
# "-C", "link-arg=-Tlinkall.x",
|
|
# "-C", "linker=rust-lld",
|
|
]
|
|
|
|
[env]
|
|
ESP_LOGLEVEL = "info"
|
|
|
|
[unstable]
|
|
build-std = ["alloc", "core"]
|