mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-27 04:10:28 +00:00
30 lines
575 B
TOML
30 lines
575 B
TOML
[target.'cfg(target_arch = "riscv32")']
|
|
runner = "espflash flash --monitor"
|
|
rustflags = [
|
|
"-C", "link-arg=-Tlinkall.x",
|
|
"-C", "force-frame-pointers",
|
|
]
|
|
|
|
[target.'cfg(target_arch = "xtensa")']
|
|
runner = "espflash flash --monitor"
|
|
rustflags = [
|
|
# GNU LD
|
|
"-C", "link-arg=-Wl,-Tlinkall.x",
|
|
"-C", "link-arg=-nostartfiles",
|
|
|
|
# LLD
|
|
# "-C", "link-arg=-Tlinkall.x",
|
|
# "-C", "linker=rust-lld",
|
|
]
|
|
|
|
[env]
|
|
ESP_LOG = "info"
|
|
SSID = "SSID"
|
|
PASSWORD = "PASSWORD"
|
|
STATIC_IP = "1.1.1.1 "
|
|
GATEWAY_IP = "1.1.1.1"
|
|
HOST_IP = "1.1.1.1"
|
|
|
|
[unstable]
|
|
build-std = ["alloc", "core"]
|