Question
Incorrect definitions in older stm32f4xx.h
Posted on May 12, 2015 at 20:25
If you carry over a stm32f4xx.h (together with a bunch of other system headers) from older projects as I do, and want to reset SPI2 or SPI3 in software, and it won't work, then fix the RCC_APB1RSTR_SPI2RST and RCC_APB1RSTR_SPI3RST definitions.
This had been fixed in stm32f4xx.h somewhen between v1.0.2 and v1.1.0, and there is no mention of it in the Release notes (yes, I do read release notes exactly in order to find out such relevant changes; no I don't have time nor energy to diff to each new version; no, I don't and won't copy over new versions blindly). ST, PLEASE do care about documenting ALL such changes. In exchange, I do regularly update the document; feel free to use it. Thanks JW