More code

This commit is contained in:
2023-09-23 21:37:11 +02:00
parent 7403b5e53f
commit 45ce330daf
5 changed files with 332 additions and 11 deletions

View File

@@ -4,6 +4,15 @@ target = "xtensa-esp32-espidf"
[target.xtensa-esp32-espidf]
linker = "ldproxy"
[profile.release]
# symbols are nice and they don't increase the size on Flash
debug = true
opt-level = "z"
[profile.dev]
opt-level = "s"
[unstable]
build-std = ["std", "panic_abort"]
build-std-features = ["panic_immediate_abort"]
@@ -13,3 +22,7 @@ extra-link-arg = true # No longer necessary since 1.56, as it was stabilized:
[env]
ESP_IDF_SYS_GLOB_BASE = { value = ".", relative = true }
ESP_IDF_SYS_GLOB_0 = { value = "/sdkconfig.release" }
ESP_IDF_SYS_GLOB_1 = { value = "/sdkconfig.debug" }
ESP_IDF_SYS_GLOB_2 = { value = "/sdkconfig.defaults" }