| 1 | [build] |
| 2 | target = "xtensa-esp32s3-espidf" |
| 3 | |
| 4 | [target.'cfg(target_os = "espidf")'] |
| 5 | linker = "ldproxy" |
| 6 | runner = "espflash flash --monitor" |
| 7 | rustflags = [ "--cfg", "espidf_time64"] |
| 8 | |
| 9 | [unstable] |
| 10 | build-std = ["std", "panic_abort"] |
| 11 | |
| 12 | [env] |
| 13 | MCU = "esp32s3" |
| 14 | ESP_IDF_VERSION = "v5.5.3" |
| 15 | ESP_IDF_TOOLS_INSTALL_DIR = "workspace" |
| 16 | # Replaces ~/export-esp.sh — bindgen (esp-idf-sys) needs libclang from the esp toolchain. |
| 17 | # Version-pinned: update the esp-20.1.1_* segment after an `espup update`. |
| 18 | LIBCLANG_PATH = "/home/k/.local/share/rustup/toolchains/esp/xtensa-esp32-elf-clang/esp-20.1.1_20250829/esp-clang/lib" |
| 19 | |
| 20 | # Uncomment this if you have moved the target dir by setting CARGO_TARGET_DIR or similar. |
| 21 | # Required for now due to embuild limitations. |
| 22 | #CARGO_WORKSPACE_DIR = { value = "", relative = true } |