STM32F030x4 bugs Topic is solved

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

STM32F030x4 bugs  Topic is solved

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

User avatar
Giovanni
Site Admin
Posts: 11083
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 367 times
Been thanked: 306 times
Contact:

Re: STM32F030x4 bugs

Postby Giovanni » Sun May 27, 2018 8:59 am

Hi,

Fixed as bug #952.

Giovanni


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest