33 lines
899 B
TOML
33 lines
899 B
TOML
[unstable]
|
|
# enabling these breaks the float tests during linking, with intrinsics
|
|
# duplicated between embassy-rp and compilter_builtins
|
|
build-std = ["core"]
|
|
# build-std-features = ["panic_immediate_abort"]
|
|
|
|
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
|
|
runner = "elf2uf2-rs -d"
|
|
# runner = "elf2uf2-rs --deploy --serial --verbose"
|
|
# runner = "teleprobe client run"
|
|
#runner = "teleprobe local run --chip RP2040 --elf"
|
|
|
|
rustflags = [
|
|
# Code-size optimizations.
|
|
#"-Z", "trap-unreachable=no",
|
|
"-C", "inline-threshold=5",
|
|
"-C", "no-vectorize-loops",
|
|
]
|
|
|
|
[profile.release]
|
|
lto = true
|
|
opt-level = "s"
|
|
incremental = false
|
|
codegen-units = 1
|
|
# note: debug = true is okay - debuginfo isn't flashed to the device!
|
|
debug = true
|
|
|
|
[build]
|
|
target = "thumbv6m-none-eabi"
|
|
|
|
[env]
|
|
DEFMT_LOG = "trace,embassy_hal_internal=debug,embassy_net_esp_hosted=debug,cyw43=info,cyw43_pio=info,smoltcp=info"
|