Reset the examples to the original F4 flavor.
This commit is contained in:
parent
b07325b476
commit
a63847944f
@ -3,8 +3,7 @@ build-std = ["core"]
|
||||
|
||||
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
|
||||
# replace STM32F429ZITx with your chip as listed in `probe-run --list-chips`
|
||||
#runner = "probe-run --chip STM32F429ZITx"
|
||||
runner = "probe-run --chip STM32F401RE"
|
||||
runner = "probe-run --chip STM32F429ZITx"
|
||||
|
||||
rustflags = [
|
||||
# LLD (shipped with the Rust toolchain) is used as the default linker
|
||||
|
@ -28,8 +28,8 @@ async fn main_task() {
|
||||
let mut spi = Spi::new(
|
||||
p.SPI1,
|
||||
p.PB3,
|
||||
p.PA7,
|
||||
p.PA6,
|
||||
p.PB5,
|
||||
p.PB4,
|
||||
p.DMA2_CH3,
|
||||
p.DMA2_CH2,
|
||||
Hertz(1_000_000),
|
||||
|
Loading…
Reference in New Issue
Block a user