Page 1 of 1

Missing defintion in STM32F4 hal_lld.c  Topic is solved

Posted: Fri Apr 21, 2017 7:33 am
by neums
Hi,
in the hal_lld.c of th STM32F4 the definition STM32_PLLSAIR_POST is used in the function void stm32_clock_init(void) but it is not defined at all. Is this a bug?

Thanks

Re: Missing defintion in STM32F4 hal_lld.c

Posted: Fri Apr 21, 2017 7:34 am
by neums
It is also not defined in the reference manual.

Re: Missing defintion in STM32F4 hal_lld.c

Posted: Fri Apr 21, 2017 7:58 am
by RoccoMarco
Hi,
maybe it is defined in CM-SIS headers. Note that certain parts depends on specific MCUs

Re: Missing defintion in STM32F4 hal_lld.c

Posted: Fri Apr 21, 2017 8:46 am
by neums
STM32_PLLSAIR_POST is not defined in any cmsis header file.

Re: Missing defintion in STM32F4 hal_lld.c

Posted: Sat Apr 22, 2017 2:20 pm
by RoccoMarco
clock init for STM32F4 has been already edited on trunk and this line has been completely removed. Since the whole edit impacts on certain features it has not been backported to 16.1.x and will be released with 17.x.

The question is: this line causes some compile error or unwanted behaviour on 16.1.x? If the answer is yes how can I reproduce that condition?

Re: Missing defintion in STM32F4 hal_lld.c

Posted: Tue Apr 25, 2017 9:11 am
by Giovanni
Fixed as bug #834.

Giovanni