Backup 1

Committer:
borlanic
Date:
Tue Apr 24 11:45:18 2018 +0000
Revision:
0:02dd72d1d465
BaBoRo_test2 - backup 1

Who changed what in which revision?

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