Page 1 of 1

STM32F05X - latest 3.x repository

Posted: Sun Nov 16, 2014 6:50 pm
by steved
Have just updated from the repository and tried to compile a project for the 32F051:

a) There's an extra '#endif' on line 552 of \chibios\os\hal\ports\STM32\STM32F0xx\hal_lld.h

b) It should be noted that as a result of the changes, project mcuconf.h files that use 'Discovery' settings for clocks may need changing:

#define STM32_PLLSRC STM32_PLLSRC_HSI

needs to be changed to:
#define STM32_PLLSRC STM32_PLLSRC_HSI_DIV2

Re: STM32F05X - latest 3.x repository

Posted: Sun Nov 16, 2014 7:44 pm
by Giovanni
Hi,

Thanks, fixed.

Giovanni

Re: STM32F05X - latest 3.x repository

Posted: Mon Nov 17, 2014 3:50 pm
by M1Sports20
Giovanni,

Sorry about this extra #endif. I have know clue how it got pass my testing, yet alone compiling.

Thanks,
Michael