stm32-rs / stm32f4xx-hal

A Rust embedded-hal HAL for all MCUs in the STM32 F4 family
BSD Zero Clause License
552 stars 210 forks source link

Incorrect peripherals #801

Open Admsher opened 2 weeks ago

Admsher commented 2 weeks ago

I am using a STM32 F4 discovery and using this crate I was trying to use the blinky.rs for the same board but the pin seems to be different form what is given in the example ( for me it is gpioc.p0) , moreover the led only turns high and doesn't blink.

burrbull commented 2 weeks ago

Too few information and many potential reasons to fail. What discovery board are you using? (ideally link to documentation). Does RCC initialization finish correctly?

Admsher commented 4 days ago

The boar I am using is STM32F407VGTx and i am using the direct example. The code does compile so I guess the initialization does happen correctly.