set flash-size to 16MB.

This commit is contained in:
2024-09-26 09:29:15 +08:00
parent f76112a209
commit d252f1f59c

@@ -3,8 +3,10 @@ target = "xtensa-esp32s3-espidf"
[target.xtensa-esp32s3-espidf]
linker = "ldproxy"
runner = "espflash flash --monitor" # Select this runner for espflash v3.x.x
rustflags = ["--cfg", "espidf_time64"] # Extending time_t for ESP IDF 5: https://github.com/esp-rs/rust/issues/110
# Select this runner for espflash v3.x.x
runner = "espflash flash --monitor --flash-size 16mb"
# Extending time_t for ESP IDF 5: https://github.com/esp-rs/rust/issues/110
rustflags = ["--cfg", "espidf_time64"]
[unstable]
build-std = ["std", "panic_abort"]