-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move environment variable in Export.sh
- Loading branch information
1 parent
bfc3151
commit 6e8cae1
Showing
3 changed files
with
33 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,18 @@ | ||
[build] | ||
#target = "x86_64-unknown-linux-gnu" | ||
target = "xtensa-esp32s3-espidf" | ||
|
||
[target.xtensa-esp32s3-espidf] | ||
linker = "ldproxy" | ||
# runner = "espflash --monitor" # Select this runner for espflash v1.x.x | ||
runner = "espflash flash --monitor" # Select this runner for espflash v2.x.x | ||
rustflags = [ "--cfg", "espidf_time64"] # Extending time_t for ESP IDF 5: https://github.com/esp-rs/rust/issues/110 | ||
|
||
#[unstable] | ||
#build-std = ["std", "panic_abort"] | ||
[target.xtensa-esp32-espidf] | ||
linker = "ldproxy" | ||
# runner = "espflash --monitor" # Select this runner for espflash v1.x.x | ||
runner = "espflash flash --monitor" # Select this runner for espflash v2.x.x | ||
rustflags = [ "--cfg", "espidf_time64"] # Extending time_t for ESP IDF 5: https://github.com/esp-rs/rust/issues/110 | ||
|
||
[unstable] | ||
build-std = ["std", "panic_abort"] | ||
|
||
[env] | ||
MCU="esp32s3" | ||
# Note: this variable is not used by the pio builder (`cargo build --features pio`) | ||
ESP_IDF_VERSION = "v5.1.1" | ||
|
||
|
||
|
||
ESP_IDF_VERSION = "v5.1.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,29 +5,16 @@ authors = ["Alix ANNERAUD <[email protected]>"] | |
edition = "2021" | ||
resolver = "2" | ||
rust-version = "1.71" | ||
build = "Build/Main.rs" | ||
build = "Build/src/Main.rs" | ||
|
||
[profile.release] | ||
opt-level = "s" | ||
opt-level = "s" # Optimize binary size | ||
|
||
[profile.dev] | ||
debug = true # Symbols are nice and they don't increase the size on Flash | ||
opt-level = "z" | ||
|
||
|
||
#[build] | ||
#target = "x86_64-unknown-linux-gnu" | ||
#target = "xtensa-esp32s3-espidf" | ||
debug = true # Symbols are nice and they don't increase the size on Flash. | ||
opt-level = "z" # Optimize binary size and turn off loop vectorization. | ||
|
||
[features] | ||
# default = ["Linux"] | ||
|
||
|
||
Native_file_system = [] | ||
Native = ["Native_file_system"] | ||
|
||
Linux = ["Native"] | ||
|
||
ESP32 = ["Xtensa"] | ||
ESP32_S3 = ["Xtensa"] | ||
|
||
|
@@ -44,7 +31,7 @@ embassy = [ | |
"esp-idf-svc/embassy-time-driver", | ||
] | ||
|
||
[target.xtensa-esp32s3-espidf.dependencies] | ||
[target.'cfg( target_os = "espidf" )'.dependencies] | ||
esp-idf-sys = { version = "0.33.5", features = ["binstart"] } | ||
esp-idf-hal = "0.42.4" | ||
log = { version = "0.4", default-features = false } | ||
|
@@ -53,9 +40,11 @@ embedded-sdmmc = "0.6.0" | |
embedded-hal = "0.2.7" | ||
fatfs = { version = "0.3.6" } | ||
byteorder = "1.5.0" | ||
wamr-sys = { git = "https://github.com/AlixANNERAUD/wamr-sys.git" } | ||
|
||
[build-dependencies] | ||
embuild = { version = "0.31.4", features = ["espidf"] } | ||
|
||
[target.'cfg(target_arch = "x86_64")'.dependencies] | ||
byteorder = "1.5.0" | ||
wamr-sys = { git = "https://github.com/AlixANNERAUD/wamr-sys.git" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters