config.toml (772B)
1 [alias] 2 esp32c3 = "run --no-default-features --features=esp32c3 --target=riscv32imc-unknown-none-elf" 3 esp32s3 = "run --no-default-features --features=esp32s3 --target=xtensa-esp32s3-none-elf" 4 esp32 = "run --no-default-features --features=esp32 --target=xtensa-esp32-none-elf" 5 6 [target.'cfg(target_arch = "riscv32")'] 7 runner = "espflash flash --monitor --partition-table ./partitions.csv --erase-parts otadata" 8 rustflags = [ 9 "-C", "force-frame-pointers", 10 ] 11 12 [target.'cfg(target_arch = "xtensa")'] 13 runner = "espflash flash --monitor --partition-table ./partitions.csv --erase-parts otadata" 14 rustflags = [ 15 "-C", "link-arg=-nostartfiles", 16 ] 17 18 [build] 19 target = "xtensa-esp32s3-none-elf" #default esp32s3 20 21 [env] 22 ESP_LOG="INFO" 23 24 [unstable] 25 build-std = ["core", "alloc"]