fixed mcu type per project
The mcu type and board is greyed and not editable after project generation.
http://s3.postimg.org/jwdmiy903/SW4_STM32_mcu_select.png
from my undertanting the board is just linked to some symbol (that can be changed by hand )
Cpu type inderectly set compile flags ie
“-mcpu=cortex-m0plus” or -“-mcpu=cortex-m4 ”
ok It make sense that inital value match the initial generated code and selection .
I can undertand beginer user should not play with that but advanced user need this.
As is it is impossible to copy export and reuse project to different mcu type
It is also impossile to have project with multiple configuration targerting different mcu.
Ok ther’s quite a lot of extra dependencies on cpu/mcu type to take care about but it’s manageable (include path and hal src set per configuration and build variable)
I’ll apreciate that mcu could be set in c/c++ compiler tab or MCU Settings tabs (at least what passed to compiler type I don’t care much if board is greyed as that can be changed in c/c++ path & symbol)
Rigth now i had to edit .cproject and change it that by hand
or value=”STM32F401RETx”