STM32F05X - latest 3.x repository

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
steved
Posts: 834
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 138 times

STM32F05X - latest 3.x repository

Post 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
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: STM32F05X - latest 3.x repository

Post by Giovanni »

Hi,

Thanks, fixed.

Giovanni
M1Sports20
Posts: 20
Joined: Tue May 28, 2013 2:58 pm

Re: STM32F05X - latest 3.x repository

Post by M1Sports20 »

Giovanni,

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

Thanks,
Michael
Post Reply