From 7e4cfad53699fabbecb6696508e5addcffc1b095 Mon Sep 17 00:00:00 2001 From: krolyxon Date: Sat, 20 Jun 2026 00:24:34 +0530 Subject: restructure to use rust source tree primarily --- .cargo/config.toml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .cargo/config.toml (limited to '.cargo/config.toml') diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..4b8eb47 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,19 @@ +[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" +ESP_IDF_VERSION = "v5.5.3" +ESP_IDF_TOOLS_INSTALL_DIR = "workspace" + +# Uncomment this if you have moved the target dir by setting CARGO_TARGET_DIR or similar. +# Required for now due to embuild limitations. +#CARGO_WORKSPACE_DIR = { value = "", relative = true } -- cgit v1.2.3