Add hwconfig for STM32.