diff --git a/examples/stm32f4/.cargo/config.toml b/examples/stm32f4/.cargo/config.toml index f7173a19..8704a9ba 100644 --- a/examples/stm32f4/.cargo/config.toml +++ b/examples/stm32f4/.cargo/config.toml @@ -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 diff --git a/examples/stm32f4/src/bin/spi_dma.rs b/examples/stm32f4/src/bin/spi_dma.rs index db6b69c8..10a419fd 100644 --- a/examples/stm32f4/src/bin/spi_dma.rs +++ b/examples/stm32f4/src/bin/spi_dma.rs @@ -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),