Just pushed a patch doing just this for STM32F4 and F1.