Marco Zecchini
/
Example_RTOS
Rtos API example
mbed-os/tools/export/mcuxpresso/.cproject.tmpl@0:9fca2b23d0ba, 2019-02-23 (annotated)
- Committer:
- marcozecchini
- Date:
- Sat Feb 23 12:13:36 2019 +0000
- Revision:
- 0:9fca2b23d0ba
final commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
marcozecchini | 0:9fca2b23d0ba | 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
marcozecchini | 0:9fca2b23d0ba | 2 | <?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage"> |
marcozecchini | 0:9fca2b23d0ba | 3 | <storageModule moduleId="org.eclipse.cdt.core.settings"> |
marcozecchini | 0:9fca2b23d0ba | 4 | {% for cfg_key in options %} |
marcozecchini | 0:9fca2b23d0ba | 5 | {% set opts = options[cfg_key] %} |
marcozecchini | 0:9fca2b23d0ba | 6 | <cconfiguration id="com.crt.advproject.config.exe.{{opts['id']}}.{{opts['uid']['config']}}"> |
marcozecchini | 0:9fca2b23d0ba | 7 | <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.crt.advproject.config.exe.{{opts['id']}}.{{opts['uid']['config']}}" moduleId="org.eclipse.cdt.core.settings" name="{{opts['name']}}"> |
marcozecchini | 0:9fca2b23d0ba | 8 | <externalSettings/> |
marcozecchini | 0:9fca2b23d0ba | 9 | <extensions> |
marcozecchini | 0:9fca2b23d0ba | 10 | <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/> |
marcozecchini | 0:9fca2b23d0ba | 11 | <extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"/> |
marcozecchini | 0:9fca2b23d0ba | 12 | <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
marcozecchini | 0:9fca2b23d0ba | 13 | <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
marcozecchini | 0:9fca2b23d0ba | 14 | <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
marcozecchini | 0:9fca2b23d0ba | 15 | <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/> |
marcozecchini | 0:9fca2b23d0ba | 16 | <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
marcozecchini | 0:9fca2b23d0ba | 17 | </extensions> |
marcozecchini | 0:9fca2b23d0ba | 18 | </storageModule> |
marcozecchini | 0:9fca2b23d0ba | 19 | <storageModule moduleId="cdtBuildSystem" version="4.0.0"> |
marcozecchini | 0:9fca2b23d0ba | 20 | <configuration artifactExtension="axf" artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="{{opts['name']}} build" errorParsers="org.eclipse.cdt.core.CWDLocator;org.eclipse.cdt.core.GmakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser" id="com.crt.advproject.config.exe.{{opts['id']}}.{{opts['uid']['config']}}" name="{{opts['name']}}" parent="com.crt.advproject.config.exe.{{opts['id']}}" postannouncebuildStep="Performing post-build steps" postbuildStep="arm-none-eabi-size "${BuildArtifactFileName}" ; arm-none-eabi-objcopy -v -O binary "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" ; checksum -p ${TargetChip} -d "${BuildArtifactFileBaseName}.bin""> |
marcozecchini | 0:9fca2b23d0ba | 21 | <folderInfo id="com.crt.advproject.config.exe.{{opts['id']}}.{{opts['uid']['config']}}" name="/" resourcePath=""> |
marcozecchini | 0:9fca2b23d0ba | 22 | <toolChain id="com.crt.advproject.toolchain.exe.{{opts['id']}}.{{u.id}}" name="NXP MCU Tools" superClass="com.crt.advproject.toolchain.exe.{{opts['parent_id']}}"> |
marcozecchini | 0:9fca2b23d0ba | 23 | <targetPlatform binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.GNU_ELF" id="com.crt.advproject.platform.exe.{{opts['id']}}.{{u.id}}" name="ARM-based MCU ({{opts['name']}})" superClass="com.crt.advproject.platform.exe.{{opts['id']}}"/> |
marcozecchini | 0:9fca2b23d0ba | 24 | <builder buildPath="${workspace_loc:/{{name}}}/{{opts['name']}}" cleanBuildTarget="mbedclean" id="com.crt.advproject.builder.exe.{{opts['id']}}.{{u.id}}" incrementalBuildTarget="{{opts['ld']['script']}} all" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.crt.advproject.builder.exe.{{opts['id']}}"/> |
marcozecchini | 0:9fca2b23d0ba | 25 | |
marcozecchini | 0:9fca2b23d0ba | 26 | <tool id="com.crt.advproject.cpp.exe.{{opts['id']}}.{{opts['uid']['tool_cpp_compiler']}}" name="MCU C++ Compiler" superClass="com.crt.advproject.cpp.exe.{{opts['id']}}"> |
marcozecchini | 0:9fca2b23d0ba | 27 | <option id="com.crt.advproject.cpp.specs.{{u.id}}" name="Specs" superClass="com.crt.advproject.cpp.specs" value="com.crt.advproject.cpp.specs.newlibnano" valueType="enumerated"/> |
marcozecchini | 0:9fca2b23d0ba | 28 | <option id="com.crt.advproject.cpp.arch.{{u.id}}" name="Architecture" superClass="com.crt.advproject.cpp.arch" value="com.crt.advproject.cpp.target.{{opts['common']['arm.target.family_nxp']}}" valueType="enumerated"/> |
marcozecchini | 0:9fca2b23d0ba | 29 | {% if opts['common']['optimization.level'] != '' %} |
marcozecchini | 0:9fca2b23d0ba | 30 | <option id="com.crt.advproject.cpp.exe.{{opts['id']}}.option.optimization.level.{{u.id}}" name="Optimization Level" superClass="com.crt.advproject.cpp.exe.{{opts['id']}}.option.optimization.level" useByScannerDiscovery="false" value="gnu.cpp.compiler.optimization.level.{{opts['common']['optimization.level']}}" valueType="enumerated"/> |
marcozecchini | 0:9fca2b23d0ba | 31 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 32 | <option id="gnu.cpp.compiler.option.optimization.flags.{{u.id}}" superClass="gnu.cpp.compiler.option.optimization.flags" useByScannerDiscovery="false" value="{{opts['cpp']['otheroptimizations']}} {{opts['common']['optimization.other']}}" valueType="string"/> |
marcozecchini | 0:9fca2b23d0ba | 33 | {% if opts['cpp']['compiler.std'] %} |
marcozecchini | 0:9fca2b23d0ba | 34 | <option id="com.crt.advproject.cpp.misc.dialect.{{u.id}}" name="Language standard" superClass="com.crt.advproject.cpp.misc.dialect" useByScannerDiscovery="true" value="com.crt.advproject.misc.dialect.{{opts['cpp']['compiler.std']}}" valueType="enumerated"/> |
marcozecchini | 0:9fca2b23d0ba | 35 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 36 | |
marcozecchini | 0:9fca2b23d0ba | 37 | <option id="gnu.cpp.compiler.option.preprocessor.def.{{u.id}}" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols"> |
marcozecchini | 0:9fca2b23d0ba | 38 | {% for s in opts['cpp']['defines'] %} |
marcozecchini | 0:9fca2b23d0ba | 39 | <listOptionValue builtIn="false" value="{{s|replace("\"", "\\\"")|escape}}"/> |
marcozecchini | 0:9fca2b23d0ba | 40 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 41 | </option> |
marcozecchini | 0:9fca2b23d0ba | 42 | <option id="gnu.cpp.compiler.option.include.paths.{{u.id}}" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath"> |
marcozecchini | 0:9fca2b23d0ba | 43 | {% for path in opts['common']['include_paths'] %} |
marcozecchini | 0:9fca2b23d0ba | 44 | <listOptionValue builtIn="false" value=""${ProjDirPath}/{{path}}""/> |
marcozecchini | 0:9fca2b23d0ba | 45 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 46 | </option> |
marcozecchini | 0:9fca2b23d0ba | 47 | <option id="gnu.cpp.compiler.option.include.files.{{u.id}}" name="Include files (-include)" superClass="gnu.cpp.compiler.option.include.files" valueType="includeFiles"> |
marcozecchini | 0:9fca2b23d0ba | 48 | {% for file in opts['common']['include_files'] %} |
marcozecchini | 0:9fca2b23d0ba | 49 | <listOptionValue builtIn="false" value=""${ProjDirPath}/{{file}}""/> |
marcozecchini | 0:9fca2b23d0ba | 50 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 51 | </option> |
marcozecchini | 0:9fca2b23d0ba | 52 | |
marcozecchini | 0:9fca2b23d0ba | 53 | {% if opts['common']['warnings.syntaxonly'] %} |
marcozecchini | 0:9fca2b23d0ba | 54 | <option id="gnu.cpp.compiler.option.warnings.syntax.{{u.id}}" superClass="gnu.cpp.compiler.option.warnings.syntax" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 55 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 56 | {% if opts['common']['warnings.pedantic'] %} |
marcozecchini | 0:9fca2b23d0ba | 57 | <option id="gnu.cpp.compiler.option.warnings.pedantic.{{u.id}}" superClass="gnu.cpp.compiler.option.warnings.pedantic" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 58 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 59 | {% if opts['common']['warnings.pedanticerrors'] %} |
marcozecchini | 0:9fca2b23d0ba | 60 | <option id="gnu.cpp.compiler.option.warnings.pedantic.error.{{u.id}}" superClass="gnu.cpp.compiler.option.warnings.pedantic.error" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 61 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 62 | {% if opts['common']['warnings.nowarn'] %} |
marcozecchini | 0:9fca2b23d0ba | 63 | <option id="gnu.cpp.compiler.option.warnings.nowarn.{{u.id}}" superClass="gnu.cpp.compiler.option.warnings.nowarn" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 64 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 65 | {% if opts['common']['warnings.allwarn'] %} |
marcozecchini | 0:9fca2b23d0ba | 66 | <option id="gnu.cpp.compiler.option.warnings.allwarn.{{u.id}}" name="Enable all common warnings (-Wall)" superClass="gnu.cpp.compiler.option.warnings.allwarn" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 67 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 68 | {% if opts['common']['warnings.extrawarn'] %} |
marcozecchini | 0:9fca2b23d0ba | 69 | <option id="gnu.cpp.compiler.option.warnings.extrawarn.{{u.id}}" name="Enable extra warnings (-Wextra)" superClass="gnu.cpp.compiler.option.warnings.extrawarn" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 70 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 71 | {% if opts['common']['warnings.toerrors'] %} |
marcozecchini | 0:9fca2b23d0ba | 72 | <option id="gnu.cpp.compiler.option.warnings.toerrors.{{u.id}}" superClass="gnu.cpp.compiler.option.warnings.toerrors" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 73 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 74 | {% if opts['common']['warnings.conversion'] %} |
marcozecchini | 0:9fca2b23d0ba | 75 | <option id="gnu.cpp.compiler.option.warnings.wconversion.{{u.id}}" name="Warn on implicit conversions (-Wconversion)" superClass="gnu.cpp.compiler.option.warnings.wconversion" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 76 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 77 | |
marcozecchini | 0:9fca2b23d0ba | 78 | {% if opts['common']['optimization.lto'] %} |
marcozecchini | 0:9fca2b23d0ba | 79 | <option id="com.crt.advproject.cpp.lto.{{u.id}}" name="Enable Link-time optimization (-flto)" superClass="com.crt.advproject.cpp.lto" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 80 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 81 | {% if opts['common']['optimization.lto_objects'] %} |
marcozecchini | 0:9fca2b23d0ba | 82 | <option id="com.crt.advproject.cpp.lto.fat.{{u.id}}" name="Fat lto objects (-ffat-lto-objects)" superClass="com.crt.advproject.cpp.lto.fat" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 83 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 84 | |
marcozecchini | 0:9fca2b23d0ba | 85 | {% if opts['cpp']['verbose'] %} |
marcozecchini | 0:9fca2b23d0ba | 86 | <option id="gnu.cpp.compiler.option.other.verbose.{{u.id}}" name="Verbose (-v)" superClass="gnu.cpp.compiler.option.other.verbose" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 87 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 88 | {% if opts['common']['arm.target.fpu.unit_nxp'] %} |
marcozecchini | 0:9fca2b23d0ba | 89 | <option id="com.crt.advproject.cpp.fpu.{{u.id}}" name="Floating point" superClass="com.crt.advproject.cpp.fpu" useByScannerDiscovery="false" value="com.crt.advproject.cpp.fpu.{{opts['common']['arm.target.fpu.unit_nxp']}}" valueType="enumerated"/> |
marcozecchini | 0:9fca2b23d0ba | 90 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 91 | <option id="gnu.cpp.compiler.option.other.other.{{u.id}}" superClass="gnu.cpp.compiler.option.other.other" useByScannerDiscovery="false" value="-c {{opts['cpp']['other']}} {{opts['common']['warnings.other']}}" valueType="string"/> |
marcozecchini | 0:9fca2b23d0ba | 92 | <inputType id="com.crt.advproject.compiler.cpp.input.{{opts['uid']['tool_cpp_compiler_input']}}" superClass="com.crt.advproject.compiler.cpp.input"/> |
marcozecchini | 0:9fca2b23d0ba | 93 | </tool> |
marcozecchini | 0:9fca2b23d0ba | 94 | |
marcozecchini | 0:9fca2b23d0ba | 95 | <tool id="com.crt.advproject.gcc.exe.{{opts['id']}}.{{opts['uid']['tool_c_compiler']}}" name="MCU C Compiler" superClass="com.crt.advproject.gcc.exe.{{opts['id']}}"> |
marcozecchini | 0:9fca2b23d0ba | 96 | <option id="com.crt.advproject.gcc.hdrlib.{{u.id}}" name="Library headers" superClass="com.crt.advproject.gcc.hdrlib" value="com.crt.advproject.gcc.hdrlib.newlibnano" valueType="enumerated"/> |
marcozecchini | 0:9fca2b23d0ba | 97 | <option id="com.crt.advproject.gcc.specs.{{u.id}}" name="Specs" superClass="com.crt.advproject.gcc.specs" value="com.crt.advproject.gcc.specs.newlibnano" valueType="enumerated"/> |
marcozecchini | 0:9fca2b23d0ba | 98 | <option id="com.crt.advproject.gcc.arch.{{u.id}}" name="Architecture" superClass="com.crt.advproject.gcc.arch" value="com.crt.advproject.gcc.target.{{opts['common']['arm.target.family_nxp']}}" valueType="enumerated"/> |
marcozecchini | 0:9fca2b23d0ba | 99 | {% if opts['common']['optimization.level'] != '' %} |
marcozecchini | 0:9fca2b23d0ba | 100 | <option id="com.crt.advproject.gcc.exe.{{opts['id']}}.option.optimization.level.{{u.id}}" name="Optimization Level" superClass="com.crt.advproject.gcc.exe.{{opts['id']}}.option.optimization.level" useByScannerDiscovery="false" value="gnu.c.optimization.level.{{opts['common']['optimization.level']}}" valueType="enumerated"/> |
marcozecchini | 0:9fca2b23d0ba | 101 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 102 | <option id="gnu.c.compiler.option.optimization.flags.{{u.id}}" superClass="gnu.c.compiler.option.optimization.flags" useByScannerDiscovery="false" value="{{opts['c']['otheroptimizations']}} {{opts['common']['optimization.other']}}" valueType="string"/> |
marcozecchini | 0:9fca2b23d0ba | 103 | |
marcozecchini | 0:9fca2b23d0ba | 104 | {% if opts['c']['compiler.std'] %} |
marcozecchini | 0:9fca2b23d0ba | 105 | <option id="com.crt.advproject.c.misc.dialect.{{u.id}}" name="Language standard" superClass="com.crt.advproject.c.misc.dialect" useByScannerDiscovery="true" value="com.crt.advproject.misc.dialect.{{opts['c']['compiler.std']}}" valueType="enumerated"/> |
marcozecchini | 0:9fca2b23d0ba | 106 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 107 | <option id="gnu.c.compiler.option.preprocessor.def.symbols.{{u.id}}" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" valueType="definedSymbols"> |
marcozecchini | 0:9fca2b23d0ba | 108 | {% for s in opts['c']['defines'] %} |
marcozecchini | 0:9fca2b23d0ba | 109 | <listOptionValue builtIn="false" value="{{s|replace("\"", "\\\"")|escape}}"/> |
marcozecchini | 0:9fca2b23d0ba | 110 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 111 | </option> |
marcozecchini | 0:9fca2b23d0ba | 112 | <option id="gnu.c.compiler.option.include.paths.{{u.id}}" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath"> |
marcozecchini | 0:9fca2b23d0ba | 113 | {% for path in opts['common']['include_paths'] %} |
marcozecchini | 0:9fca2b23d0ba | 114 | <listOptionValue builtIn="false" value=""${ProjDirPath}/{{path}}""/> |
marcozecchini | 0:9fca2b23d0ba | 115 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 116 | </option> |
marcozecchini | 0:9fca2b23d0ba | 117 | <option id="gnu.c.compiler.option.include.files.{{u.id}}" name="Include files (-include)" superClass="gnu.c.compiler.option.include.files" valueType="includeFiles"> |
marcozecchini | 0:9fca2b23d0ba | 118 | {% for file in opts['common']['include_files'] %} |
marcozecchini | 0:9fca2b23d0ba | 119 | <listOptionValue builtIn="false" value=""${ProjDirPath}/{{file}}""/> |
marcozecchini | 0:9fca2b23d0ba | 120 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 121 | </option> |
marcozecchini | 0:9fca2b23d0ba | 122 | |
marcozecchini | 0:9fca2b23d0ba | 123 | {% if opts['common']['warnings.syntaxonly'] %} |
marcozecchini | 0:9fca2b23d0ba | 124 | <option id="gnu.c.compiler.option.warnings.syntax.{{u.id}}" superClass="gnu.c.compiler.option.warnings.syntax" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 125 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 126 | {% if opts['common']['warnings.pedantic'] %} |
marcozecchini | 0:9fca2b23d0ba | 127 | <option id="gnu.c.compiler.option.warnings.pedantic.{{u.id}}" superClass="gnu.c.compiler.option.warnings.pedantic" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 128 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 129 | {% if opts['common']['warnings.pedanticerrors'] %} |
marcozecchini | 0:9fca2b23d0ba | 130 | <option id="gnu.c.compiler.option.warnings.pedantic.error.{{u.id}}" superClass="gnu.c.compiler.option.warnings.pedantic.error" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 131 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 132 | {% if opts['common']['warnings.nowarn'] %} |
marcozecchini | 0:9fca2b23d0ba | 133 | <option id="gnu.c.compiler.option.warnings.nowarn.{{u.id}}" superClass="gnu.c.compiler.option.warnings.nowarn" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 134 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 135 | {% if opts['common']['warnings.allwarn'] %} |
marcozecchini | 0:9fca2b23d0ba | 136 | <option id="gnu.c.compiler.option.warnings.allwarn.{{u.id}}" name="Enable all common warnings (-Wall)" superClass="gnu.c.compiler.option.warnings.allwarn" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 137 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 138 | {% if opts['common']['warnings.extrawarn'] %} |
marcozecchini | 0:9fca2b23d0ba | 139 | <option id="gnu.c.compiler.option.warnings.extrawarn.{{u.id}}" name="Enable extra warnings (-Wextra)" superClass="gnu.c.compiler.option.warnings.extrawarn" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 140 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 141 | {% if opts['common']['warnings.toerrors'] %} |
marcozecchini | 0:9fca2b23d0ba | 142 | <option id="gnu.c.compiler.option.warnings.toerrors.{{u.id}}" superClass="gnu.c.compiler.option.warnings.toerrors" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 143 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 144 | {% if opts['common']['warnings.conversion'] %} |
marcozecchini | 0:9fca2b23d0ba | 145 | <option id="gnu.c.compiler.option.warnings.wconversion.{{u.id}}" name="Warn on implicit conversions (-Wconversion)" superClass="gnu.c.compiler.option.warnings.wconversion" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 146 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 147 | {% if opts['c']['verbose'] %} |
marcozecchini | 0:9fca2b23d0ba | 148 | <option id="gnu.c.compiler.option.misc.verbose.{{u.id}}" name="Verbose (-v)" superClass="gnu.c.compiler.option.misc.verbose" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 149 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 150 | {% if opts['common']['arm.target.fpu.unit_nxp'] %} |
marcozecchini | 0:9fca2b23d0ba | 151 | <option id="com.crt.advproject.gcc.fpu.{{u.id}}" name="Floating point" superClass="com.crt.advproject.gcc.fpu" useByScannerDiscovery="false" value="com.crt.advproject.gcc.fpu.{{opts['common']['arm.target.fpu.unit_nxp']}}" valueType="enumerated"/> |
marcozecchini | 0:9fca2b23d0ba | 152 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 153 | |
marcozecchini | 0:9fca2b23d0ba | 154 | {% if opts['common']['optimization.lto'] %} |
marcozecchini | 0:9fca2b23d0ba | 155 | <option id="com.crt.advproject.gcc.lto.{{u.id}}" name="Enable Link-time optimization (-flto)" superClass="com.crt.advproject.gcc.lto" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 156 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 157 | {% if opts['common']['optimization.lto_objects'] %} |
marcozecchini | 0:9fca2b23d0ba | 158 | <option id="com.crt.advproject.gcc.lto.fat.{{u.id}}" name="Fat lto objects (-ffat-lto-objects)" superClass="com.crt.advproject.gcc.lto.fat" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 159 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 160 | |
marcozecchini | 0:9fca2b23d0ba | 161 | <option id="gnu.c.compiler.option.misc.other.{{u.id}}" superClass="gnu.c.compiler.option.misc.other" useByScannerDiscovery="false" value="-c {{opts['c']['other']}} {{opts['common']['warnings.other']}}" valueType="string"/> |
marcozecchini | 0:9fca2b23d0ba | 162 | <inputType id="com.crt.advproject.compiler.input.{{opts['uid']['tool_c_compiler']}}" superClass="com.crt.advproject.compiler.input"/> |
marcozecchini | 0:9fca2b23d0ba | 163 | </tool> |
marcozecchini | 0:9fca2b23d0ba | 164 | |
marcozecchini | 0:9fca2b23d0ba | 165 | <tool id="com.crt.advproject.gas.exe.{{opts['id']}}.{{u.id}}" name="MCU Assembler" superClass="com.crt.advproject.gas.exe.{{opts['id']}}"> |
marcozecchini | 0:9fca2b23d0ba | 166 | <option id="com.crt.advproject.gas.hdrlib.{{u.id}}" name="Library headers" superClass="com.crt.advproject.gas.hdrlib" value="com.crt.advproject.gas.hdrlib.newlibnano" valueType="enumerated"/> |
marcozecchini | 0:9fca2b23d0ba | 167 | <option id="com.crt.advproject.gas.specs.{{u.id}}" name="Specs" superClass="com.crt.advproject.gas.specs" value="com.crt.advproject.gas.specs.newlibnano" valueType="enumerated"/> |
marcozecchini | 0:9fca2b23d0ba | 168 | <option id="com.crt.advproject.gas.arch.{{u.id}}" name="Architecture" superClass="com.crt.advproject.gas.arch" value="com.crt.advproject.gas.target.{{opts['common']['arm.target.family_nxp']}}" valueType="enumerated"/> |
marcozecchini | 0:9fca2b23d0ba | 169 | <option id="gnu.both.asm.option.include.paths.{{u.id}}" name="Include paths (-I)" superClass="gnu.both.asm.option.include.paths" valueType="includePath"> |
marcozecchini | 0:9fca2b23d0ba | 170 | {% for path in opts['common']['include_paths'] %} |
marcozecchini | 0:9fca2b23d0ba | 171 | <listOptionValue builtIn="false" value=""${ProjDirPath}/{{path}}""/> |
marcozecchini | 0:9fca2b23d0ba | 172 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 173 | </option> |
marcozecchini | 0:9fca2b23d0ba | 174 | <inputType id="cdt.managedbuild.tool.gnu.assembler.input.{{u.id}}" superClass="cdt.managedbuild.tool.gnu.assembler.input"/> |
marcozecchini | 0:9fca2b23d0ba | 175 | {% if opts['common']['arm.target.fpu.unit_nxp'] %} |
marcozecchini | 0:9fca2b23d0ba | 176 | <option id="com.crt.advproject.gas.fpu.{{u.id}}" name="Floating point" superClass="com.crt.advproject.gas.fpu" useByScannerDiscovery="false" value="com.crt.advproject.gas.fpu.{{opts['common']['arm.target.fpu.unit_nxp']}}" valueType="enumerated"/> |
marcozecchini | 0:9fca2b23d0ba | 177 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 178 | <option id="gnu.both.asm.option.flags.crt.{{u.id}}" superClass="gnu.both.asm.option.flags.crt" useByScannerDiscovery="false" value="-c {{opts['as']['other']}}" valueType="string"/> |
marcozecchini | 0:9fca2b23d0ba | 179 | {% if opts['as']['verbose'] %} |
marcozecchini | 0:9fca2b23d0ba | 180 | <option id="gnu.both.asm.option.version.{{u.id}}" superClass="gnu.both.asm.option.version" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 181 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 182 | <inputType id="com.crt.advproject.assembler.input.{{u.id}}" name="Additional Assembly Source Files" superClass="com.crt.advproject.assembler.input"/> |
marcozecchini | 0:9fca2b23d0ba | 183 | </tool> |
marcozecchini | 0:9fca2b23d0ba | 184 | |
marcozecchini | 0:9fca2b23d0ba | 185 | <tool commandLinePattern="${COMMAND} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} ${FLAGS}" id="com.crt.advproject.link.cpp.exe.{{opts['id']}}.{{u.id}}" name="MCU C++ Linker" superClass="com.crt.advproject.link.cpp.exe.{{opts['id']}}"> |
marcozecchini | 0:9fca2b23d0ba | 186 | <option defaultValue="com.crt.advproject.heapAndStack.lpcXpressoStyle.cpp" id="com.crt.advproject.link.memory.heapAndStack.style.cpp.{{u.id}}" name="Heap and Stack placement" superClass="com.crt.advproject.link.memory.heapAndStack.style.cpp" useByScannerDiscovery="false" value="com.crt.advproject.heapAndStack.lpcXpressoStyle.cpp" valueType="enumerated"/> |
marcozecchini | 0:9fca2b23d0ba | 187 | <option id="com.crt.advproject.link.memory.heapAndStack.cpp.{{u.id}}" name="Heap and Stack options" superClass="com.crt.advproject.link.memory.heapAndStack.cpp" useByScannerDiscovery="false" value="&Heap:Default;Post Data;Default&Stack:Default;End;Default" valueType="string"/> |
marcozecchini | 0:9fca2b23d0ba | 188 | <option id="com.crt.advproject.link.cpp.multicore.master.{{u.id}}" name="Multicore master" superClass="com.crt.advproject.link.cpp.multicore.master" useByScannerDiscovery="false"/> |
marcozecchini | 0:9fca2b23d0ba | 189 | <option id="com.crt.advproject.link.cpp.multicore.master.userobjs.{{u.id}}" name="Slave Objects (not visible)" superClass="com.crt.advproject.link.cpp.multicore.master.userobjs" useByScannerDiscovery="false" valueType="userObjs"/> |
marcozecchini | 0:9fca2b23d0ba | 190 | <option id="com.crt.advproject.link.cpp.arch.{{u.id}}" name="Architecture" superClass="com.crt.advproject.link.cpp.arch" useByScannerDiscovery="false" value="com.crt.advproject.link.cpp.target.{{opts['common']['arm.target.family_nxp']}}" valueType="enumerated"/> |
marcozecchini | 0:9fca2b23d0ba | 191 | <option id="gnu.cpp.link.option.paths.{{u.id}}" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" useByScannerDiscovery="false"> |
marcozecchini | 0:9fca2b23d0ba | 192 | {% for path in opts['ld']['library_paths'] %} |
marcozecchini | 0:9fca2b23d0ba | 193 | <listOptionValue builtIn="false" value=""${ProjDirPath}/{{path}}""/> |
marcozecchini | 0:9fca2b23d0ba | 194 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 195 | </option> |
marcozecchini | 0:9fca2b23d0ba | 196 | <option id="gnu.cpp.link.option.libs.{{u.id}}" name="Libraries (-l)" superClass="gnu.cpp.link.option.libs" useByScannerDiscovery="false" valueType="libs"> |
marcozecchini | 0:9fca2b23d0ba | 197 | {% for lib in opts['ld']['user_libraries'] %} |
marcozecchini | 0:9fca2b23d0ba | 198 | <listOptionValue builtIn="false" value="{{lib}}"/> |
marcozecchini | 0:9fca2b23d0ba | 199 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 200 | {% for lib in opts['ld']['system_libraries'] %} |
marcozecchini | 0:9fca2b23d0ba | 201 | <listOptionValue builtIn="false" value="{{lib}}"/> |
marcozecchini | 0:9fca2b23d0ba | 202 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 203 | </option> |
marcozecchini | 0:9fca2b23d0ba | 204 | <option id="gnu.cpp.link.option.userobjs.{{u.id}}" name="Other objects" superClass="gnu.cpp.link.option.userobjs" useByScannerDiscovery="false"> |
marcozecchini | 0:9fca2b23d0ba | 205 | {% for path in opts['ld']['object_files'] %} |
marcozecchini | 0:9fca2b23d0ba | 206 | <listOptionValue builtIn="false" value=""${ProjDirPath}/{{path}}""/> |
marcozecchini | 0:9fca2b23d0ba | 207 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 208 | </option> |
marcozecchini | 0:9fca2b23d0ba | 209 | |
marcozecchini | 0:9fca2b23d0ba | 210 | <option id="gnu.cpp.link.option.other.{{u.id}}" name="Other options (-Xlinker [option])" superClass="gnu.cpp.link.option.other" useByScannerDiscovery="false" valueType="stringList"> |
marcozecchini | 0:9fca2b23d0ba | 211 | <listOptionValue builtIn="false" value="-Map="${BuildArtifactFileBaseName}.map""/> |
marcozecchini | 0:9fca2b23d0ba | 212 | <listOptionValue builtIn="false" value="-print-memory-usage"/> |
marcozecchini | 0:9fca2b23d0ba | 213 | {% if opts['ld']['gcsections'] %} |
marcozecchini | 0:9fca2b23d0ba | 214 | <listOptionValue builtIn="false" value="--gc-sections"/> |
marcozecchini | 0:9fca2b23d0ba | 215 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 216 | {% for opt in opts['ld']['flags'] %} |
marcozecchini | 0:9fca2b23d0ba | 217 | <listOptionValue builtIn="false" value="{{opt}}"/> |
marcozecchini | 0:9fca2b23d0ba | 218 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 219 | </option> |
marcozecchini | 0:9fca2b23d0ba | 220 | |
marcozecchini | 0:9fca2b23d0ba | 221 | {% if opts['ld']['nostart'] %} |
marcozecchini | 0:9fca2b23d0ba | 222 | <option id="gnu.cpp.link.option.nostart.{{u.id}}" name="Do not use standard start files (-nostartfiles)" superClass="gnu.cpp.link.option.nostart" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 223 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 224 | {% if opts['ld']['nodeflibs'] %} |
marcozecchini | 0:9fca2b23d0ba | 225 | <option id="gnu.cpp.link.option.nodeflibs.{{u.id}}" name="Do not use default libraries (-nodefaultlibs)" superClass="gnu.cpp.link.option.nodeflibs" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 226 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 227 | {% if opts['ld']['nostdlibs'] %} |
marcozecchini | 0:9fca2b23d0ba | 228 | <option id="gnu.cpp.link.option.nostdlibs.{{u.id}}" name="No startup or default libs (-nostdlib)" superClass="gnu.cpp.link.option.nostdlibs" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 229 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 230 | {% if opts['ld']['other'] != '' %} |
marcozecchini | 0:9fca2b23d0ba | 231 | <option id="gnu.cpp.link.option.flags.{{u.id}}" superClass="gnu.cpp.link.option.flags" useByScannerDiscovery="false" value="{{opts['ld']['other']}}" valueType="string"/> |
marcozecchini | 0:9fca2b23d0ba | 232 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 233 | |
marcozecchini | 0:9fca2b23d0ba | 234 | {% if opts['common']['optimization.lto'] %} |
marcozecchini | 0:9fca2b23d0ba | 235 | <option id="com.crt.advproject.link.cpp.lto.{{u.id}}" superClass="com.crt.advproject.link.cpp.lto" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
marcozecchini | 0:9fca2b23d0ba | 236 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 237 | |
marcozecchini | 0:9fca2b23d0ba | 238 | <option id="com.crt.advproject.link.cpp.script.{{u.id}}" name="Linker script" superClass="com.crt.advproject.link.cpp.script" useByScannerDiscovery="false" value="${ProjDirPath}/{{opts['name']}}/{{opts['ld']['script']}}" valueType="string"/> |
marcozecchini | 0:9fca2b23d0ba | 239 | |
marcozecchini | 0:9fca2b23d0ba | 240 | <option id="com.crt.advproject.link.cpp.multicore.slave.{{u.id}}" name="Multicore configuration" superClass="com.crt.advproject.link.cpp.multicore.slave" useByScannerDiscovery="false"/> |
marcozecchini | 0:9fca2b23d0ba | 241 | {% if opts['common']['arm.target.fpu.unit_nxp'] %} |
marcozecchini | 0:9fca2b23d0ba | 242 | <option id="com.crt.advproject.link.cpp.fpu.{{u.id}}" name="Floating point" superClass="com.crt.advproject.link.cpp.fpu" useByScannerDiscovery="false" value="com.crt.advproject.link.cpp.fpu.{{opts['common']['arm.target.fpu.unit_nxp']}}" valueType="enumerated"/> |
marcozecchini | 0:9fca2b23d0ba | 243 | {% endif %} |
marcozecchini | 0:9fca2b23d0ba | 244 | <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.{{u.id}}" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input"> |
marcozecchini | 0:9fca2b23d0ba | 245 | <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/> |
marcozecchini | 0:9fca2b23d0ba | 246 | <additionalInput kind="additionalinput" paths="$(LIBS)"/> |
marcozecchini | 0:9fca2b23d0ba | 247 | </inputType> |
marcozecchini | 0:9fca2b23d0ba | 248 | </tool> |
marcozecchini | 0:9fca2b23d0ba | 249 | |
marcozecchini | 0:9fca2b23d0ba | 250 | <tool id="com.crt.advproject.link.exe.{{opts['id']}}.{{u.id}}" name="MCU Linker" superClass="com.crt.advproject.link.exe.{{opts['id']}}"/> |
marcozecchini | 0:9fca2b23d0ba | 251 | |
marcozecchini | 0:9fca2b23d0ba | 252 | </toolChain> |
marcozecchini | 0:9fca2b23d0ba | 253 | </folderInfo> |
marcozecchini | 0:9fca2b23d0ba | 254 | <sourceEntries> |
marcozecchini | 0:9fca2b23d0ba | 255 | <entry excluding="{{opts['common']['excluded_folders']}}" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/> |
marcozecchini | 0:9fca2b23d0ba | 256 | </sourceEntries> |
marcozecchini | 0:9fca2b23d0ba | 257 | </configuration> |
marcozecchini | 0:9fca2b23d0ba | 258 | </storageModule> |
marcozecchini | 0:9fca2b23d0ba | 259 | <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/> |
marcozecchini | 0:9fca2b23d0ba | 260 | </cconfiguration> |
marcozecchini | 0:9fca2b23d0ba | 261 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 262 | </storageModule> |
marcozecchini | 0:9fca2b23d0ba | 263 | <storageModule moduleId="cdtBuildSystem" version="4.0.0"> |
marcozecchini | 0:9fca2b23d0ba | 264 | <project id="{{name}}.com.crt.advproject.projecttype.exe.{{u.id}}" name="Executable" projectType="com.crt.advproject.projecttype.exe"/> |
marcozecchini | 0:9fca2b23d0ba | 265 | </storageModule> |
marcozecchini | 0:9fca2b23d0ba | 266 | <storageModule moduleId="scannerConfiguration"> |
marcozecchini | 0:9fca2b23d0ba | 267 | <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> |
marcozecchini | 0:9fca2b23d0ba | 268 | </storageModule> |
marcozecchini | 0:9fca2b23d0ba | 269 | <storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/> |
marcozecchini | 0:9fca2b23d0ba | 270 | <storageModule moduleId="com.crt.config"> |
marcozecchini | 0:9fca2b23d0ba | 271 | <projectStorage>{% block cpu_config %}{% endblock %}</projectStorage> |
marcozecchini | 0:9fca2b23d0ba | 272 | </storageModule> |
marcozecchini | 0:9fca2b23d0ba | 273 | <storageModule moduleId="com.nxp.mcuxpresso.core.datamodels"> |
marcozecchini | 0:9fca2b23d0ba | 274 | <sdkName>{% block sdk_name %}{% endblock %}</sdkName> |
marcozecchini | 0:9fca2b23d0ba | 275 | <sdkVersion>{% block sdk_version %}{% endblock %}</sdkVersion> |
marcozecchini | 0:9fca2b23d0ba | 276 | </storageModule> |
marcozecchini | 0:9fca2b23d0ba | 277 | <storageModule moduleId="com.crt.advproject"/> |
marcozecchini | 0:9fca2b23d0ba | 278 | </cproject> |