[build] target = "xtensa-esp32s3-espidf" [target.'cfg(target_os = "espidf")'] linker = "ldproxy" runner = "espflash flash --monitor" rustflags = ["--cfg", "espidf_time64"] [unstable] build-std = ["std", "panic_abort"] [env] MCU = "esp32s3" # Use the ESP-IDF installation and toolchains that are already on the machine # (eim's install under ~/.espressif) instead of downloading another copy into # ./.embuild. Without this the first build re-downloads several hundred MB of # Xtensa GCC/LLVM. # # `global` means ~/.espressif, which is where eim installs. # # Drop these two lines to let esp-idf-sys clone and fetch the ESP-IDF version it # pins itself (v5.5.5 by default), into ~/.espressif. IDF_PATH = { value = "/Users/peng/.espressif/esp-idf/v5.5.5", force = true } ESP_IDF_TOOLS_INSTALL_DIR = { value = "global", force = true }