Skip to content

Commit

Permalink
Add MCU to the cargo config
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Oct 18, 2023
1 parent 21c7a8b commit 6d71a63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cargo/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" %}
Expand Down

0 comments on commit 6d71a63

Please sign in to comment.