Conquering the STM32F4 on the discovery board step-by-step. Commit history is tutorialesque, but not clean of course.
 
 
 
 
 
heck e572cd04da init from CUBE c++ project raw 407 no peripherals configured 2 years ago
..
stm32_hal_legacy.h init from CUBE c++ project raw 407 no peripherals configured 2 years ago