mbed-os for GR-LYCHEE

Dependents:   mbed-os-example-blinky-gr-lychee GR-Boads_Camera_sample GR-Boards_Audio_Recoder GR-Boads_Camera_DisplayApp ... more

Committer:
dkato
Date:
Fri Feb 02 05:42:23 2018 +0000
Revision:
0:f782d9c66c49
mbed-os for GR-LYCHEE

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dkato 0:f782d9c66c49 1 <?xml version="1.0" encoding="UTF-8"?>
dkato 0:f782d9c66c49 2 <project xmlns:model="http://www.silabs.com/sls/IDE.ecore" name="{{ name }}" kitCompatibility="{{ kit }}"
dkato 0:f782d9c66c49 3 partCompatibility="{{ part }}"
dkato 0:f782d9c66c49 4 toolchainCompatibility="com.silabs.ide.si32.gcc:4.8.3.20131129"
dkato 0:f782d9c66c49 5 sdkCompatibility="com.silabs.sdk.si32.efm32"
dkato 0:f782d9c66c49 6 propertyScope="project"
dkato 0:f782d9c66c49 7 contentRoot=".">
dkato 0:f782d9c66c49 8 {# Hierarchically include all folders into the project #}
dkato 0:f782d9c66c49 9 {%- for child in recursiveFolders.children recursive %}
dkato 0:f782d9c66c49 10 <folder name="{{ child.name }}" uri="{{ child.name }}" includeAllFiles="true" includeAllFolders="true">
dkato 0:f782d9c66c49 11 {%- if child.children -%}
dkato 0:f782d9c66c49 12 {{ loop(child.children) }}
dkato 0:f782d9c66c49 13 {%- endif %}
dkato 0:f782d9c66c49 14 </folder>
dkato 0:f782d9c66c49 15 {%- endfor %}
dkato 0:f782d9c66c49 16
dkato 0:f782d9c66c49 17 {# Include all source files not belonging to a subfolder separately #}
dkato 0:f782d9c66c49 18 {%- for file in main_files -%}
dkato 0:f782d9c66c49 19 <file name = "{{ file }}" uri = "file:./{{ file }}" partCompatibility = ""/>
dkato 0:f782d9c66c49 20 {%- endfor %}
dkato 0:f782d9c66c49 21 {%- if include_root %}
dkato 0:f782d9c66c49 22 <file name = "mbed_config.h" uri = "file:./mbed_config.h" partCompatibility = ""/>
dkato 0:f782d9c66c49 23 {%- endif %}
dkato 0:f782d9c66c49 24
dkato 0:f782d9c66c49 25 <sourceFolder></sourceFolder>
dkato 0:f782d9c66c49 26 <model:property key="cppProjectCommon.languageId" value="org.eclipse.cdt.core.g++"/>
dkato 0:f782d9c66c49 27 <model:property key="projectCommon.buildArtifactType" value="EXE"/>
dkato 0:f782d9c66c49 28 <configuration name="com.silabs.ide.si32.gcc.debug#com.silabs.ide.si32.gcc:4.8.3.20131129" label="GNU ARM v4.8.3 - Debug" stockConfigCompatibility="com.silabs.ide.toolchain.core.debug">
dkato 0:f782d9c66c49 29 <model:description></model:description>
dkato 0:f782d9c66c49 30 {# Add all include paths to the managed build compiler, paths relative to project #}
dkato 0:f782d9c66c49 31 {%- if include_root %}
dkato 0:f782d9c66c49 32 <includePath languageCompatibility="c cpp" uri="."/>
dkato 0:f782d9c66c49 33 {%- endif %}
dkato 0:f782d9c66c49 34 {%- for path in include_paths %}
dkato 0:f782d9c66c49 35 <includePath languageCompatibility="c cpp" uri="studio:/project/{{ path }}/"/>
dkato 0:f782d9c66c49 36 {%- endfor %}
dkato 0:f782d9c66c49 37 {# Add all mbed-defined #Defines for the preprocessor #}
dkato 0:f782d9c66c49 38 {%- for define, value in defines %}
dkato 0:f782d9c66c49 39 <macroDefinition languageCompatibility="c cpp" name="{{ define }}" value="{{ value }}"/>
dkato 0:f782d9c66c49 40 {%- endfor %}
dkato 0:f782d9c66c49 41 {# Include all standard libraries that mbed requires #}
dkato 0:f782d9c66c49 42 <macroDefinition languageCompatibility="c cpp" name="DEBUG" value="1"/>
dkato 0:f782d9c66c49 43 <libraryFile languageCompatibility="c" name="stdc++"/>
dkato 0:f782d9c66c49 44 <libraryFile languageCompatibility="c" name="supc++"/>
dkato 0:f782d9c66c49 45 <libraryFile languageCompatibility="c" name="m"/>
dkato 0:f782d9c66c49 46 <libraryFile languageCompatibility="c" name="nosys"/>
dkato 0:f782d9c66c49 47 <libraryFile languageCompatibility="c" name="c"/>
dkato 0:f782d9c66c49 48 <libraryFile languageCompatibility="c" name="gcc"/>
dkato 0:f782d9c66c49 49 {# Include exported libraries #}
dkato 0:f782d9c66c49 50 {%- for library in libraries %}
dkato 0:f782d9c66c49 51 <libraryFile languageCompatibility="c cpp" name="{{ library }}"/>
dkato 0:f782d9c66c49 52 {%- endfor %}
dkato 0:f782d9c66c49 53 {# Add library search paths #}
dkato 0:f782d9c66c49 54 {%- for path in library_paths %}
dkato 0:f782d9c66c49 55 <libraryPath languageCompatibility="c cpp" uri="studio:/project/{{ path }}/"/>
dkato 0:f782d9c66c49 56 {%- endfor %}
dkato 0:f782d9c66c49 57 {# Add in separate object files if needed #}
dkato 0:f782d9c66c49 58 {%- if object_files %}
dkato 0:f782d9c66c49 59 <toolOption toolId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.cpp.linker.base" optionId="gnu.cpp.link.option.userobjs" value="
dkato 0:f782d9c66c49 60 {%- for file in object_files -%}
dkato 0:f782d9c66c49 61 ${workspace_loc:/${ProjName}/{{ file }}}{% if not loop.last %} {% endif %}
dkato 0:f782d9c66c49 62 {%- endfor -%}"/>
dkato 0:f782d9c66c49 63 {%- endif %}
dkato 0:f782d9c66c49 64 {# Manually override linker ordering #}
dkato 0:f782d9c66c49 65 {%- if libraries %}
dkato 0:f782d9c66c49 66 <toolOption toolId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.cpp.linker.base" optionId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.cpp.linker.category.ordering.selection" value="
dkato 0:f782d9c66c49 67 {%- if object_files -%}
dkato 0:f782d9c66c49 68 {%- for file in object_files -%}
dkato 0:f782d9c66c49 69 ${workspace_loc:/${ProjName}/{{ file }}};
dkato 0:f782d9c66c49 70 {%- endfor -%}
dkato 0:f782d9c66c49 71 {%- endif -%}
dkato 0:f782d9c66c49 72 {%- for library in libraries -%}
dkato 0:f782d9c66c49 73 ${-l{{ library }}}{% if not loop.last %};{% endif %}
dkato 0:f782d9c66c49 74 {%- endfor -%}"/>
dkato 0:f782d9c66c49 75 {%- endif %}
dkato 0:f782d9c66c49 76 {# Define mbed-specific linker file #}
dkato 0:f782d9c66c49 77 <toolOption toolId="com.silabs.ide.si32.gcc.cdt.managedbuild.toolchain.exe" optionId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.c.linker.usescript" value="true"/>
dkato 0:f782d9c66c49 78 <toolOption toolId="com.silabs.ide.si32.gcc.cdt.managedbuild.toolchain.exe" optionId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.c.linker.script" value="${workspace_loc:/${ProjName}/{{ linker_script }}}"/>
dkato 0:f782d9c66c49 79 {# Make sure to wrap main in order to get clock initialization done right #}
dkato 0:f782d9c66c49 80 <toolOption toolId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.c.linker.base" optionId="gnu.c.link.option.ldflags" value="{{ld_flags|join(" ")}}"/>
dkato 0:f782d9c66c49 81 <toolOption toolId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.cpp.linker.base" optionId="gnu.cpp.link.option.flags" value="{{ld_flags|join(" ")}}"/>
dkato 0:f782d9c66c49 82 {# For debug build, don't apply optimizations #}
dkato 0:f782d9c66c49 83 <toolOption toolId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.c.compiler.base" optionId="gnu.c.compiler.option.optimization.level" value="gnu.c.optimization.level.none"/>
dkato 0:f782d9c66c49 84 <toolOption toolId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.c.compiler.base" optionId="gnu.c.compiler.option.misc.other" value="-c {{common_flags|join(" ")}} {{c_flags|join(" ")}}"/>
dkato 0:f782d9c66c49 85 <toolOption toolId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.cpp.compiler.base" optionId="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none"/>
dkato 0:f782d9c66c49 86 <toolOption toolId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.cpp.compiler.base" optionId="gnu.cpp.compiler.option.other.other" value="-c {{common_flags|join(" ")}} {{cxx_flags|join(" ")}}"/>
dkato 0:f782d9c66c49 87 <toolOption toolId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.cpp.compiler.base" optionId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.cpp.compiler.misc.dialect" value="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.cpp.compiler.misc.dialect.default"/>
dkato 0:f782d9c66c49 88 </configuration>
dkato 0:f782d9c66c49 89 <configuration name="com.silabs.ide.si32.gcc.release#com.silabs.ide.si32.gcc:4.8.3.20131129" label="GNU ARM v4.8.3 - Release" stockConfigCompatibility="com.silabs.ide.toolchain.core.release">
dkato 0:f782d9c66c49 90 <model:description></model:description>
dkato 0:f782d9c66c49 91 {# Add all include paths to the managed build compiler, paths relative to project #}
dkato 0:f782d9c66c49 92 {%- if include_root %}
dkato 0:f782d9c66c49 93 <includePath languageCompatibility="c cpp" uri="."/>
dkato 0:f782d9c66c49 94 {%- endif %}
dkato 0:f782d9c66c49 95 {%- for path in include_paths %}
dkato 0:f782d9c66c49 96 <includePath languageCompatibility="c cpp" uri="studio:/project/{{ path }}/"/>
dkato 0:f782d9c66c49 97 {%- endfor %}
dkato 0:f782d9c66c49 98 {# Add all mbed-defined #Defines for the preprocessor #}
dkato 0:f782d9c66c49 99 {%- for define, value in defines %}
dkato 0:f782d9c66c49 100 <macroDefinition languageCompatibility="c cpp" name="{{ define }}" value="{{ value }}"/>
dkato 0:f782d9c66c49 101 {%- endfor %}
dkato 0:f782d9c66c49 102 {# Include all standard libraries that mbed requires #}
dkato 0:f782d9c66c49 103 <libraryFile languageCompatibility="c" name="stdc++"/>
dkato 0:f782d9c66c49 104 <libraryFile languageCompatibility="c" name="supc++"/>
dkato 0:f782d9c66c49 105 <libraryFile languageCompatibility="c" name="m"/>
dkato 0:f782d9c66c49 106 <libraryFile languageCompatibility="c" name="nosys"/>
dkato 0:f782d9c66c49 107 <libraryFile languageCompatibility="c" name="c"/>
dkato 0:f782d9c66c49 108 <libraryFile languageCompatibility="c" name="gcc"/>
dkato 0:f782d9c66c49 109 {# Include exported libraries #}
dkato 0:f782d9c66c49 110 {%- for library in libraries %}
dkato 0:f782d9c66c49 111 <libraryFile languageCompatibility="c cpp" name="{{ library }}"/>
dkato 0:f782d9c66c49 112 {%- endfor %}
dkato 0:f782d9c66c49 113 {# Add library search paths #}
dkato 0:f782d9c66c49 114 {%- for path in library_paths %}
dkato 0:f782d9c66c49 115 <libraryPath languageCompatibility="c cpp" uri="studio:/project/{{ path }}/"/>
dkato 0:f782d9c66c49 116 {%- endfor %}
dkato 0:f782d9c66c49 117 {# Add in separate object files if needed #}
dkato 0:f782d9c66c49 118 {%- if object_files %}
dkato 0:f782d9c66c49 119 <toolOption toolId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.cpp.linker.base" optionId="gnu.cpp.link.option.userobjs" value="
dkato 0:f782d9c66c49 120 {%- for file in object_files -%}
dkato 0:f782d9c66c49 121 ${workspace_loc:/${ProjName}/{{ file }}}{% if not loop.last %} {% endif %}
dkato 0:f782d9c66c49 122 {%- endfor -%}"/>
dkato 0:f782d9c66c49 123 {%- endif %}
dkato 0:f782d9c66c49 124 {# Manually override linker ordering #}
dkato 0:f782d9c66c49 125 {%- if libraries %}
dkato 0:f782d9c66c49 126 <toolOption toolId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.cpp.linker.base" optionId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.cpp.linker.category.ordering.selection" value="
dkato 0:f782d9c66c49 127 {%- if object_files -%}
dkato 0:f782d9c66c49 128 {%- for file in object_files -%}
dkato 0:f782d9c66c49 129 ${workspace_loc:/${ProjName}/{{ file }}};
dkato 0:f782d9c66c49 130 {%- endfor -%}
dkato 0:f782d9c66c49 131 {%- endif -%}
dkato 0:f782d9c66c49 132 {%- for library in libraries -%}{% if not loop.last %};{% endif %}
dkato 0:f782d9c66c49 133 ${-l{{ library }}}
dkato 0:f782d9c66c49 134 {%- endfor -%}"/>
dkato 0:f782d9c66c49 135 {%- endif %}
dkato 0:f782d9c66c49 136 {# Define mbed-specific linker file #}
dkato 0:f782d9c66c49 137 <toolOption toolId="com.silabs.ide.si32.gcc.cdt.managedbuild.toolchain.exe" optionId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.c.linker.usescript" value="true"/>
dkato 0:f782d9c66c49 138 <toolOption toolId="com.silabs.ide.si32.gcc.cdt.managedbuild.toolchain.exe" optionId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.c.linker.script" value="${workspace_loc:/${ProjName}/{{ linker_script }}}"/>
dkato 0:f782d9c66c49 139 {# Make sure to wrap main in order to get clock initialization done right #}
dkato 0:f782d9c66c49 140 <toolOption toolId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.c.linker.base" optionId="gnu.c.link.option.ldflags" value="{{ld_flags|join(" ")}}"/>
dkato 0:f782d9c66c49 141 <toolOption toolId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.cpp.linker.base" optionId="gnu.cpp.link.option.flags" value="{{ld_flags|join(" ")}}"/>
dkato 0:f782d9c66c49 142 {# Use optimize for size on release build #}
dkato 0:f782d9c66c49 143 <toolOption toolId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.c.compiler.base" optionId="gnu.c.compiler.option.optimization.level" value="gnu.c.optimization.level.size"/>
dkato 0:f782d9c66c49 144 <toolOption toolId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.c.compiler.base" optionId="gnu.c.compiler.option.misc.other" value="-c {{common_flags|join(" ")}} {{c_flags|join(" ")}}"/>
dkato 0:f782d9c66c49 145 <toolOption toolId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.cpp.compiler.base" optionId="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.size"/>
dkato 0:f782d9c66c49 146 <toolOption toolId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.cpp.compiler.base" optionId="gnu.cpp.compiler.option.other.other" value="-c {{common_flags|join(" ")}} {{cxx_flags|join(" ")}}"/>
dkato 0:f782d9c66c49 147 <toolOption toolId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.cpp.compiler.base" optionId="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.cpp.compiler.misc.dialect" value="com.silabs.ide.si32.gcc.cdt.managedbuild.tool.gnu.cpp.compiler.misc.dialect.default"/>
dkato 0:f782d9c66c49 148 </configuration>
dkato 0:f782d9c66c49 149 </project>