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
Compiling 32F2, basic example?
Moderator: RoccoMarco
- 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?
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
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