<tonke[m]> firefrommoonlight: I've noticed the USART module the other day, awesome that it is available now! 🎉 I'm curious, what is the showstopper for the F4? :)
<firefrommoonligh> tonke: F4 uses an older USSART peripheral than the others. This involves changes to many of the register names, and a different flow for interrupts. I've now updated - should work, but interrupts are unimplemented on F4.
<firefrommoonligh> To see what I mean re diff registers: https://github.com/David-OConnor/stm32-hal/blob/main/src/usart.rs
<firefrommoonligh> Notice how there are many f4-specific `#cfg` lines
<firefrommoonligh> * tonke: F4 uses an older USSART peripheral than the others. This involves changes to many of the register names, and a different flow for interrupts. I've now updated - should work, but interrupts are unimplemented. Looks like there are much fewer of them, and they're set up in a different way.
<firefrommoonligh> To see what I mean re diff registers: https://github.com/David-OConnor/stm32-hal/blob/main/src/usart.rs
<firefrommoonligh> Notice how there are many f4-specific `#cfg` lines
<tonke[m]> firefrommoonlight: Oh I see, makes sense. Thanks for pushing the latest commit, now things are really starting to come together (for me as a user of the cheap "black pill") 😊
<firefrommoonligh> Glad to hear it