STM32F030x4 bugs
Posted: Wed May 09, 2018 7:03 am
I'm trying to use NIL and HAL with STM32F030x4 in 18.2.1 but I got a lot of errors.
I have set #define STM32F030x4 in my board.h and I have found bugs:
- in hal_lld.h missing #if defined(STM32F030x4) got
- in STM32F0xx/stm32_registry.h
STM32F030x4 do not have GPIOC and GPIOD ports
- in LDD/TIMv1/stm32_tim.h
STM32F030x4 do not have TIM2
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 TRUESTM32F030x4 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