Reset the examples to the original F4 flavor.

This commit is contained in:
Bob McWhirter 2021-07-21 16:48:42 -04:00
parent b07325b476
commit a63847944f
2 changed files with 3 additions and 4 deletions

View File

@ -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

View File

@ -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),