STM32F030x4 bugs

Report here problems in any of ChibiOS components. This forum is NOT for support.
Posts: 89
Joined: Wed Aug 17, 2016 3:25 pm
Has thanked: 6 times
Been thanked: 6 times

STM32F030x4 bugs

Postby omcdr » 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

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

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest