compiler adjustments for c6
This commit is contained in:
parent
a44aa86732
commit
82bc9ed66d
@ -27,3 +27,4 @@ MCU="esp32c6"
|
|||||||
ESP_IDF_VERSION = "v5.1.1"
|
ESP_IDF_VERSION = "v5.1.1"
|
||||||
CHRONO_TZ_TIMEZONE_FILTER="UTC|Europe/Berlin"
|
CHRONO_TZ_TIMEZONE_FILTER="UTC|Europe/Berlin"
|
||||||
CARGO_WORKSPACE_DIR = { value = "", relative = true }
|
CARGO_WORKSPACE_DIR = { value = "", relative = true }
|
||||||
|
RUST_BACKTRACE = "full"
|
@ -6,26 +6,18 @@ edition = "2021"
|
|||||||
resolver = "2"
|
resolver = "2"
|
||||||
rust-version = "1.71"
|
rust-version = "1.71"
|
||||||
|
|
||||||
[profile.release]
|
|
||||||
# Explicitly disable LTO which the Xtensa codegen backend has issues
|
|
||||||
#lto = "thin"
|
|
||||||
opt-level = "s"
|
|
||||||
strip = false
|
|
||||||
#codegen-units = 1
|
|
||||||
debug = true
|
|
||||||
overflow-checks = true
|
|
||||||
panic = "unwind"
|
|
||||||
incremental = true
|
|
||||||
|
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
# Explicitly disable LTO which the Xtensa codegen backend has issues
|
# Explicitly disable LTO which the Xtensa codegen backend has issues
|
||||||
#lto = "thin"
|
lto = true
|
||||||
opt-level = "s"
|
|
||||||
strip = false
|
strip = false
|
||||||
#codegen-units = 1
|
debug = false
|
||||||
debug = true
|
|
||||||
overflow-checks = true
|
overflow-checks = true
|
||||||
panic = "unwind"
|
panic = "abort"
|
||||||
|
incremental = true
|
||||||
|
opt-level = "s"
|
||||||
|
|
||||||
|
[profile.dev.build-override]
|
||||||
|
opt-level = 1
|
||||||
incremental = true
|
incremental = true
|
||||||
|
|
||||||
[package.metadata.cargo_runner]
|
[package.metadata.cargo_runner]
|
||||||
@ -35,7 +27,7 @@ command = [
|
|||||||
"espflash",
|
"espflash",
|
||||||
"save-image",
|
"save-image",
|
||||||
"--chip",
|
"--chip",
|
||||||
"esp32",
|
"esp32c6",
|
||||||
"image.bin"
|
"image.bin"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user