From 6d71a635992bb8a5ffddc679c4f949e366c9f62d Mon Sep 17 00:00:00 2001 From: ivmarkov Date: Wed, 18 Oct 2023 19:01:26 +0000 Subject: [PATCH] Add MCU to the cargo config --- cargo/.cargo/config.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/cargo/.cargo/config.toml b/cargo/.cargo/config.toml index e0f3b1f..1197949 100644 --- a/cargo/.cargo/config.toml +++ b/cargo/.cargo/config.toml @@ -22,6 +22,7 @@ build-std = ["core", "alloc", "panic_abort"] [env] # Note: these variables are not used when using pio builder (`cargo build --features pio`) +MCU={{ mcu }} {%- if espidfver == "v4.4" %} ESP_IDF_VERSION = "v4.4.6" {% elsif espidfver == "v5.1" %}