Clone of official tools
export/mcuxpresso/.cproject.tmpl@40:7d3fa6b99b2b, 2017-10-10 (annotated)
- Committer:
- theotherjimmy
- Date:
- Tue Oct 10 16:56:30 2017 -0500
- Revision:
- 40:7d3fa6b99b2b
Update to tools release 5.6.1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
theotherjimmy |
40:7d3fa6b99b2b | 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
theotherjimmy |
40:7d3fa6b99b2b | 2 | <?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage"> |
theotherjimmy |
40:7d3fa6b99b2b | 3 | <storageModule moduleId="org.eclipse.cdt.core.settings"> |
theotherjimmy |
40:7d3fa6b99b2b | 4 | {% for cfg_key in options %} |
theotherjimmy |
40:7d3fa6b99b2b | 5 | {% set opts = options[cfg_key] %} |
theotherjimmy |
40:7d3fa6b99b2b | 6 | <cconfiguration id="com.crt.advproject.config.exe.{{opts['id']}}.{{opts['uid']['config']}}"> |
theotherjimmy |
40:7d3fa6b99b2b | 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']}}"> |
theotherjimmy |
40:7d3fa6b99b2b | 8 | <externalSettings/> |
theotherjimmy |
40:7d3fa6b99b2b | 9 | <extensions> |
theotherjimmy |
40:7d3fa6b99b2b | 10 | <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/> |
theotherjimmy |
40:7d3fa6b99b2b | 11 | <extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"/> |
theotherjimmy |
40:7d3fa6b99b2b | 12 | <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
theotherjimmy |
40:7d3fa6b99b2b | 13 | <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
theotherjimmy |
40:7d3fa6b99b2b | 14 | <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
theotherjimmy |
40:7d3fa6b99b2b | 15 | <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/> |
theotherjimmy |
40:7d3fa6b99b2b | 16 | <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
theotherjimmy |
40:7d3fa6b99b2b | 17 | </extensions> |
theotherjimmy |
40:7d3fa6b99b2b | 18 | </storageModule> |
theotherjimmy |
40:7d3fa6b99b2b | 19 | <storageModule moduleId="cdtBuildSystem" version="4.0.0"> |
theotherjimmy |
40:7d3fa6b99b2b | 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""> |
theotherjimmy |
40:7d3fa6b99b2b | 21 | <folderInfo id="com.crt.advproject.config.exe.{{opts['id']}}.{{opts['uid']['config']}}" name="/" resourcePath=""> |
theotherjimmy |
40:7d3fa6b99b2b | 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']}}"> |
theotherjimmy |
40:7d3fa6b99b2b | 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']}}"/> |
theotherjimmy |
40:7d3fa6b99b2b | 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']}}"/> |
theotherjimmy |
40:7d3fa6b99b2b | 25 | |
theotherjimmy |
40:7d3fa6b99b2b | 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']}}"> |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 29 | {% if opts['common']['optimization.level'] != '' %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 31 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 33 | {% if opts['cpp']['compiler.std'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 35 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 36 | |
theotherjimmy |
40:7d3fa6b99b2b | 37 | <option id="gnu.cpp.compiler.option.preprocessor.def.{{u.id}}" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols"> |
theotherjimmy |
40:7d3fa6b99b2b | 38 | {% for s in opts['cpp']['defines'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 39 | <listOptionValue builtIn="false" value="{{s|replace("\"", "\\\"")|escape}}"/> |
theotherjimmy |
40:7d3fa6b99b2b | 40 | {% endfor %} |
theotherjimmy |
40:7d3fa6b99b2b | 41 | </option> |
theotherjimmy |
40:7d3fa6b99b2b | 42 | <option id="gnu.cpp.compiler.option.include.paths.{{u.id}}" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath"> |
theotherjimmy |
40:7d3fa6b99b2b | 43 | {% for path in opts['common']['include_paths'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 44 | <listOptionValue builtIn="false" value=""${ProjDirPath}/{{path}}""/> |
theotherjimmy |
40:7d3fa6b99b2b | 45 | {% endfor %} |
theotherjimmy |
40:7d3fa6b99b2b | 46 | </option> |
theotherjimmy |
40:7d3fa6b99b2b | 47 | <option id="gnu.cpp.compiler.option.include.files.{{u.id}}" name="Include files (-include)" superClass="gnu.cpp.compiler.option.include.files" valueType="includeFiles"> |
theotherjimmy |
40:7d3fa6b99b2b | 48 | {% for file in opts['common']['include_files'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 49 | <listOptionValue builtIn="false" value=""${ProjDirPath}/{{file}}""/> |
theotherjimmy |
40:7d3fa6b99b2b | 50 | {% endfor %} |
theotherjimmy |
40:7d3fa6b99b2b | 51 | </option> |
theotherjimmy |
40:7d3fa6b99b2b | 52 | |
theotherjimmy |
40:7d3fa6b99b2b | 53 | {% if opts['common']['warnings.syntaxonly'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 54 | <option id="gnu.cpp.compiler.option.warnings.syntax.{{u.id}}" superClass="gnu.cpp.compiler.option.warnings.syntax" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 55 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 56 | {% if opts['common']['warnings.pedantic'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 57 | <option id="gnu.cpp.compiler.option.warnings.pedantic.{{u.id}}" superClass="gnu.cpp.compiler.option.warnings.pedantic" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 58 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 59 | {% if opts['common']['warnings.pedanticerrors'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 60 | <option id="gnu.cpp.compiler.option.warnings.pedantic.error.{{u.id}}" superClass="gnu.cpp.compiler.option.warnings.pedantic.error" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 61 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 62 | {% if opts['common']['warnings.nowarn'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 63 | <option id="gnu.cpp.compiler.option.warnings.nowarn.{{u.id}}" superClass="gnu.cpp.compiler.option.warnings.nowarn" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 64 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 65 | {% if opts['common']['warnings.allwarn'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 67 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 68 | {% if opts['common']['warnings.extrawarn'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 70 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 71 | {% if opts['common']['warnings.toerrors'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 72 | <option id="gnu.cpp.compiler.option.warnings.toerrors.{{u.id}}" superClass="gnu.cpp.compiler.option.warnings.toerrors" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 73 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 74 | {% if opts['common']['warnings.conversion'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 76 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 77 | |
theotherjimmy |
40:7d3fa6b99b2b | 78 | {% if opts['common']['optimization.lto'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 80 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 81 | {% if opts['common']['optimization.lto_objects'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 83 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 84 | |
theotherjimmy |
40:7d3fa6b99b2b | 85 | {% if opts['cpp']['verbose'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 87 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 88 | {% if opts['common']['arm.target.fpu.unit_nxp'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 90 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 92 | <inputType id="com.crt.advproject.compiler.cpp.input.{{opts['uid']['tool_cpp_compiler_input']}}" superClass="com.crt.advproject.compiler.cpp.input"/> |
theotherjimmy |
40:7d3fa6b99b2b | 93 | </tool> |
theotherjimmy |
40:7d3fa6b99b2b | 94 | |
theotherjimmy |
40:7d3fa6b99b2b | 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']}}"> |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 99 | {% if opts['common']['optimization.level'] != '' %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 101 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 103 | |
theotherjimmy |
40:7d3fa6b99b2b | 104 | {% if opts['c']['compiler.std'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 106 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"> |
theotherjimmy |
40:7d3fa6b99b2b | 108 | {% for s in opts['c']['defines'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 109 | <listOptionValue builtIn="false" value="{{s|replace("\"", "\\\"")|escape}}"/> |
theotherjimmy |
40:7d3fa6b99b2b | 110 | {% endfor %} |
theotherjimmy |
40:7d3fa6b99b2b | 111 | </option> |
theotherjimmy |
40:7d3fa6b99b2b | 112 | <option id="gnu.c.compiler.option.include.paths.{{u.id}}" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath"> |
theotherjimmy |
40:7d3fa6b99b2b | 113 | {% for path in opts['common']['include_paths'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 114 | <listOptionValue builtIn="false" value=""${ProjDirPath}/{{path}}""/> |
theotherjimmy |
40:7d3fa6b99b2b | 115 | {% endfor %} |
theotherjimmy |
40:7d3fa6b99b2b | 116 | </option> |
theotherjimmy |
40:7d3fa6b99b2b | 117 | <option id="gnu.c.compiler.option.include.files.{{u.id}}" name="Include files (-include)" superClass="gnu.c.compiler.option.include.files" valueType="includeFiles"> |
theotherjimmy |
40:7d3fa6b99b2b | 118 | {% for file in opts['common']['include_files'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 119 | <listOptionValue builtIn="false" value=""${ProjDirPath}/{{file}}""/> |
theotherjimmy |
40:7d3fa6b99b2b | 120 | {% endfor %} |
theotherjimmy |
40:7d3fa6b99b2b | 121 | </option> |
theotherjimmy |
40:7d3fa6b99b2b | 122 | |
theotherjimmy |
40:7d3fa6b99b2b | 123 | {% if opts['common']['warnings.syntaxonly'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 124 | <option id="gnu.c.compiler.option.warnings.syntax.{{u.id}}" superClass="gnu.c.compiler.option.warnings.syntax" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 125 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 126 | {% if opts['common']['warnings.pedantic'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 127 | <option id="gnu.c.compiler.option.warnings.pedantic.{{u.id}}" superClass="gnu.c.compiler.option.warnings.pedantic" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 128 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 129 | {% if opts['common']['warnings.pedanticerrors'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 130 | <option id="gnu.c.compiler.option.warnings.pedantic.error.{{u.id}}" superClass="gnu.c.compiler.option.warnings.pedantic.error" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 131 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 132 | {% if opts['common']['warnings.nowarn'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 133 | <option id="gnu.c.compiler.option.warnings.nowarn.{{u.id}}" superClass="gnu.c.compiler.option.warnings.nowarn" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 134 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 135 | {% if opts['common']['warnings.allwarn'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 137 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 138 | {% if opts['common']['warnings.extrawarn'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 140 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 141 | {% if opts['common']['warnings.toerrors'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 142 | <option id="gnu.c.compiler.option.warnings.toerrors.{{u.id}}" superClass="gnu.c.compiler.option.warnings.toerrors" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 143 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 144 | {% if opts['common']['warnings.conversion'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 146 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 147 | {% if opts['c']['verbose'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 149 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 150 | {% if opts['common']['arm.target.fpu.unit_nxp'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 152 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 153 | |
theotherjimmy |
40:7d3fa6b99b2b | 154 | {% if opts['common']['optimization.lto'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 156 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 157 | {% if opts['common']['optimization.lto_objects'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 159 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 160 | |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 162 | <inputType id="com.crt.advproject.compiler.input.{{opts['uid']['tool_c_compiler']}}" superClass="com.crt.advproject.compiler.input"/> |
theotherjimmy |
40:7d3fa6b99b2b | 163 | </tool> |
theotherjimmy |
40:7d3fa6b99b2b | 164 | |
theotherjimmy |
40:7d3fa6b99b2b | 165 | <tool id="com.crt.advproject.gas.exe.{{opts['id']}}.{{u.id}}" name="MCU Assembler" superClass="com.crt.advproject.gas.exe.{{opts['id']}}"> |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 169 | <option id="gnu.both.asm.option.include.paths.{{u.id}}" name="Include paths (-I)" superClass="gnu.both.asm.option.include.paths" valueType="includePath"> |
theotherjimmy |
40:7d3fa6b99b2b | 170 | {% for path in opts['common']['include_paths'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 171 | <listOptionValue builtIn="false" value=""${ProjDirPath}/{{path}}""/> |
theotherjimmy |
40:7d3fa6b99b2b | 172 | {% endfor %} |
theotherjimmy |
40:7d3fa6b99b2b | 173 | </option> |
theotherjimmy |
40:7d3fa6b99b2b | 174 | <inputType id="cdt.managedbuild.tool.gnu.assembler.input.{{u.id}}" superClass="cdt.managedbuild.tool.gnu.assembler.input"/> |
theotherjimmy |
40:7d3fa6b99b2b | 175 | {% if opts['common']['arm.target.fpu.unit_nxp'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 177 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 179 | {% if opts['as']['verbose'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 180 | <option id="gnu.both.asm.option.version.{{u.id}}" superClass="gnu.both.asm.option.version" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 181 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 182 | <inputType id="com.crt.advproject.assembler.input.{{u.id}}" name="Additional Assembly Source Files" superClass="com.crt.advproject.assembler.input"/> |
theotherjimmy |
40:7d3fa6b99b2b | 183 | </tool> |
theotherjimmy |
40:7d3fa6b99b2b | 184 | |
theotherjimmy |
40:7d3fa6b99b2b | 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']}}"> |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 191 | <option id="gnu.cpp.link.option.paths.{{u.id}}" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" useByScannerDiscovery="false"> |
theotherjimmy |
40:7d3fa6b99b2b | 192 | {% for path in opts['ld']['library_paths'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 193 | <listOptionValue builtIn="false" value=""${ProjDirPath}/{{path}}""/> |
theotherjimmy |
40:7d3fa6b99b2b | 194 | {% endfor %} |
theotherjimmy |
40:7d3fa6b99b2b | 195 | </option> |
theotherjimmy |
40:7d3fa6b99b2b | 196 | <option id="gnu.cpp.link.option.libs.{{u.id}}" name="Libraries (-l)" superClass="gnu.cpp.link.option.libs" useByScannerDiscovery="false" valueType="libs"> |
theotherjimmy |
40:7d3fa6b99b2b | 197 | {% for lib in opts['ld']['user_libraries'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 198 | <listOptionValue builtIn="false" value="{{lib}}"/> |
theotherjimmy |
40:7d3fa6b99b2b | 199 | {% endfor %} |
theotherjimmy |
40:7d3fa6b99b2b | 200 | {% for lib in opts['ld']['system_libraries'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 201 | <listOptionValue builtIn="false" value="{{lib}}"/> |
theotherjimmy |
40:7d3fa6b99b2b | 202 | {% endfor %} |
theotherjimmy |
40:7d3fa6b99b2b | 203 | </option> |
theotherjimmy |
40:7d3fa6b99b2b | 204 | <option id="gnu.cpp.link.option.userobjs.{{u.id}}" name="Other objects" superClass="gnu.cpp.link.option.userobjs" useByScannerDiscovery="false"> |
theotherjimmy |
40:7d3fa6b99b2b | 205 | {% for path in opts['ld']['object_files'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 206 | <listOptionValue builtIn="false" value=""${ProjDirPath}/{{path}}""/> |
theotherjimmy |
40:7d3fa6b99b2b | 207 | {% endfor %} |
theotherjimmy |
40:7d3fa6b99b2b | 208 | </option> |
theotherjimmy |
40:7d3fa6b99b2b | 209 | |
theotherjimmy |
40:7d3fa6b99b2b | 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"> |
theotherjimmy |
40:7d3fa6b99b2b | 211 | <listOptionValue builtIn="false" value="-Map="${BuildArtifactFileBaseName}.map""/> |
theotherjimmy |
40:7d3fa6b99b2b | 212 | <listOptionValue builtIn="false" value="-print-memory-usage"/> |
theotherjimmy |
40:7d3fa6b99b2b | 213 | {% if opts['ld']['gcsections'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 214 | <listOptionValue builtIn="false" value="--gc-sections"/> |
theotherjimmy |
40:7d3fa6b99b2b | 215 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 216 | {% for opt in opts['ld']['flags'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 217 | <listOptionValue builtIn="false" value="{{opt}}"/> |
theotherjimmy |
40:7d3fa6b99b2b | 218 | {% endfor %} |
theotherjimmy |
40:7d3fa6b99b2b | 219 | </option> |
theotherjimmy |
40:7d3fa6b99b2b | 220 | |
theotherjimmy |
40:7d3fa6b99b2b | 221 | {% if opts['ld']['nostart'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 223 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 224 | {% if opts['ld']['nodeflibs'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 226 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 227 | {% if opts['ld']['nostdlibs'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 229 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 230 | {% if opts['ld']['other'] != '' %} |
theotherjimmy |
40:7d3fa6b99b2b | 231 | <option id="gnu.cpp.link.option.flags.{{u.id}}" superClass="gnu.cpp.link.option.flags" useByScannerDiscovery="false" value="{{opts['ld']['other']}}" valueType="string"/> |
theotherjimmy |
40:7d3fa6b99b2b | 232 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 233 | |
theotherjimmy |
40:7d3fa6b99b2b | 234 | {% if opts['common']['optimization.lto'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 235 | <option id="com.crt.advproject.link.cpp.lto.{{u.id}}" superClass="com.crt.advproject.link.cpp.lto" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 236 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 237 | |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 239 | |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 241 | {% if opts['common']['arm.target.fpu.unit_nxp'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 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"/> |
theotherjimmy |
40:7d3fa6b99b2b | 243 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 244 | <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.{{u.id}}" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input"> |
theotherjimmy |
40:7d3fa6b99b2b | 245 | <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/> |
theotherjimmy |
40:7d3fa6b99b2b | 246 | <additionalInput kind="additionalinput" paths="$(LIBS)"/> |
theotherjimmy |
40:7d3fa6b99b2b | 247 | </inputType> |
theotherjimmy |
40:7d3fa6b99b2b | 248 | </tool> |
theotherjimmy |
40:7d3fa6b99b2b | 249 | |
theotherjimmy |
40:7d3fa6b99b2b | 250 | <tool id="com.crt.advproject.link.exe.{{opts['id']}}.{{u.id}}" name="MCU Linker" superClass="com.crt.advproject.link.exe.{{opts['id']}}"/> |
theotherjimmy |
40:7d3fa6b99b2b | 251 | |
theotherjimmy |
40:7d3fa6b99b2b | 252 | </toolChain> |
theotherjimmy |
40:7d3fa6b99b2b | 253 | </folderInfo> |
theotherjimmy |
40:7d3fa6b99b2b | 254 | <sourceEntries> |
theotherjimmy |
40:7d3fa6b99b2b | 255 | <entry excluding="{{opts['common']['excluded_folders']}}" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/> |
theotherjimmy |
40:7d3fa6b99b2b | 256 | </sourceEntries> |
theotherjimmy |
40:7d3fa6b99b2b | 257 | </configuration> |
theotherjimmy |
40:7d3fa6b99b2b | 258 | </storageModule> |
theotherjimmy |
40:7d3fa6b99b2b | 259 | <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/> |
theotherjimmy |
40:7d3fa6b99b2b | 260 | </cconfiguration> |
theotherjimmy |
40:7d3fa6b99b2b | 261 | {% endfor %} |
theotherjimmy |
40:7d3fa6b99b2b | 262 | </storageModule> |
theotherjimmy |
40:7d3fa6b99b2b | 263 | <storageModule moduleId="cdtBuildSystem" version="4.0.0"> |
theotherjimmy |
40:7d3fa6b99b2b | 264 | <project id="{{name}}.com.crt.advproject.projecttype.exe.{{u.id}}" name="Executable" projectType="com.crt.advproject.projecttype.exe"/> |
theotherjimmy |
40:7d3fa6b99b2b | 265 | </storageModule> |
theotherjimmy |
40:7d3fa6b99b2b | 266 | <storageModule moduleId="scannerConfiguration"> |
theotherjimmy |
40:7d3fa6b99b2b | 267 | <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> |
theotherjimmy |
40:7d3fa6b99b2b | 268 | </storageModule> |
theotherjimmy |
40:7d3fa6b99b2b | 269 | <storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/> |
theotherjimmy |
40:7d3fa6b99b2b | 270 | <storageModule moduleId="com.crt.config"> |
theotherjimmy |
40:7d3fa6b99b2b | 271 | <projectStorage>{% block cpu_config %}{% endblock %}</projectStorage> |
theotherjimmy |
40:7d3fa6b99b2b | 272 | </storageModule> |
theotherjimmy |
40:7d3fa6b99b2b | 273 | <storageModule moduleId="com.nxp.mcuxpresso.core.datamodels"> |
theotherjimmy |
40:7d3fa6b99b2b | 274 | <sdkName>{% block sdk_name %}{% endblock %}</sdkName> |
theotherjimmy |
40:7d3fa6b99b2b | 275 | <sdkVersion>{% block sdk_version %}{% endblock %}</sdkVersion> |
theotherjimmy |
40:7d3fa6b99b2b | 276 | </storageModule> |
theotherjimmy |
40:7d3fa6b99b2b | 277 | <storageModule moduleId="com.crt.advproject"/> |
theotherjimmy |
40:7d3fa6b99b2b | 278 | </cproject> |