I have set #define STM32F030x4 in my board.h and I have found bugs:
- in hal_lld.h missing #if defined(STM32F030x4) got
Code: Select all
#error "STM32F0xx device unsupported or not specified"
- in STM32F0xx/stm32_registry.h
Code: Select all
#if defined(STM32F030x4) || defined(STM32F030x6)
#define STM32_HAS_GPIOC TRUE
#define STM32_HAS_GPIOD TRUE
STM32F030x4 do not have GPIOC and GPIOD ports
- in LDD/TIMv1/stm32_tim.h
Code: Select all
#define STM32_TIM2 ((stm32_tim_t *)TIM2_BASE)
STM32F030x4 do not have TIM2