Merge pull request #36 from vas-dav/sensors
root: add rest of sensors as static project. Modbus: debug additions
This commit is contained in:
commit
c72570e1d6
268
GMP252Sensor/.cproject
Normal file
268
GMP252Sensor/.cproject
Normal file
@ -0,0 +1,268 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
||||||
|
<storageModule moduleId="org.eclipse.cdt.core.settings">
|
||||||
|
<cconfiguration id="com.crt.advproject.config.lib.debug.108079228">
|
||||||
|
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.crt.advproject.config.lib.debug.108079228" moduleId="org.eclipse.cdt.core.settings" name="Debug">
|
||||||
|
<externalSettings>
|
||||||
|
<externalSetting>
|
||||||
|
<entry flags="VALUE_WORKSPACE_PATH" kind="includePath" name="/GMP252Sensor"/>
|
||||||
|
<entry flags="VALUE_WORKSPACE_PATH" kind="libraryPath" name="/GMP252Sensor/Debug"/>
|
||||||
|
<entry flags="RESOLVED" kind="libraryFile" name="GMP252Sensor" srcPrefixMapping="" srcRootPath=""/>
|
||||||
|
</externalSetting>
|
||||||
|
</externalSettings>
|
||||||
|
<extensions>
|
||||||
|
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
</extensions>
|
||||||
|
</storageModule>
|
||||||
|
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||||
|
<configuration artifactExtension="a" artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.staticLib" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.staticLib" cleanCommand="rm -rf" description="Debug 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.lib.debug.108079228" name="Debug" parent="com.crt.advproject.config.lib.debug" postannouncebuildStep="Performing post-build steps" postbuildStep="arm-none-eabi-size "lib${BuildArtifactFileName}" ; # arm-none-eabi-objdump -h -S "lib${BuildArtifactFileName}" >"${BuildArtifactFileBaseName}.lss"">
|
||||||
|
<folderInfo id="com.crt.advproject.config.lib.debug.108079228." name="/" resourcePath="">
|
||||||
|
<toolChain id="com.crt.advproject.toolchain.lib.debug.583158115" name="NXP MCU Tools" superClass="com.crt.advproject.toolchain.lib.debug">
|
||||||
|
<targetPlatform binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.GNU_ELF" id="com.crt.advproject.platform.lib.debug.623365115" name="ARM-based MCU (Debug)" superClass="com.crt.advproject.platform.lib.debug"/>
|
||||||
|
<builder buildPath="${workspace_loc:/GMP252Sensor}/Debug" id="com.crt.advproject.builder.lib.debug.595311487" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="com.crt.advproject.builder.lib.debug"/>
|
||||||
|
<tool id="com.crt.advproject.cpp.lib.debug.553782858" name="MCU C++ Compiler" superClass="com.crt.advproject.cpp.lib.debug">
|
||||||
|
<option id="com.crt.advproject.cpp.thumb.713321363" name="Thumb mode" superClass="com.crt.advproject.cpp.thumb" useByScannerDiscovery="false" value="true" valueType="boolean"/>
|
||||||
|
<option id="com.crt.advproject.cpp.specs.1734456184" name="Specs" superClass="com.crt.advproject.cpp.specs" useByScannerDiscovery="false" value="com.crt.advproject.cpp.specs.newlib" valueType="enumerated"/>
|
||||||
|
<option id="com.crt.advproject.cpp.arch.1354246187" name="Architecture" superClass="com.crt.advproject.cpp.arch" useByScannerDiscovery="true" value="com.crt.advproject.cpp.target.cm3" valueType="enumerated"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.cpp.compiler.option.preprocessor.def.1677251291" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" useByScannerDiscovery="false" valueType="definedSymbols">
|
||||||
|
<listOptionValue builtIn="false" value="DEBUG"/>
|
||||||
|
<listOptionValue builtIn="false" value="__CODE_RED"/>
|
||||||
|
<listOptionValue builtIn="false" value="__NEWLIB__"/>
|
||||||
|
<listOptionValue builtIn="false" value="CORE_M3"/>
|
||||||
|
<listOptionValue builtIn="false" value="__USE_LPCOPEN"/>
|
||||||
|
<listOptionValue builtIn="false" value="__LPC15XX__"/>
|
||||||
|
</option>
|
||||||
|
<option id="gnu.cpp.compiler.option.other.other.1929744940" name="Other flags" superClass="gnu.cpp.compiler.option.other.other" useByScannerDiscovery="false" value="-c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions" valueType="string"/>
|
||||||
|
<option id="gnu.cpp.compiler.option.optimization.flags.807727755" name="Other optimization flags" superClass="gnu.cpp.compiler.option.optimization.flags" useByScannerDiscovery="false" value="-fno-common" valueType="string"/>
|
||||||
|
<option id="com.crt.advproject.cpp.hdrlib.1012949578" name="Library headers" superClass="com.crt.advproject.cpp.hdrlib" useByScannerDiscovery="false" value="Newlib" valueType="enumerated"/>
|
||||||
|
<option id="com.crt.advproject.cpp.fpu.894793973" name="Floating point" superClass="com.crt.advproject.cpp.fpu" useByScannerDiscovery="true"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.cpp.compiler.option.include.paths.1896460013" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/lpc_board_nxp_lpcxpresso_1549/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/lpc_chip_15xx/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc://inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/Modbus/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/GMP252Sensor/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/StateHandler/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/I2C/inc}""/>
|
||||||
|
</option>
|
||||||
|
<option id="com.crt.advproject.cpp.misc.dialect.513671225" name="Language standard" superClass="com.crt.advproject.cpp.misc.dialect" useByScannerDiscovery="true" value="com.crt.advproject.misc.dialect.c++11" valueType="enumerated"/>
|
||||||
|
<inputType id="com.crt.advproject.compiler.cpp.input.1176762799" superClass="com.crt.advproject.compiler.cpp.input"/>
|
||||||
|
</tool>
|
||||||
|
<tool id="com.crt.advproject.gcc.lib.debug.426923430" name="MCU C Compiler" superClass="com.crt.advproject.gcc.lib.debug">
|
||||||
|
<option id="com.crt.advproject.gcc.thumb.761197868" name="Thumb mode" superClass="com.crt.advproject.gcc.thumb" useByScannerDiscovery="false" value="true" valueType="boolean"/>
|
||||||
|
<option id="com.crt.advproject.gcc.arch.1679440824" name="Architecture" superClass="com.crt.advproject.gcc.arch" useByScannerDiscovery="true" value="com.crt.advproject.gcc.target.cm3" valueType="enumerated"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.compiler.option.preprocessor.def.symbols.1803621515" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" useByScannerDiscovery="false" valueType="definedSymbols">
|
||||||
|
<listOptionValue builtIn="false" value="DEBUG"/>
|
||||||
|
<listOptionValue builtIn="false" value="__CODE_RED"/>
|
||||||
|
<listOptionValue builtIn="false" value="CORE_M3"/>
|
||||||
|
<listOptionValue builtIn="false" value="__USE_LPCOPEN"/>
|
||||||
|
<listOptionValue builtIn="false" value="__LPC15XX__"/>
|
||||||
|
<listOptionValue builtIn="false" value="__NEWLIB__"/>
|
||||||
|
</option>
|
||||||
|
<option id="gnu.c.compiler.option.misc.other.1787826473" name="Other flags" superClass="gnu.c.compiler.option.misc.other" useByScannerDiscovery="false" value="-c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections" valueType="string"/>
|
||||||
|
<option id="gnu.c.compiler.option.optimization.flags.952811197" name="Other optimization flags" superClass="gnu.c.compiler.option.optimization.flags" useByScannerDiscovery="false" value="-fno-common" valueType="string"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.compiler.option.include.paths.1875701637" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/lpc_board_nxp_lpcxpresso_1549/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/lpc_chip_15xx/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc://inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/Modbus/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/GMP252Sensor/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/StateHandler/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/I2C/inc}""/>
|
||||||
|
</option>
|
||||||
|
<option id="com.crt.advproject.c.misc.dialect.852652328" name="Language standard" superClass="com.crt.advproject.c.misc.dialect" useByScannerDiscovery="true" value="com.crt.advproject.misc.dialect.c11" valueType="enumerated"/>
|
||||||
|
<option id="com.crt.advproject.gcc.hdrlib.973071096" name="Library headers" superClass="com.crt.advproject.gcc.hdrlib" useByScannerDiscovery="false" value="Newlib" valueType="enumerated"/>
|
||||||
|
<option id="com.crt.advproject.gcc.specs.979363738" name="Specs" superClass="com.crt.advproject.gcc.specs" useByScannerDiscovery="false" value="com.crt.advproject.gcc.specs.newlib" valueType="enumerated"/>
|
||||||
|
<inputType id="com.crt.advproject.compiler.input.1525366442" superClass="com.crt.advproject.compiler.input"/>
|
||||||
|
</tool>
|
||||||
|
<tool id="com.crt.advproject.gas.lib.debug.468977966" name="MCU Assembler" superClass="com.crt.advproject.gas.lib.debug">
|
||||||
|
<option id="com.crt.advproject.gas.thumb.2101948093" name="Thumb mode" superClass="com.crt.advproject.gas.thumb" value="true" valueType="boolean"/>
|
||||||
|
<option id="com.crt.advproject.gas.arch.1422715608" name="Architecture" superClass="com.crt.advproject.gas.arch" value="com.crt.advproject.gas.target.cm3" valueType="enumerated"/>
|
||||||
|
<option id="gnu.both.asm.option.flags.crt.820363554" name="Assembler flags" superClass="gnu.both.asm.option.flags.crt" value="-c -x assembler-with-cpp -DDEBUG -D__CODE_RED -DCORE_M3 -D__USE_LPCOPEN -D__LPC15XX__ -D__NEWLIB__" valueType="string"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.both.asm.option.include.paths.846343913" name="Include paths (-I)" superClass="gnu.both.asm.option.include.paths" valueType="includePath">
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/lpc_board_nxp_lpcxpresso_1549/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/lpc_chip_15xx/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc://inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/Modbus/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/GMP252Sensor/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/StateHandler/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/I2C/inc}""/>
|
||||||
|
</option>
|
||||||
|
<option id="com.crt.advproject.gas.hdrlib.550311056" name="Library headers" superClass="com.crt.advproject.gas.hdrlib" value="Newlib" valueType="enumerated"/>
|
||||||
|
<option id="com.crt.advproject.gas.specs.455144924" name="Specs" superClass="com.crt.advproject.gas.specs" value="com.crt.advproject.gas.specs.newlib" valueType="enumerated"/>
|
||||||
|
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1486134472" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
||||||
|
<inputType id="com.crt.advproject.assembler.input.40995734" name="Additional Assembly Source Files" superClass="com.crt.advproject.assembler.input"/>
|
||||||
|
</tool>
|
||||||
|
<tool id="com.crt.advproject.ar.lib.debug.1693835495" name="MCU Archiver" superClass="com.crt.advproject.ar.lib.debug"/>
|
||||||
|
</toolChain>
|
||||||
|
</folderInfo>
|
||||||
|
<sourceEntries>
|
||||||
|
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="inc"/>
|
||||||
|
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
|
||||||
|
</sourceEntries>
|
||||||
|
</configuration>
|
||||||
|
</storageModule>
|
||||||
|
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||||
|
</cconfiguration>
|
||||||
|
<cconfiguration id="com.crt.advproject.config.lib.release.1206835290">
|
||||||
|
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.crt.advproject.config.lib.release.1206835290" moduleId="org.eclipse.cdt.core.settings" name="Release">
|
||||||
|
<externalSettings>
|
||||||
|
<externalSetting>
|
||||||
|
<entry flags="VALUE_WORKSPACE_PATH" kind="includePath" name="/GMP252Sensor"/>
|
||||||
|
<entry flags="VALUE_WORKSPACE_PATH" kind="libraryPath" name="/GMP252Sensor/Release"/>
|
||||||
|
<entry flags="RESOLVED" kind="libraryFile" name="GMP252Sensor" srcPrefixMapping="" srcRootPath=""/>
|
||||||
|
</externalSetting>
|
||||||
|
</externalSettings>
|
||||||
|
<extensions>
|
||||||
|
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
</extensions>
|
||||||
|
</storageModule>
|
||||||
|
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||||
|
<configuration artifactExtension="a" artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.staticLib" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.staticLib" cleanCommand="rm -rf" description="Release 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.lib.release.1206835290" name="Release" parent="com.crt.advproject.config.lib.release" postannouncebuildStep="Performing post-build steps" postbuildStep="arm-none-eabi-size "lib${BuildArtifactFileName}" ; # arm-none-eabi-objdump -h -S "lib${BuildArtifactFileName}" >"${BuildArtifactFileBaseName}.lss"">
|
||||||
|
<folderInfo id="com.crt.advproject.config.lib.release.1206835290." name="/" resourcePath="">
|
||||||
|
<toolChain id="com.crt.advproject.toolchain.lib.release.159696106" name="NXP MCU Tools" superClass="com.crt.advproject.toolchain.lib.release">
|
||||||
|
<targetPlatform binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.GNU_ELF" id="com.crt.advproject.platform.lib.release.795148322" name="ARM-based MCU (Debug)" superClass="com.crt.advproject.platform.lib.release"/>
|
||||||
|
<builder buildPath="${workspace_loc:/GMP252Sensor}/Release" id="com.crt.advproject.builder.lib.release.1431184522" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="com.crt.advproject.builder.lib.release"/>
|
||||||
|
<tool id="com.crt.advproject.cpp.lib.release.1515011333" name="MCU C++ Compiler" superClass="com.crt.advproject.cpp.lib.release">
|
||||||
|
<option id="com.crt.advproject.cpp.thumb.148804734" name="Thumb mode" superClass="com.crt.advproject.cpp.thumb" useByScannerDiscovery="false" value="true" valueType="boolean"/>
|
||||||
|
<option id="com.crt.advproject.cpp.specs.2145642120" name="Specs" superClass="com.crt.advproject.cpp.specs" useByScannerDiscovery="false" value="com.crt.advproject.cpp.specs.newlib" valueType="enumerated"/>
|
||||||
|
<option id="com.crt.advproject.cpp.arch.639018477" name="Architecture" superClass="com.crt.advproject.cpp.arch" useByScannerDiscovery="true" value="com.crt.advproject.cpp.target.cm3" valueType="enumerated"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.cpp.compiler.option.preprocessor.def.1699446689" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" useByScannerDiscovery="false" valueType="definedSymbols">
|
||||||
|
<listOptionValue builtIn="false" value="NDEBUG"/>
|
||||||
|
<listOptionValue builtIn="false" value="__CODE_RED"/>
|
||||||
|
<listOptionValue builtIn="false" value="__NEWLIB__"/>
|
||||||
|
<listOptionValue builtIn="false" value="CORE_M3"/>
|
||||||
|
<listOptionValue builtIn="false" value="__USE_LPCOPEN"/>
|
||||||
|
<listOptionValue builtIn="false" value="__LPC15XX__"/>
|
||||||
|
</option>
|
||||||
|
<option id="gnu.cpp.compiler.option.other.other.204274487" name="Other flags" superClass="gnu.cpp.compiler.option.other.other" useByScannerDiscovery="false" value="-c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions" valueType="string"/>
|
||||||
|
<option id="gnu.cpp.compiler.option.optimization.flags.631065130" name="Other optimization flags" superClass="gnu.cpp.compiler.option.optimization.flags" useByScannerDiscovery="false" value="-fno-common -Os" valueType="string"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.cpp.compiler.option.include.paths.1788280358" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/lpc_board_nxp_lpcxpresso_1549/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/lpc_chip_15xx/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc://inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/Modbus/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/GMP252Sensor/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/StateHandler/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/I2C/inc}""/>
|
||||||
|
</option>
|
||||||
|
<option id="com.crt.advproject.cpp.misc.dialect.699918473" name="Language standard" superClass="com.crt.advproject.cpp.misc.dialect" useByScannerDiscovery="true" value="com.crt.advproject.misc.dialect.c++11" valueType="enumerated"/>
|
||||||
|
<option id="com.crt.advproject.cpp.hdrlib.1382793687" name="Library headers" superClass="com.crt.advproject.cpp.hdrlib" useByScannerDiscovery="false" value="Newlib" valueType="enumerated"/>
|
||||||
|
<inputType id="com.crt.advproject.compiler.cpp.input.114815700" superClass="com.crt.advproject.compiler.cpp.input"/>
|
||||||
|
</tool>
|
||||||
|
<tool id="com.crt.advproject.gcc.lib.release.1592592850" name="MCU C Compiler" superClass="com.crt.advproject.gcc.lib.release">
|
||||||
|
<option id="com.crt.advproject.gcc.thumb.968740196" name="Thumb mode" superClass="com.crt.advproject.gcc.thumb" useByScannerDiscovery="false" value="true" valueType="boolean"/>
|
||||||
|
<option id="com.crt.advproject.gcc.arch.189903950" name="Architecture" superClass="com.crt.advproject.gcc.arch" useByScannerDiscovery="true" value="com.crt.advproject.gcc.target.cm3" valueType="enumerated"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.compiler.option.preprocessor.def.symbols.1070036726" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" useByScannerDiscovery="false" valueType="definedSymbols">
|
||||||
|
<listOptionValue builtIn="false" value="NDEBUG"/>
|
||||||
|
<listOptionValue builtIn="false" value="__CODE_RED"/>
|
||||||
|
<listOptionValue builtIn="false" value="CORE_M3"/>
|
||||||
|
<listOptionValue builtIn="false" value="__USE_LPCOPEN"/>
|
||||||
|
<listOptionValue builtIn="false" value="__LPC15XX__"/>
|
||||||
|
<listOptionValue builtIn="false" value="__NEWLIB__"/>
|
||||||
|
</option>
|
||||||
|
<option id="gnu.c.compiler.option.misc.other.1518638092" name="Other flags" superClass="gnu.c.compiler.option.misc.other" useByScannerDiscovery="false" value="-c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections" valueType="string"/>
|
||||||
|
<option id="gnu.c.compiler.option.optimization.flags.2132360222" name="Other optimization flags" superClass="gnu.c.compiler.option.optimization.flags" useByScannerDiscovery="false" value="-fno-common" valueType="string"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.compiler.option.include.paths.1304994055" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/lpc_board_nxp_lpcxpresso_1549/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/lpc_chip_15xx/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc://inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/Modbus/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/GMP252Sensor/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/StateHandler/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/I2C/inc}""/>
|
||||||
|
</option>
|
||||||
|
<option id="com.crt.advproject.c.misc.dialect.2143534681" name="Language standard" superClass="com.crt.advproject.c.misc.dialect" useByScannerDiscovery="true" value="com.crt.advproject.misc.dialect.c11" valueType="enumerated"/>
|
||||||
|
<option id="com.crt.advproject.gcc.hdrlib.2005154593" name="Library headers" superClass="com.crt.advproject.gcc.hdrlib" useByScannerDiscovery="false" value="Newlib" valueType="enumerated"/>
|
||||||
|
<option id="com.crt.advproject.gcc.specs.1865700240" name="Specs" superClass="com.crt.advproject.gcc.specs" useByScannerDiscovery="false" value="com.crt.advproject.gcc.specs.newlib" valueType="enumerated"/>
|
||||||
|
<inputType id="com.crt.advproject.compiler.input.636659424" superClass="com.crt.advproject.compiler.input"/>
|
||||||
|
</tool>
|
||||||
|
<tool id="com.crt.advproject.gas.lib.release.1389287350" name="MCU Assembler" superClass="com.crt.advproject.gas.lib.release">
|
||||||
|
<option id="com.crt.advproject.gas.thumb.1260936059" name="Thumb mode" superClass="com.crt.advproject.gas.thumb" value="true" valueType="boolean"/>
|
||||||
|
<option id="com.crt.advproject.gas.arch.77516139" name="Architecture" superClass="com.crt.advproject.gas.arch" value="com.crt.advproject.gas.target.cm3" valueType="enumerated"/>
|
||||||
|
<option id="gnu.both.asm.option.flags.crt.49818946" name="Assembler flags" superClass="gnu.both.asm.option.flags.crt" value="-c -x assembler-with-cpp -DNDEBUG -D__CODE_RED -DCORE_M3 -D__USE_LPCOPEN -D__LPC15XX__ -D__NEWLIB__" valueType="string"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.both.asm.option.include.paths.961974749" name="Include paths (-I)" superClass="gnu.both.asm.option.include.paths" valueType="includePath">
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/lpc_board_nxp_lpcxpresso_1549/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/lpc_chip_15xx/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc://inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/Modbus/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/GMP252Sensor/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/StateHandler/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/I2C/inc}""/>
|
||||||
|
</option>
|
||||||
|
<option id="com.crt.advproject.gas.hdrlib.136639862" name="Library headers" superClass="com.crt.advproject.gas.hdrlib" value="Newlib" valueType="enumerated"/>
|
||||||
|
<option id="com.crt.advproject.gas.specs.385989749" name="Specs" superClass="com.crt.advproject.gas.specs" value="com.crt.advproject.gas.specs.newlib" valueType="enumerated"/>
|
||||||
|
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1880508675" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
||||||
|
<inputType id="com.crt.advproject.assembler.input.1456288421" name="Additional Assembly Source Files" superClass="com.crt.advproject.assembler.input"/>
|
||||||
|
</tool>
|
||||||
|
<tool id="com.crt.advproject.ar.lib.release.1898694923" name="MCU Archiver" superClass="com.crt.advproject.ar.lib.release"/>
|
||||||
|
</toolChain>
|
||||||
|
</folderInfo>
|
||||||
|
<sourceEntries>
|
||||||
|
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="inc"/>
|
||||||
|
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
|
||||||
|
</sourceEntries>
|
||||||
|
</configuration>
|
||||||
|
</storageModule>
|
||||||
|
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||||
|
</cconfiguration>
|
||||||
|
</storageModule>
|
||||||
|
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||||
|
<project id="GMP252Sensor.com.crt.advproject.projecttype.lib.1772285142" name="Static Library" projectType="com.crt.advproject.projecttype.lib"/>
|
||||||
|
</storageModule>
|
||||||
|
<storageModule moduleId="scannerConfiguration">
|
||||||
|
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||||
|
</storageModule>
|
||||||
|
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||||
|
<storageModule moduleId="com.crt.config">
|
||||||
|
<projectStorage><?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<TargetConfig>
|
||||||
|
<Properties property_2="LPC15xx_256K.cfx" property_3="NXP" property_4="LPC1549" property_count="5" version="100300"/>
|
||||||
|
<infoList vendor="NXP">
|
||||||
|
<info chip="LPC1549" connectscript="LPC15RunBootRomConnect.scp" flash_driver="LPC15xx_256K.cfx" match_id="0x0" name="LPC1549" resetscript="LPC15RunBootRomReset.scp" stub="crt_emu_cm3_gen">
|
||||||
|
<chip>
|
||||||
|
<name>LPC1549</name>
|
||||||
|
<family>LPC15xx</family>
|
||||||
|
<vendor>NXP (formerly Philips)</vendor>
|
||||||
|
<reset board="None" core="Real" sys="Real"/>
|
||||||
|
<clock changeable="TRUE" freq="12MHz" is_accurate="TRUE"/>
|
||||||
|
<memory can_program="true" id="Flash" is_ro="true" type="Flash"/>
|
||||||
|
<memory id="RAM" type="RAM"/>
|
||||||
|
<memory id="Periph" is_volatile="true" type="Peripheral"/>
|
||||||
|
<memoryInstance derived_from="Flash" id="MFlash256" location="0x0" size="0x40000"/>
|
||||||
|
<memoryInstance derived_from="RAM" id="Ram0_16" location="0x2000000" size="0x4000"/>
|
||||||
|
<memoryInstance derived_from="RAM" id="Ram1_16" location="0x2004000" size="0x4000"/>
|
||||||
|
<memoryInstance derived_from="RAM" id="Ram2_4" location="0x2008000" size="0x1000"/>
|
||||||
|
</chip>
|
||||||
|
<processor>
|
||||||
|
<name gcc_name="cortex-m3">Cortex-M3</name>
|
||||||
|
<family>Cortex-M</family>
|
||||||
|
</processor>
|
||||||
|
</info>
|
||||||
|
</infoList>
|
||||||
|
</TargetConfig></projectStorage>
|
||||||
|
</storageModule>
|
||||||
|
<storageModule moduleId="refreshScope"/>
|
||||||
|
<storageModule moduleId="com.crt.advproject">
|
||||||
|
<boardId>LPCXpresso1549</boardId>
|
||||||
|
</storageModule>
|
||||||
|
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
|
||||||
|
</cproject>
|
||||||
1
GMP252Sensor/.gitignore
vendored
Normal file
1
GMP252Sensor/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/Debug/
|
||||||
32
GMP252Sensor/.project
Normal file
32
GMP252Sensor/.project
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<projectDescription>
|
||||||
|
<name>GMP252Sensor</name>
|
||||||
|
<comment></comment>
|
||||||
|
<projects>
|
||||||
|
<project>lpc_chip_15xx</project>
|
||||||
|
<project>Modbus</project>
|
||||||
|
<project>GMP252Sensor</project>
|
||||||
|
<project>StateHandler</project>
|
||||||
|
<project>I2C</project>
|
||||||
|
</projects>
|
||||||
|
<buildSpec>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
||||||
|
<triggers>clean,full,incremental,</triggers>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
||||||
|
<triggers>full,incremental,</triggers>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
</buildSpec>
|
||||||
|
<natures>
|
||||||
|
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||||
|
<nature>org.eclipse.cdt.core.ccnature</nature>
|
||||||
|
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
||||||
|
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||||
|
</natures>
|
||||||
|
</projectDescription>
|
||||||
25
GMP252Sensor/inc/GMP252.h
Normal file
25
GMP252Sensor/inc/GMP252.h
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
/*
|
||||||
|
* GMP252.h
|
||||||
|
*
|
||||||
|
* Created on: 20 Oct 2022
|
||||||
|
* Author: evgenymeshcheryakov
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef GMP252_H_
|
||||||
|
#define GMP252_H_
|
||||||
|
|
||||||
|
#include "ModbusMaster.h"
|
||||||
|
#include "ModbusRegister.h"
|
||||||
|
|
||||||
|
class GMP252 {
|
||||||
|
public:
|
||||||
|
GMP252();
|
||||||
|
int read();
|
||||||
|
virtual ~GMP252();
|
||||||
|
private:
|
||||||
|
ModbusMaster sens;
|
||||||
|
ModbusRegister regInt;
|
||||||
|
ModbusRegister regFloat;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif /* GMP252_H_ */
|
||||||
32
GMP252Sensor/liblinks.xml
Normal file
32
GMP252Sensor/liblinks.xml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
<!-- liblinks.xml
|
||||||
|
|
||||||
|
NXP LPCXpresso IDE "Smart update wizard" script file
|
||||||
|
When executed on a particular application project, will
|
||||||
|
add appropriate links to the specified library project.
|
||||||
|
|
||||||
|
Note that this script assumes that the application project
|
||||||
|
contains the standard 'Debug' and 'Release' build
|
||||||
|
configurations.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<project name="" update="true">
|
||||||
|
<setting id="all.compiler.inc">
|
||||||
|
<value>${MacroStart}workspace_loc:/${ProjName}/inc${MacroEnd}</value>
|
||||||
|
</setting>
|
||||||
|
<setting id="assembler.inc">
|
||||||
|
<value>${MacroStart}workspace_loc:/${ProjName}/inc${MacroEnd}</value>
|
||||||
|
</setting>
|
||||||
|
<setting id="linker.libs">
|
||||||
|
<value>${ProjName}</value>
|
||||||
|
</setting>
|
||||||
|
<setting id="linker.paths" buildType="Debug">
|
||||||
|
<value>${MacroStart}workspace_loc:/${ProjName}/Debug${MacroEnd}</value>
|
||||||
|
</setting>
|
||||||
|
<setting id="linker.paths" buildType="Release">
|
||||||
|
<value>${MacroStart}workspace_loc:/${ProjName}/Release${MacroEnd}</value>
|
||||||
|
</setting>
|
||||||
|
<requires msg="Library project `${ProjName}` not found">
|
||||||
|
<value>${ProjName}</value>
|
||||||
|
</requires>
|
||||||
|
</project>
|
||||||
|
|
||||||
25
GMP252Sensor/src/GMP252.cpp
Normal file
25
GMP252Sensor/src/GMP252.cpp
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
/*
|
||||||
|
* GMP252.cpp
|
||||||
|
*
|
||||||
|
* Created on: 20 Oct 2022
|
||||||
|
* Author: evgenymeshcheryakov
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "GMP252.h"
|
||||||
|
|
||||||
|
GMP252::GMP252(): sens{240}, regInt{&sens, 0x0100}, regFloat{&sens, 0x0000}{
|
||||||
|
|
||||||
|
sens.begin(9600);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int GMP252:: read() {
|
||||||
|
int result = regInt.read();
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
GMP252::~GMP252() {
|
||||||
|
// TODO Auto-generated destructor stub
|
||||||
|
}
|
||||||
|
|
||||||
262
HMP60Sensor/.cproject
Normal file
262
HMP60Sensor/.cproject
Normal file
@ -0,0 +1,262 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
||||||
|
<storageModule moduleId="org.eclipse.cdt.core.settings">
|
||||||
|
<cconfiguration id="com.crt.advproject.config.lib.debug.641668605">
|
||||||
|
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.crt.advproject.config.lib.debug.641668605" moduleId="org.eclipse.cdt.core.settings" name="Debug">
|
||||||
|
<externalSettings>
|
||||||
|
<externalSetting>
|
||||||
|
<entry flags="VALUE_WORKSPACE_PATH" kind="includePath" name="/HMP60Sensor"/>
|
||||||
|
<entry flags="VALUE_WORKSPACE_PATH" kind="libraryPath" name="/HMP60Sensor/Debug"/>
|
||||||
|
<entry flags="RESOLVED" kind="libraryFile" name="HMP60Sensor" srcPrefixMapping="" srcRootPath=""/>
|
||||||
|
</externalSetting>
|
||||||
|
</externalSettings>
|
||||||
|
<extensions>
|
||||||
|
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
</extensions>
|
||||||
|
</storageModule>
|
||||||
|
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||||
|
<configuration artifactExtension="a" artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.staticLib" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.staticLib" cleanCommand="rm -rf" description="Debug 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.lib.debug.641668605" name="Debug" parent="com.crt.advproject.config.lib.debug" postannouncebuildStep="Performing post-build steps" postbuildStep="arm-none-eabi-size "lib${BuildArtifactFileName}" ; # arm-none-eabi-objdump -h -S "lib${BuildArtifactFileName}" >"${BuildArtifactFileBaseName}.lss"">
|
||||||
|
<folderInfo id="com.crt.advproject.config.lib.debug.641668605." name="/" resourcePath="">
|
||||||
|
<toolChain id="com.crt.advproject.toolchain.lib.debug.397315319" name="NXP MCU Tools" superClass="com.crt.advproject.toolchain.lib.debug">
|
||||||
|
<targetPlatform binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.GNU_ELF" id="com.crt.advproject.platform.lib.debug.1310987916" name="ARM-based MCU (Debug)" superClass="com.crt.advproject.platform.lib.debug"/>
|
||||||
|
<builder buildPath="${workspace_loc:/HMP60Sensor}/Debug" id="com.crt.advproject.builder.lib.debug.756348713" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="com.crt.advproject.builder.lib.debug"/>
|
||||||
|
<tool id="com.crt.advproject.cpp.lib.debug.1636599177" name="MCU C++ Compiler" superClass="com.crt.advproject.cpp.lib.debug">
|
||||||
|
<option id="com.crt.advproject.cpp.thumb.168825724" name="Thumb mode" superClass="com.crt.advproject.cpp.thumb" useByScannerDiscovery="false" value="true" valueType="boolean"/>
|
||||||
|
<option id="com.crt.advproject.cpp.specs.365272152" name="Specs" superClass="com.crt.advproject.cpp.specs" useByScannerDiscovery="false" value="com.crt.advproject.cpp.specs.newlib" valueType="enumerated"/>
|
||||||
|
<option id="com.crt.advproject.cpp.arch.855713672" name="Architecture" superClass="com.crt.advproject.cpp.arch" useByScannerDiscovery="true" value="com.crt.advproject.cpp.target.cm3" valueType="enumerated"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.cpp.compiler.option.preprocessor.def.1089371837" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" useByScannerDiscovery="false" valueType="definedSymbols">
|
||||||
|
<listOptionValue builtIn="false" value="DEBUG"/>
|
||||||
|
<listOptionValue builtIn="false" value="__CODE_RED"/>
|
||||||
|
<listOptionValue builtIn="false" value="__NEWLIB__"/>
|
||||||
|
<listOptionValue builtIn="false" value="CORE_M3"/>
|
||||||
|
<listOptionValue builtIn="false" value="__USE_LPCOPEN"/>
|
||||||
|
<listOptionValue builtIn="false" value="__LPC15XX__"/>
|
||||||
|
</option>
|
||||||
|
<option id="gnu.cpp.compiler.option.other.other.1366904100" name="Other flags" superClass="gnu.cpp.compiler.option.other.other" useByScannerDiscovery="false" value="-c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions" valueType="string"/>
|
||||||
|
<option id="gnu.cpp.compiler.option.optimization.flags.1077217210" name="Other optimization flags" superClass="gnu.cpp.compiler.option.optimization.flags" useByScannerDiscovery="false" value="-fno-common" valueType="string"/>
|
||||||
|
<option id="com.crt.advproject.cpp.hdrlib.144953450" name="Library headers" superClass="com.crt.advproject.cpp.hdrlib" useByScannerDiscovery="false" value="Newlib" valueType="enumerated"/>
|
||||||
|
<option id="com.crt.advproject.cpp.fpu.151033948" name="Floating point" superClass="com.crt.advproject.cpp.fpu" useByScannerDiscovery="true"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.cpp.compiler.option.include.paths.1625052504" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/lpc_board_nxp_lpcxpresso_1549/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/lpc_chip_15xx/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc://inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/HMP60Sensor/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/Modbus/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/I2C/inc}""/>
|
||||||
|
</option>
|
||||||
|
<option id="com.crt.advproject.cpp.misc.dialect.1396758862" name="Language standard" superClass="com.crt.advproject.cpp.misc.dialect" useByScannerDiscovery="true" value="com.crt.advproject.misc.dialect.c++11" valueType="enumerated"/>
|
||||||
|
<inputType id="com.crt.advproject.compiler.cpp.input.1806078537" superClass="com.crt.advproject.compiler.cpp.input"/>
|
||||||
|
</tool>
|
||||||
|
<tool id="com.crt.advproject.gcc.lib.debug.1300611067" name="MCU C Compiler" superClass="com.crt.advproject.gcc.lib.debug">
|
||||||
|
<option id="com.crt.advproject.gcc.thumb.1320185468" name="Thumb mode" superClass="com.crt.advproject.gcc.thumb" useByScannerDiscovery="false" value="true" valueType="boolean"/>
|
||||||
|
<option id="com.crt.advproject.gcc.arch.1245245041" name="Architecture" superClass="com.crt.advproject.gcc.arch" useByScannerDiscovery="true" value="com.crt.advproject.gcc.target.cm3" valueType="enumerated"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.compiler.option.preprocessor.def.symbols.2015778001" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" useByScannerDiscovery="false" valueType="definedSymbols">
|
||||||
|
<listOptionValue builtIn="false" value="DEBUG"/>
|
||||||
|
<listOptionValue builtIn="false" value="__CODE_RED"/>
|
||||||
|
<listOptionValue builtIn="false" value="CORE_M3"/>
|
||||||
|
<listOptionValue builtIn="false" value="__USE_LPCOPEN"/>
|
||||||
|
<listOptionValue builtIn="false" value="__LPC15XX__"/>
|
||||||
|
<listOptionValue builtIn="false" value="__NEWLIB__"/>
|
||||||
|
</option>
|
||||||
|
<option id="gnu.c.compiler.option.misc.other.815706212" name="Other flags" superClass="gnu.c.compiler.option.misc.other" useByScannerDiscovery="false" value="-c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections" valueType="string"/>
|
||||||
|
<option id="gnu.c.compiler.option.optimization.flags.60284095" name="Other optimization flags" superClass="gnu.c.compiler.option.optimization.flags" useByScannerDiscovery="false" value="-fno-common" valueType="string"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.compiler.option.include.paths.156344522" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/lpc_board_nxp_lpcxpresso_1549/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/lpc_chip_15xx/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc://inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/HMP60Sensor/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/Modbus/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/I2C/inc}""/>
|
||||||
|
</option>
|
||||||
|
<option id="com.crt.advproject.c.misc.dialect.1617978092" name="Language standard" superClass="com.crt.advproject.c.misc.dialect" useByScannerDiscovery="true" value="com.crt.advproject.misc.dialect.gnu11" valueType="enumerated"/>
|
||||||
|
<option id="com.crt.advproject.gcc.hdrlib.530902919" name="Library headers" superClass="com.crt.advproject.gcc.hdrlib" useByScannerDiscovery="false" value="Newlib" valueType="enumerated"/>
|
||||||
|
<option id="com.crt.advproject.gcc.specs.137329272" name="Specs" superClass="com.crt.advproject.gcc.specs" useByScannerDiscovery="false" value="com.crt.advproject.gcc.specs.newlib" valueType="enumerated"/>
|
||||||
|
<inputType id="com.crt.advproject.compiler.input.79853974" superClass="com.crt.advproject.compiler.input"/>
|
||||||
|
</tool>
|
||||||
|
<tool id="com.crt.advproject.gas.lib.debug.38147564" name="MCU Assembler" superClass="com.crt.advproject.gas.lib.debug">
|
||||||
|
<option id="com.crt.advproject.gas.thumb.2121524715" name="Thumb mode" superClass="com.crt.advproject.gas.thumb" value="true" valueType="boolean"/>
|
||||||
|
<option id="com.crt.advproject.gas.arch.1791210916" name="Architecture" superClass="com.crt.advproject.gas.arch" value="com.crt.advproject.gas.target.cm3" valueType="enumerated"/>
|
||||||
|
<option id="gnu.both.asm.option.flags.crt.1467947931" name="Assembler flags" superClass="gnu.both.asm.option.flags.crt" value="-c -x assembler-with-cpp -DDEBUG -D__CODE_RED -DCORE_M3 -D__USE_LPCOPEN -D__LPC15XX__ -D__NEWLIB__" valueType="string"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.both.asm.option.include.paths.1459733515" name="Include paths (-I)" superClass="gnu.both.asm.option.include.paths" valueType="includePath">
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/lpc_board_nxp_lpcxpresso_1549/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/lpc_chip_15xx/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc://inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/HMP60Sensor/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/Modbus/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/I2C/inc}""/>
|
||||||
|
</option>
|
||||||
|
<option id="com.crt.advproject.gas.hdrlib.382623387" name="Library headers" superClass="com.crt.advproject.gas.hdrlib" value="Newlib" valueType="enumerated"/>
|
||||||
|
<option id="com.crt.advproject.gas.specs.877335115" name="Specs" superClass="com.crt.advproject.gas.specs" value="com.crt.advproject.gas.specs.newlib" valueType="enumerated"/>
|
||||||
|
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1267480253" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
||||||
|
<inputType id="com.crt.advproject.assembler.input.1560711514" name="Additional Assembly Source Files" superClass="com.crt.advproject.assembler.input"/>
|
||||||
|
</tool>
|
||||||
|
<tool id="com.crt.advproject.ar.lib.debug.2860116" name="MCU Archiver" superClass="com.crt.advproject.ar.lib.debug"/>
|
||||||
|
</toolChain>
|
||||||
|
</folderInfo>
|
||||||
|
<sourceEntries>
|
||||||
|
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="inc"/>
|
||||||
|
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
|
||||||
|
</sourceEntries>
|
||||||
|
</configuration>
|
||||||
|
</storageModule>
|
||||||
|
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||||
|
</cconfiguration>
|
||||||
|
<cconfiguration id="com.crt.advproject.config.lib.release.990891153">
|
||||||
|
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.crt.advproject.config.lib.release.990891153" moduleId="org.eclipse.cdt.core.settings" name="Release">
|
||||||
|
<externalSettings>
|
||||||
|
<externalSetting>
|
||||||
|
<entry flags="VALUE_WORKSPACE_PATH" kind="includePath" name="/HMP60Sensor"/>
|
||||||
|
<entry flags="VALUE_WORKSPACE_PATH" kind="libraryPath" name="/HMP60Sensor/Release"/>
|
||||||
|
<entry flags="RESOLVED" kind="libraryFile" name="HMP60Sensor" srcPrefixMapping="" srcRootPath=""/>
|
||||||
|
</externalSetting>
|
||||||
|
</externalSettings>
|
||||||
|
<extensions>
|
||||||
|
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
</extensions>
|
||||||
|
</storageModule>
|
||||||
|
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||||
|
<configuration artifactExtension="a" artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.staticLib" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.staticLib" cleanCommand="rm -rf" description="Release 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.lib.release.990891153" name="Release" parent="com.crt.advproject.config.lib.release" postannouncebuildStep="Performing post-build steps" postbuildStep="arm-none-eabi-size "lib${BuildArtifactFileName}" ; # arm-none-eabi-objdump -h -S "lib${BuildArtifactFileName}" >"${BuildArtifactFileBaseName}.lss"">
|
||||||
|
<folderInfo id="com.crt.advproject.config.lib.release.990891153." name="/" resourcePath="">
|
||||||
|
<toolChain id="com.crt.advproject.toolchain.lib.release.228555916" name="NXP MCU Tools" superClass="com.crt.advproject.toolchain.lib.release">
|
||||||
|
<targetPlatform binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.GNU_ELF" id="com.crt.advproject.platform.lib.release.917553240" name="ARM-based MCU (Debug)" superClass="com.crt.advproject.platform.lib.release"/>
|
||||||
|
<builder buildPath="${workspace_loc:/HMP60Sensor}/Release" id="com.crt.advproject.builder.lib.release.1541353651" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="com.crt.advproject.builder.lib.release"/>
|
||||||
|
<tool id="com.crt.advproject.cpp.lib.release.1990480460" name="MCU C++ Compiler" superClass="com.crt.advproject.cpp.lib.release">
|
||||||
|
<option id="com.crt.advproject.cpp.thumb.802745210" name="Thumb mode" superClass="com.crt.advproject.cpp.thumb" useByScannerDiscovery="false" value="true" valueType="boolean"/>
|
||||||
|
<option id="com.crt.advproject.cpp.specs.1134750625" name="Specs" superClass="com.crt.advproject.cpp.specs" useByScannerDiscovery="false" value="com.crt.advproject.cpp.specs.newlib" valueType="enumerated"/>
|
||||||
|
<option id="com.crt.advproject.cpp.arch.269803306" name="Architecture" superClass="com.crt.advproject.cpp.arch" useByScannerDiscovery="true" value="com.crt.advproject.cpp.target.cm3" valueType="enumerated"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.cpp.compiler.option.preprocessor.def.804192929" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" useByScannerDiscovery="false" valueType="definedSymbols">
|
||||||
|
<listOptionValue builtIn="false" value="NDEBUG"/>
|
||||||
|
<listOptionValue builtIn="false" value="__CODE_RED"/>
|
||||||
|
<listOptionValue builtIn="false" value="__NEWLIB__"/>
|
||||||
|
<listOptionValue builtIn="false" value="CORE_M3"/>
|
||||||
|
<listOptionValue builtIn="false" value="__USE_LPCOPEN"/>
|
||||||
|
<listOptionValue builtIn="false" value="__LPC15XX__"/>
|
||||||
|
</option>
|
||||||
|
<option id="gnu.cpp.compiler.option.other.other.278115543" name="Other flags" superClass="gnu.cpp.compiler.option.other.other" useByScannerDiscovery="false" value="-c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions" valueType="string"/>
|
||||||
|
<option id="gnu.cpp.compiler.option.optimization.flags.732247638" name="Other optimization flags" superClass="gnu.cpp.compiler.option.optimization.flags" useByScannerDiscovery="false" value="-fno-common -Os" valueType="string"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.cpp.compiler.option.include.paths.387415397" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/lpc_board_nxp_lpcxpresso_1549/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/lpc_chip_15xx/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc://inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/HMP60Sensor/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/Modbus/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/I2C/inc}""/>
|
||||||
|
</option>
|
||||||
|
<option id="com.crt.advproject.cpp.misc.dialect.1231480868" name="Language standard" superClass="com.crt.advproject.cpp.misc.dialect" useByScannerDiscovery="true" value="com.crt.advproject.misc.dialect.c++11" valueType="enumerated"/>
|
||||||
|
<option id="com.crt.advproject.cpp.hdrlib.1417238313" name="Library headers" superClass="com.crt.advproject.cpp.hdrlib" useByScannerDiscovery="false" value="Newlib" valueType="enumerated"/>
|
||||||
|
<inputType id="com.crt.advproject.compiler.cpp.input.1842859036" superClass="com.crt.advproject.compiler.cpp.input"/>
|
||||||
|
</tool>
|
||||||
|
<tool id="com.crt.advproject.gcc.lib.release.1248322053" name="MCU C Compiler" superClass="com.crt.advproject.gcc.lib.release">
|
||||||
|
<option id="com.crt.advproject.gcc.thumb.1963105116" name="Thumb mode" superClass="com.crt.advproject.gcc.thumb" useByScannerDiscovery="false" value="true" valueType="boolean"/>
|
||||||
|
<option id="com.crt.advproject.gcc.arch.1159863238" name="Architecture" superClass="com.crt.advproject.gcc.arch" useByScannerDiscovery="true" value="com.crt.advproject.gcc.target.cm3" valueType="enumerated"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.compiler.option.preprocessor.def.symbols.1606458576" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" useByScannerDiscovery="false" valueType="definedSymbols">
|
||||||
|
<listOptionValue builtIn="false" value="NDEBUG"/>
|
||||||
|
<listOptionValue builtIn="false" value="__CODE_RED"/>
|
||||||
|
<listOptionValue builtIn="false" value="CORE_M3"/>
|
||||||
|
<listOptionValue builtIn="false" value="__USE_LPCOPEN"/>
|
||||||
|
<listOptionValue builtIn="false" value="__LPC15XX__"/>
|
||||||
|
<listOptionValue builtIn="false" value="__NEWLIB__"/>
|
||||||
|
</option>
|
||||||
|
<option id="gnu.c.compiler.option.misc.other.905447585" name="Other flags" superClass="gnu.c.compiler.option.misc.other" useByScannerDiscovery="false" value="-c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections" valueType="string"/>
|
||||||
|
<option id="gnu.c.compiler.option.optimization.flags.1808216559" name="Other optimization flags" superClass="gnu.c.compiler.option.optimization.flags" useByScannerDiscovery="false" value="-fno-common" valueType="string"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.compiler.option.include.paths.753949300" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/lpc_board_nxp_lpcxpresso_1549/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/lpc_chip_15xx/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc://inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/HMP60Sensor/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/Modbus/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/I2C/inc}""/>
|
||||||
|
</option>
|
||||||
|
<option id="com.crt.advproject.c.misc.dialect.2114494290" name="Language standard" superClass="com.crt.advproject.c.misc.dialect" useByScannerDiscovery="true" value="com.crt.advproject.misc.dialect.gnu11" valueType="enumerated"/>
|
||||||
|
<option id="com.crt.advproject.gcc.hdrlib.1058789243" name="Library headers" superClass="com.crt.advproject.gcc.hdrlib" useByScannerDiscovery="false" value="Newlib" valueType="enumerated"/>
|
||||||
|
<option id="com.crt.advproject.gcc.specs.1213198508" name="Specs" superClass="com.crt.advproject.gcc.specs" useByScannerDiscovery="false" value="com.crt.advproject.gcc.specs.newlib" valueType="enumerated"/>
|
||||||
|
<inputType id="com.crt.advproject.compiler.input.1879722603" superClass="com.crt.advproject.compiler.input"/>
|
||||||
|
</tool>
|
||||||
|
<tool id="com.crt.advproject.gas.lib.release.1430069326" name="MCU Assembler" superClass="com.crt.advproject.gas.lib.release">
|
||||||
|
<option id="com.crt.advproject.gas.thumb.1594882966" name="Thumb mode" superClass="com.crt.advproject.gas.thumb" value="true" valueType="boolean"/>
|
||||||
|
<option id="com.crt.advproject.gas.arch.253899727" name="Architecture" superClass="com.crt.advproject.gas.arch" value="com.crt.advproject.gas.target.cm3" valueType="enumerated"/>
|
||||||
|
<option id="gnu.both.asm.option.flags.crt.618307191" name="Assembler flags" superClass="gnu.both.asm.option.flags.crt" value="-c -x assembler-with-cpp -DNDEBUG -D__CODE_RED -DCORE_M3 -D__USE_LPCOPEN -D__LPC15XX__ -D__NEWLIB__" valueType="string"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.both.asm.option.include.paths.1965244684" name="Include paths (-I)" superClass="gnu.both.asm.option.include.paths" valueType="includePath">
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/lpc_board_nxp_lpcxpresso_1549/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/lpc_chip_15xx/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc://inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/HMP60Sensor/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/Modbus/inc}""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${workspace_loc:/I2C/inc}""/>
|
||||||
|
</option>
|
||||||
|
<option id="com.crt.advproject.gas.hdrlib.38450438" name="Library headers" superClass="com.crt.advproject.gas.hdrlib" value="Newlib" valueType="enumerated"/>
|
||||||
|
<option id="com.crt.advproject.gas.specs.763712812" name="Specs" superClass="com.crt.advproject.gas.specs" value="com.crt.advproject.gas.specs.newlib" valueType="enumerated"/>
|
||||||
|
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1412830653" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
||||||
|
<inputType id="com.crt.advproject.assembler.input.326244419" name="Additional Assembly Source Files" superClass="com.crt.advproject.assembler.input"/>
|
||||||
|
</tool>
|
||||||
|
<tool id="com.crt.advproject.ar.lib.release.912959379" name="MCU Archiver" superClass="com.crt.advproject.ar.lib.release"/>
|
||||||
|
</toolChain>
|
||||||
|
</folderInfo>
|
||||||
|
<sourceEntries>
|
||||||
|
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="inc"/>
|
||||||
|
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
|
||||||
|
</sourceEntries>
|
||||||
|
</configuration>
|
||||||
|
</storageModule>
|
||||||
|
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||||
|
</cconfiguration>
|
||||||
|
</storageModule>
|
||||||
|
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||||
|
<project id="HMP60Sensor.com.crt.advproject.projecttype.lib.1391634098" name="Static Library" projectType="com.crt.advproject.projecttype.lib"/>
|
||||||
|
</storageModule>
|
||||||
|
<storageModule moduleId="scannerConfiguration">
|
||||||
|
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||||
|
</storageModule>
|
||||||
|
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||||
|
<storageModule moduleId="com.crt.config">
|
||||||
|
<projectStorage><?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<TargetConfig>
|
||||||
|
<Properties property_2="LPC15xx_256K.cfx" property_3="NXP" property_4="LPC1549" property_count="5" version="100300"/>
|
||||||
|
<infoList vendor="NXP">
|
||||||
|
<info chip="LPC1549" connectscript="LPC15RunBootRomConnect.scp" flash_driver="LPC15xx_256K.cfx" match_id="0x0" name="LPC1549" resetscript="LPC15RunBootRomReset.scp" stub="crt_emu_cm3_gen">
|
||||||
|
<chip>
|
||||||
|
<name>LPC1549</name>
|
||||||
|
<family>LPC15xx</family>
|
||||||
|
<vendor>NXP (formerly Philips)</vendor>
|
||||||
|
<reset board="None" core="Real" sys="Real"/>
|
||||||
|
<clock changeable="TRUE" freq="12MHz" is_accurate="TRUE"/>
|
||||||
|
<memory can_program="true" id="Flash" is_ro="true" type="Flash"/>
|
||||||
|
<memory id="RAM" type="RAM"/>
|
||||||
|
<memory id="Periph" is_volatile="true" type="Peripheral"/>
|
||||||
|
<memoryInstance derived_from="Flash" id="MFlash256" location="0x0" size="0x40000"/>
|
||||||
|
<memoryInstance derived_from="RAM" id="Ram0_16" location="0x2000000" size="0x4000"/>
|
||||||
|
<memoryInstance derived_from="RAM" id="Ram1_16" location="0x2004000" size="0x4000"/>
|
||||||
|
<memoryInstance derived_from="RAM" id="Ram2_4" location="0x2008000" size="0x1000"/>
|
||||||
|
</chip>
|
||||||
|
<processor>
|
||||||
|
<name gcc_name="cortex-m3">Cortex-M3</name>
|
||||||
|
<family>Cortex-M</family>
|
||||||
|
</processor>
|
||||||
|
</info>
|
||||||
|
</infoList>
|
||||||
|
</TargetConfig></projectStorage>
|
||||||
|
</storageModule>
|
||||||
|
<storageModule moduleId="refreshScope"/>
|
||||||
|
<storageModule moduleId="com.crt.advproject">
|
||||||
|
<boardId>LPCXpresso1549</boardId>
|
||||||
|
</storageModule>
|
||||||
|
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
|
||||||
|
</cproject>
|
||||||
1
HMP60Sensor/.gitignore
vendored
Normal file
1
HMP60Sensor/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/Debug/
|
||||||
31
HMP60Sensor/.project
Normal file
31
HMP60Sensor/.project
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<projectDescription>
|
||||||
|
<name>HMP60Sensor</name>
|
||||||
|
<comment></comment>
|
||||||
|
<projects>
|
||||||
|
<project>lpc_chip_15xx</project>
|
||||||
|
<project>HMP60Sensor</project>
|
||||||
|
<project>Modbus</project>
|
||||||
|
<project>I2C</project>
|
||||||
|
</projects>
|
||||||
|
<buildSpec>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
||||||
|
<triggers>clean,full,incremental,</triggers>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
||||||
|
<triggers>full,incremental,</triggers>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
</buildSpec>
|
||||||
|
<natures>
|
||||||
|
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||||
|
<nature>org.eclipse.cdt.core.ccnature</nature>
|
||||||
|
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
||||||
|
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||||
|
</natures>
|
||||||
|
</projectDescription>
|
||||||
27
HMP60Sensor/inc/HMP60.h
Normal file
27
HMP60Sensor/inc/HMP60.h
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
/*
|
||||||
|
* HMP60.h
|
||||||
|
*
|
||||||
|
* Created on: 20 Oct 2022
|
||||||
|
* Author: evgenymeshcheryakov
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef HMP60_H_
|
||||||
|
#define HMP60_H_
|
||||||
|
|
||||||
|
#include "ModbusMaster.h"
|
||||||
|
#include "ModbusRegister.h"
|
||||||
|
|
||||||
|
class HMP60 {
|
||||||
|
public:
|
||||||
|
HMP60();
|
||||||
|
int readRH();
|
||||||
|
int readT();
|
||||||
|
virtual ~HMP60();
|
||||||
|
private:
|
||||||
|
ModbusMaster sens;
|
||||||
|
ModbusRegister regRHint;
|
||||||
|
ModbusRegister regRHfloat;
|
||||||
|
ModbusRegister regTint;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif /* HMP60_H_ */
|
||||||
32
HMP60Sensor/liblinks.xml
Normal file
32
HMP60Sensor/liblinks.xml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
<!-- liblinks.xml
|
||||||
|
|
||||||
|
NXP LPCXpresso IDE "Smart update wizard" script file
|
||||||
|
When executed on a particular application project, will
|
||||||
|
add appropriate links to the specified library project.
|
||||||
|
|
||||||
|
Note that this script assumes that the application project
|
||||||
|
contains the standard 'Debug' and 'Release' build
|
||||||
|
configurations.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<project name="" update="true">
|
||||||
|
<setting id="all.compiler.inc">
|
||||||
|
<value>${MacroStart}workspace_loc:/${ProjName}/inc${MacroEnd}</value>
|
||||||
|
</setting>
|
||||||
|
<setting id="assembler.inc">
|
||||||
|
<value>${MacroStart}workspace_loc:/${ProjName}/inc${MacroEnd}</value>
|
||||||
|
</setting>
|
||||||
|
<setting id="linker.libs">
|
||||||
|
<value>${ProjName}</value>
|
||||||
|
</setting>
|
||||||
|
<setting id="linker.paths" buildType="Debug">
|
||||||
|
<value>${MacroStart}workspace_loc:/${ProjName}/Debug${MacroEnd}</value>
|
||||||
|
</setting>
|
||||||
|
<setting id="linker.paths" buildType="Release">
|
||||||
|
<value>${MacroStart}workspace_loc:/${ProjName}/Release${MacroEnd}</value>
|
||||||
|
</setting>
|
||||||
|
<requires msg="Library project `${ProjName}` not found">
|
||||||
|
<value>${ProjName}</value>
|
||||||
|
</requires>
|
||||||
|
</project>
|
||||||
|
|
||||||
29
HMP60Sensor/src/HMP60.cpp
Normal file
29
HMP60Sensor/src/HMP60.cpp
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
/*
|
||||||
|
* HMP60.cpp
|
||||||
|
*
|
||||||
|
* Created on: 20 Oct 2022
|
||||||
|
* Author: evgenymeshcheryakov
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <HMP60.h>
|
||||||
|
|
||||||
|
HMP60::HMP60() : sens{241}, regRHint{&sens, 0x0100},
|
||||||
|
regTint{&sens, 0x0101}, regRHfloat{&sens, 0x0000}
|
||||||
|
{
|
||||||
|
sens.begin(9600);
|
||||||
|
}
|
||||||
|
|
||||||
|
int HMP60::readRH() {
|
||||||
|
int result = regRHint.read();
|
||||||
|
return result/10;
|
||||||
|
}
|
||||||
|
|
||||||
|
int HMP60::readT() {
|
||||||
|
int result = regTint.read();
|
||||||
|
return result/10;
|
||||||
|
}
|
||||||
|
|
||||||
|
HMP60::~HMP60() {
|
||||||
|
// TODO Auto-generated destructor stub
|
||||||
|
}
|
||||||
|
|
||||||
@ -22,6 +22,8 @@ int ModbusRegister::read() {
|
|||||||
void ModbusRegister::write(int value)
|
void ModbusRegister::write(int value)
|
||||||
{
|
{
|
||||||
// write only if not
|
// write only if not
|
||||||
if(hr) m->writeSingleRegister(addr, value); // not checking if write succeeds
|
volatile uint8_t error = 15;
|
||||||
|
if(hr)
|
||||||
|
error = m->writeSingleRegister(addr, value);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user