[build] target = "xtensa-esp32-espidf" [target.xtensa-esp32-espidf] linker = "ldproxy" # runner = "espflash --monitor" # Select this runner for espflash v1.x.x runner = "espflash flash --monitor" # --baud 921600" # Select this runner for espflash v2.x.x rustflags = [ # Extending time_t for ESP IDF 5: https://github.com/esp-rs/rust/issues/110 "--cfg", "espidf_time64", # Added the following 2 entries so lvgl will build without getting string.h file not found "--sysroot", "/home/yannik/.rustup/toolchains/esp/xtensa-esp32s3-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/include", ] [unstable] build-std = ["std", "panic_abort"] [env] MCU = "esp32" # Note: this variable is not used by the pio builder (`cargo build --features pio`) ESP_IDF_VERSION = "v5.1.1" # The directory that has the lvgl config files - lv_conf.h, lv_drv_conf.h DEP_LV_CONFIG_PATH = { relative = true, value = "lvgl-configs" } # Required to make lvgl build correctly otherwise get wrong file type CROSS_COMPILE = "xtensa-esp32-elf" # Directory for custom fonts (written in C) that Lvgl can use LVGL_FONTS_DIR = { relative = true, value = "custom-fonts" } PATH = "/home/yannik/.rustup/toolchains/esp/xtensa-esp-elf/esp-14.2.0_20240906/xtensa-esp-elf/bin:/home/yannik/.local/share/pnpm:/home/yannik/.local/share/zinit/polaris/bin:/home/yannik/.rustup/toolchains/esp/xtensa-esp-elf/esp-14.2.0_20240906/xtensa-esp-elf/bin:/home/yannik/.surrealdb:/home/yannik/.pyenv/shims:/home/yannik/.pyenv/bin:/home/yannik/.cargo/bin:/home/yannik/.local/bin:/home/yannik/bin:/usr/local/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/var/lib/snapd/snap/bin:/home/yannik/development/flutter/bin" LIBCLANG_PATH = "/home/yannik/.rustup/toolchains/esp/xtensa-esp32-elf-clang/esp-15.0.0-20221201/esp-clang/lib"