MCU Setting not inherited by subfolder
If you set different compile options than a top-level options to a subfolder, MCU Settings are not used to compile the subfolder.
All the source codes need to be compiled with -mfloat-abi=hard for my board.
I want to compile 3rd party sources like DSP, Drivers and Middlewares with less warning options. So I set different compile options to those folders. The problem is that -mflost-abi=soft is used automatically to compile those folders.
I think the cause of the problem is
- MCU Settings are not used to compile subfolders with different compile options
- When -mfloat-abi is not specified(there’s no way to specify that!), -mfloat-abi=soft is used automatically
workaround
Modify plugin.xml as follows,
isDefault=”true” -> change to “false”
command=”-mfloat-abi=soft”
isDefault=”false” -> change to “true”
command=”-mfloat-abi=hard”
and restart eclipse with -clean.