[build]
target = "thumbv7em-none-eabihf"   # STM32H750 = Cortex-M7F (hardware FPU → pm-synth's f32 runs native)

[target.thumbv7em-none-eabihf]
# `cargo run` flashes over a debug probe (probe-rs) and streams defmt logs/panics via RTT.
# The Daisy's STM32H750 presents to probe-rs as STM32H750VBTx.
runner = "probe-rs run --chip STM32H750VBTx"
rustflags = [
  "-C", "link-arg=-Tlink.x",
  "-C", "link-arg=-Tdefmt.x",   # defmt's linker section for log-string interning (not flash-resident)
]

[env]
DEFMT_LOG = "debug"
