Hi,
I would like to make a template for different type of uC that would use some generic parameters across. I was looking at the configuration and couldnt find a proper way to do it.
What I want is to have configuration for CortexM0 (which would append something to preproc definitions and add user include directories) similar for CortexM3 and M4.
I dont want to see other build settings then Debug and Release.
I was trying to achieve this with following:
<configuration name="CortexM0"> <property name="c_preprocessor_definitions" value="__CM0__" />
<property name="c_user_include_directories" value="$(CPPLibrary)/CortexM0;$(CBZCPPLibrary)" />
<property name="hidden" value="Yes" /> </configuration>
and then in my project configuration to do something like:
that doesnt seem to work. It just creates Debug but does not inherit anything
Other idea was to use something like:
<configuration name="Debug M0" inherited_configurations="CortexM0;Debug" />
<property configuration="Debug" name="hidden" value="Yes" />
Which I would expect to have only Debug M0 in the options, but it also shows Debug as build option... So I have ("Debug", "Debug M0", "Release", "Release M0" which is just clatter in UI.
Any neat way to achieve such functionality ?
Thanks