ESP
This commit is contained in:
parent
a4884bd189
commit
865599e059
64 changed files with 6448 additions and 1221 deletions
27
esp/.cargo/config.old.toml
Normal file
27
esp/.cargo/config.old.toml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
[build]
|
||||
target = "xtensa-esp32-none-elf"
|
||||
|
||||
[target.'cfg(target_arch = "xtensa")']
|
||||
#runner = "espflash flash --monitor --flash-size 4mb --chip esp32 --partition-table partition.csv --flash-freq 40mhz --flash-mode qio"
|
||||
runner = "espflash flash --monitor --flash-size 4mb --chip esp32"
|
||||
rustflags = [
|
||||
# Optimization
|
||||
"-Z", "location-detail=none",
|
||||
"-C", "link-args=-Wl,--sort-section=alignment",
|
||||
"-C", "inline-threshold=7",
|
||||
|
||||
# GNU LD
|
||||
"-C", "link-arg=-Wl,-Tlinkall.x",
|
||||
"-C", "link-arg=-nostartfiles",
|
||||
|
||||
# LLD
|
||||
# "-C", "link-arg=-Tlinkall.x",
|
||||
# "-C", "linker=rust-lld",
|
||||
]
|
||||
|
||||
[env]
|
||||
ESP_LOGLEVEL = "info"
|
||||
|
||||
[unstable]
|
||||
build-std = ["core", "panic_abort"]
|
||||
#build-std = ["core"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue