Compiling 32F2, basic example?

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

Moderator: RoccoMarco

Post Reply
vandyswa
Posts: 4
Joined: Wed Jul 24, 2013 2:15 am

Compiling 32F2, basic example?

Post by vandyswa »

I'm trying to compile for my MN2 Smartwatch, a 32F2 device. I have the port.mk version for the 32F2
selected, and I'm using the 32F4 platform.mk since there isn't a 32F2 one and I understood that the 32F2
is supported as a variant of the 32F4. But the compile fails in hal.c complaining about a wrong mcuconf.h
file. Is there a skeletal build example for a 32F2 device under ChibiOS?

Thanks,
Andy
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Compiling 32F2, basic example?

Post by Giovanni »

Hi,

The various mcuconf.h are different from each other and among different versions of ChibiOS. Make sure to start from an F4 demo and just change the board files for your board.

Giovanni
Post Reply