Page 1 of 1

Compiling 32F2, basic example?

Posted: Sat Aug 17, 2013 7:09 pm
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

Re: Compiling 32F2, basic example?

Posted: Sat Aug 17, 2013 7:25 pm
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