add support for STM32F1MD