Page 1 of 1

STM32F030x4 bugs

Posted: Wed May 09, 2018 7:03 am
by omcdr
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

Re: STM32F030x4 bugs

Posted: Sun May 27, 2018 8:59 am
by Giovanni
Hi,

Fixed as bug #952.

Giovanni