#ifdef STM32L151xC #include "stm32l1xx.h" #include "stm32l1xx_hal.h" #elif defined STM32F103xB #else #error No port for this controller #endif