fdd6e08ed6
rp-hal has done this very well already, so we'll just copy their entire impl again. only div.rs needed some massaging because our sio access works a little differently, everything else worked as is.
22 lines
581 B
TOML
22 lines
581 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 = "teleprobe client run --target rpi-pico --elf"
|
|
runner = "teleprobe local run --chip RP2040 --elf"
|
|
|
|
rustflags = [
|
|
# Code-size optimizations.
|
|
"-Z", "trap-unreachable=no",
|
|
"-C", "inline-threshold=5",
|
|
"-C", "no-vectorize-loops",
|
|
]
|
|
|
|
[build]
|
|
target = "thumbv6m-none-eabi"
|
|
|
|
[env]
|
|
DEFMT_LOG = "trace"
|