Page 1 of 1

STM32F107 demo build fails - bug ID: 3294998

Posted: Tue May 24, 2011 5:23 pm
by Jacon
Hello Giovanni,

Sorry to say that, but this bug is not rectified, as you confirmed in bug tracker,
especially in last stable version 2.2.4. :o

Missing "STM32_PLLXTPRE" parameter, as mentioned by Mathias there, was a result,
not a reason for this bug!

The real reason is excessive "defined(STM32F10X_CL)" parameter
in 89'th line of "hal/platforms/STM32/hal_lld.c" file.

Due this, clock configuration for CL line is processed as for all other STM32 lines,
which is definitely wrong.
Removing it clears everything up :D

Regards
Jacek

Re: STM32F107 demo build fails - bug ID: 3294998

Posted: Tue May 24, 2011 6:06 pm
by Giovanni
Hi Jacek,

Thanks for reporting this, apparently I fixed it in the unstable version and failed to backport the change into the stable version. I will reopen the ticket, it will be fixed in 2.2.5.

In the meanwhile users of the stable version may change lines 86-89 as follow:

Code: Select all

#if defined(STM32F10X_LD) || defined(STM32F10X_LD_VL) ||                    \
    defined(STM32F10X_MD) || defined(STM32F10X_MD_VL) ||                    \
    defined(STM32F10X_HD) || defined(STM32F10X_XL) ||                       \
    defined(__DOXYGEN__)


Giovanni