This commit is contained in:
2024-05-05 17:25:44 +02:00
parent 6d538c018d
commit a24a606df6
5 changed files with 1483 additions and 229 deletions

View File

@@ -19,6 +19,8 @@
combine [
minimal.rustc
minimal.cargo
stable.rust-src
stable.rustfmt
targets.riscv32imc-unknown-none-elf.latest.rust-std # ESP32-C3 RISC-V
targets.riscv32imac-unknown-none-elf.latest.rust-std # ESP32-C3 RISC-V \w atomic emulation
];
@@ -39,7 +41,6 @@
];
doCheck = true;
RUSTFLAGS="-C link-arg=-Tlinkall.x -C force-frame-pointers";
# CARGO_UNSTABLE_BUILD_STD = "true";
"CARGO_TARGET_${pkgs.lib.toUpper CARGO_BUILD_TARGET}_LINKER" = "riscv32-none-elf-gcc";
"CARGO_TARGET_${pkgs.lib.toUpper CARGO_BUILD_TARGET}_RUNNER" = "espflash --monitor";