Many more changes for STM32F4. core-common-lib actually builds now. Still more things probably need to be fixed.