diff --git a/2-2_asm/.cproject b/2-2_asm/.cproject new file mode 100644 index 0000000000000000000000000000000000000000..1c0b27151d764af24147ab395b0f9f2ec3b226ed --- /dev/null +++ b/2-2_asm/.cproject @@ -0,0 +1,422 @@ +<?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.exe.debug.895943725"> + <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.crt.advproject.config.exe.debug.895943725" moduleId="org.eclipse.cdt.core.settings" name="Debug"> + <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.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.eclipse.cdt.core.GCCErrorParser" 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"/> + </extensions> + </storageModule> + <storageModule moduleId="cdtBuildSystem" version="4.0.0"> + <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="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.exe.debug.895943725" name="Debug" parent="com.crt.advproject.config.exe.debug" postannouncebuildStep="Performing post-build steps" postbuildStep="arm-none-eabi-size "${BuildArtifactFileName}"; # arm-none-eabi-objcopy -O binary "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" ; checksum -p ${TargetChip} -d "${BuildArtifactFileBaseName}.bin"; "> + <folderInfo id="com.crt.advproject.config.exe.debug.895943725." name="/" resourcePath=""> + <toolChain id="com.crt.advproject.toolchain.exe.debug.974803840" name="Code Red MCU Tools" superClass="com.crt.advproject.toolchain.exe.debug"> + <targetPlatform binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.GNU_ELF" id="com.crt.advproject.platform.exe.debug.1530897853" name="ARM-based MCU (Debug)" superClass="com.crt.advproject.platform.exe.debug"/> + <builder buildPath="${workspace_loc:/labo3_ASM2}/Debug" id="com.crt.advproject.builder.exe.debug.1362605697" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="com.crt.advproject.builder.exe.debug"/> + <tool id="com.crt.advproject.cpp.exe.debug.1157438927" name="MCU C++ Compiler" superClass="com.crt.advproject.cpp.exe.debug"> + <option id="com.crt.advproject.cpp.hdrlib.363131615" name="Library headers" superClass="com.crt.advproject.cpp.hdrlib" useByScannerDiscovery="false"/> + <option id="gnu.cpp.compiler.option.preprocessor.def.1851768140" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" useByScannerDiscovery="false"/> + <option id="com.crt.advproject.cpp.fpu.631938985" name="Floating point" superClass="com.crt.advproject.cpp.fpu" useByScannerDiscovery="false"/> + </tool> + <tool id="com.crt.advproject.gcc.exe.debug.677906134" name="MCU C Compiler" superClass="com.crt.advproject.gcc.exe.debug"> + <option id="com.crt.advproject.gcc.arch.81199105" name="Architecture" superClass="com.crt.advproject.gcc.arch" useByScannerDiscovery="false" value="com.crt.advproject.gcc.target.cm3" valueType="enumerated"/> + <option id="com.crt.advproject.gcc.thumb.96942193" name="Thumb mode" superClass="com.crt.advproject.gcc.thumb" useByScannerDiscovery="false" value="true" valueType="boolean"/> + <option id="com.crt.advproject.gcc.hdrlib.1902416167" name="Library headers" superClass="com.crt.advproject.gcc.hdrlib" useByScannerDiscovery="false" value="com.crt.advproject.gcc.hdrlib.codered" valueType="enumerated"/> + <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.compiler.option.preprocessor.def.symbols.897560294" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" useByScannerDiscovery="false" valueType="definedSymbols"> + <listOptionValue builtIn="false" value="__REDLIB__"/> + <listOptionValue builtIn="false" value="DEBUG"/> + <listOptionValue builtIn="false" value="__CODE_RED"/> + </option> + <option id="gnu.c.compiler.option.misc.other.2118060724" 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="com.crt.advproject.gcc.exe.debug.option.optimization.level.1981818458" name="Optimization Level" superClass="com.crt.advproject.gcc.exe.debug.option.optimization.level" useByScannerDiscovery="false"/> + <option id="com.crt.advproject.gcc.fpu.406853925" name="Floating point" superClass="com.crt.advproject.gcc.fpu" useByScannerDiscovery="false"/> + <option id="com.crt.advproject.c.misc.dialect.413771633" superClass="com.crt.advproject.c.misc.dialect"/> + <option id="gnu.c.compiler.option.dialect.flags.114195558" superClass="gnu.c.compiler.option.dialect.flags"/> + <option id="gnu.c.compiler.option.preprocessor.nostdinc.580152572" superClass="gnu.c.compiler.option.preprocessor.nostdinc"/> + <option id="gnu.c.compiler.option.preprocessor.preprocess.193466982" superClass="gnu.c.compiler.option.preprocessor.preprocess"/> + <option id="gnu.c.compiler.option.preprocessor.undef.symbol.643908346" superClass="gnu.c.compiler.option.preprocessor.undef.symbol"/> + <option id="gnu.c.compiler.option.include.paths.459994470" superClass="gnu.c.compiler.option.include.paths"/> + <option id="gnu.c.compiler.option.include.files.1743586682" superClass="gnu.c.compiler.option.include.files"/> + <option id="gnu.c.compiler.option.optimization.flags.630915889" superClass="gnu.c.compiler.option.optimization.flags"/> + <option id="com.crt.advproject.gcc.exe.debug.option.debugging.level.96740646" superClass="com.crt.advproject.gcc.exe.debug.option.debugging.level"/> + <option id="gnu.c.compiler.option.debugging.other.332156700" superClass="gnu.c.compiler.option.debugging.other"/> + <option id="gnu.c.compiler.option.debugging.prof.1316094711" superClass="gnu.c.compiler.option.debugging.prof"/> + <option id="gnu.c.compiler.option.debugging.gprof.2105487732" superClass="gnu.c.compiler.option.debugging.gprof"/> + <option id="gnu.c.compiler.option.debugging.codecov.1725555217" superClass="gnu.c.compiler.option.debugging.codecov"/> + <option id="gnu.c.compiler.option.debugging.sanitaddress.470906941" superClass="gnu.c.compiler.option.debugging.sanitaddress"/> + <option id="gnu.c.compiler.option.debugging.sanitpointers.241096357" superClass="gnu.c.compiler.option.debugging.sanitpointers"/> + <option id="gnu.c.compiler.option.debugging.sanitthread.306227980" superClass="gnu.c.compiler.option.debugging.sanitthread"/> + <option id="gnu.c.compiler.option.debugging.sanitleak.255888724" superClass="gnu.c.compiler.option.debugging.sanitleak"/> + <option id="gnu.c.compiler.option.debugging.sanitundef.207500707" superClass="gnu.c.compiler.option.debugging.sanitundef"/> + <option id="gnu.c.compiler.option.warnings.syntax.1509816740" superClass="gnu.c.compiler.option.warnings.syntax"/> + <option id="gnu.c.compiler.option.warnings.pedantic.298821694" superClass="gnu.c.compiler.option.warnings.pedantic"/> + <option id="gnu.c.compiler.option.warnings.pedantic.error.858542963" superClass="gnu.c.compiler.option.warnings.pedantic.error"/> + <option id="gnu.c.compiler.option.warnings.nowarn.623061631" superClass="gnu.c.compiler.option.warnings.nowarn"/> + <option id="gnu.c.compiler.option.warnings.allwarn.1322739162" superClass="gnu.c.compiler.option.warnings.allwarn"/> + <option id="gnu.c.compiler.option.warnings.extrawarn.706437377" superClass="gnu.c.compiler.option.warnings.extrawarn"/> + <option id="gnu.c.compiler.option.warnings.toerrors.1670386550" superClass="gnu.c.compiler.option.warnings.toerrors"/> + <option id="gnu.c.compiler.option.warnings.wconversion.269227921" superClass="gnu.c.compiler.option.warnings.wconversion"/> + <option id="gnu.c.compiler.option.warnings.wcastalign.2096584326" superClass="gnu.c.compiler.option.warnings.wcastalign"/> + <option id="gnu.c.compiler.option.warnings.wcastqual.435993133" superClass="gnu.c.compiler.option.warnings.wcastqual"/> + <option id="gnu.c.compiler.option.warnings.wdisabledopt.1589805640" superClass="gnu.c.compiler.option.warnings.wdisabledopt"/> + <option id="gnu.c.compiler.option.warnings.wlogicalop.1260456631" superClass="gnu.c.compiler.option.warnings.wlogicalop"/> + <option id="gnu.c.compiler.option.warnings.wmissingdecl.1326043020" superClass="gnu.c.compiler.option.warnings.wmissingdecl"/> + <option id="gnu.c.compiler.option.warnings.wmissingincdir.1938145018" superClass="gnu.c.compiler.option.warnings.wmissingincdir"/> + <option id="gnu.c.compiler.option.warnings.wredundantdecl.1709689854" superClass="gnu.c.compiler.option.warnings.wredundantdecl"/> + <option id="gnu.c.compiler.option.warnings.wshadow.1352750394" superClass="gnu.c.compiler.option.warnings.wshadow"/> + <option id="gnu.c.compiler.option.warnings.wsignconv.2136727398" superClass="gnu.c.compiler.option.warnings.wsignconv"/> + <option id="gnu.c.compiler.option.warnings.wswitchdef.315012912" superClass="gnu.c.compiler.option.warnings.wswitchdef"/> + <option id="gnu.c.compiler.option.warnings.wundef.789669579" superClass="gnu.c.compiler.option.warnings.wundef"/> + <option id="gnu.c.compiler.option.warnings.wwritestrings.1679962384" superClass="gnu.c.compiler.option.warnings.wwritestrings"/> + <option id="gnu.c.compiler.option.warnings.wfloatequal.725931251" superClass="gnu.c.compiler.option.warnings.wfloatequal"/> + <option id="gnu.c.compiler.option.misc.otherExcludedFromScannerDiscovery.1865748769" superClass="gnu.c.compiler.option.misc.otherExcludedFromScannerDiscovery"/> + <option id="gnu.c.compiler.option.misc.verbose.1587416049" superClass="gnu.c.compiler.option.misc.verbose"/> + <option id="gnu.c.compiler.option.misc.ansi.725691931" superClass="gnu.c.compiler.option.misc.ansi"/> + <option id="gnu.c.compiler.option.misc.pic.810463991" superClass="gnu.c.compiler.option.misc.pic"/> + <option id="gnu.c.compiler.option.misc.hardening.1280816448" superClass="gnu.c.compiler.option.misc.hardening"/> + <option id="gnu.c.compiler.option.misc.randomization.834123157" superClass="gnu.c.compiler.option.misc.randomization"/> + <option id="com.crt.advproject.gcc.lto.90324099" superClass="com.crt.advproject.gcc.lto"/> + <option id="com.crt.advproject.gcc.lto.fat.999314301" superClass="com.crt.advproject.gcc.lto.fat"/> + <option id="com.crt.advproject.gcc.merge.constants.793099188" superClass="com.crt.advproject.gcc.merge.constants"/> + <option id="com.crt.advproject.gcc.prefixmap.131229546" superClass="com.crt.advproject.gcc.prefixmap"/> + <option id="com.crt.advproject.gcc.thumbinterwork.80940265" superClass="com.crt.advproject.gcc.thumbinterwork"/> + <option id="com.crt.advproject.gcc.securestate.1229331728" superClass="com.crt.advproject.gcc.securestate"/> + <option id="com.crt.advproject.gcc.stackusage.1987643773" superClass="com.crt.advproject.gcc.stackusage"/> + <option id="com.crt.advproject.gcc.specs.793247571" superClass="com.crt.advproject.gcc.specs"/> + <option id="com.crt.advproject.gcc.config.692816499" superClass="com.crt.advproject.gcc.config"/> + <option id="com.crt.advproject.gcc.store.1535635950" superClass="com.crt.advproject.gcc.store"/> + <inputType id="com.crt.advproject.compiler.input.855908434" superClass="com.crt.advproject.compiler.input"/> + </tool> + <tool id="com.crt.advproject.gas.exe.debug.1860423619" name="MCU Assembler" superClass="com.crt.advproject.gas.exe.debug"> + <option id="com.crt.advproject.gas.arch.1520069530" name="Architecture" superClass="com.crt.advproject.gas.arch" value="com.crt.advproject.gas.target.cm3" valueType="enumerated"/> + <option id="com.crt.advproject.gas.thumb.1694964531" name="Thumb mode" superClass="com.crt.advproject.gas.thumb" value="true" valueType="boolean"/> + <option id="gnu.both.asm.option.flags.crt.1836112356" name="Assembler flags" superClass="gnu.both.asm.option.flags.crt" value="-c -x assembler-with-cpp -D__REDLIB__ -DDEBUG -D__CODE_RED" valueType="string"/> + <option id="com.crt.advproject.gas.hdrlib.1929954766" name="Library headers" superClass="com.crt.advproject.gas.hdrlib" value="com.crt.advproject.gas.hdrlib.codered" valueType="enumerated"/> + <option id="com.crt.advproject.gas.fpu.166769770" name="Floating point" superClass="com.crt.advproject.gas.fpu"/> + <option id="gnu.both.asm.option.include.paths.881780456" superClass="gnu.both.asm.option.include.paths"/> + <option id="gnu.both.asm.option.warnings.nowarn.1319567381" superClass="gnu.both.asm.option.warnings.nowarn"/> + <option id="gnu.both.asm.option.version.579177854" superClass="gnu.both.asm.option.version"/> + <option id="com.crt.advproject.gas.exe.debug.option.debugging.level.1619658696" superClass="com.crt.advproject.gas.exe.debug.option.debugging.level"/> + <option id="com.crt.advproject.gas.thumbinterwork.1509166681" superClass="com.crt.advproject.gas.thumbinterwork"/> + <option id="com.crt.advproject.gas.specs.10767240" superClass="com.crt.advproject.gas.specs"/> + <option id="com.crt.advproject.gas.config.711370644" superClass="com.crt.advproject.gas.config"/> + <option id="com.crt.advproject.gas.store.1098907660" superClass="com.crt.advproject.gas.store"/> + <inputType id="cdt.managedbuild.tool.gnu.assembler.input.1411160600" superClass="cdt.managedbuild.tool.gnu.assembler.input"/> + <inputType id="com.crt.advproject.assembler.input.1948436635" name="Additional Assembly Source Files" superClass="com.crt.advproject.assembler.input"/> + </tool> + <tool id="com.crt.advproject.link.cpp.exe.debug.205492768" name="MCU C++ Linker" superClass="com.crt.advproject.link.cpp.exe.debug"> + <option id="com.crt.advproject.link.cpp.hdrlib.440520451" name="Library" superClass="com.crt.advproject.link.cpp.hdrlib"/> + <option id="com.crt.advproject.link.cpp.fpu.1161123606" name="Floating point" superClass="com.crt.advproject.link.cpp.fpu"/> + </tool> + <tool id="com.crt.advproject.link.exe.debug.742972049" name="MCU Linker" superClass="com.crt.advproject.link.exe.debug"> + <option id="com.crt.advproject.link.arch.1188867588" name="Architecture" superClass="com.crt.advproject.link.arch" value="com.crt.advproject.link.target.cm3" valueType="enumerated"/> + <option id="com.crt.advproject.link.thumb.1248295488" name="Thumb mode" superClass="com.crt.advproject.link.thumb" value="true" valueType="boolean"/> + <option id="com.crt.advproject.link.script.1785160227" name="Linker script" superClass="com.crt.advproject.link.script" value=""2-2_asm_Debug.ld"" valueType="string"/> + <option id="com.crt.advproject.link.manage.994083104" name="Manage linker script" superClass="com.crt.advproject.link.manage" value="true" valueType="boolean"/> + <option id="gnu.c.link.option.nostdlibs.1585246591" name="No startup or default libs (-nostdlib)" superClass="gnu.c.link.option.nostdlibs" value="true" valueType="boolean"/> + <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.link.option.other.2121008218" name="Other options (-Xlinker [option])" superClass="gnu.c.link.option.other" valueType="stringList"> + <listOptionValue builtIn="false" value="-Map="${BuildArtifactFileBaseName}.map""/> + <listOptionValue builtIn="false" value="--gc-sections"/> + </option> + <option id="com.crt.advproject.link.gcc.hdrlib.937752995" name="Library" superClass="com.crt.advproject.link.gcc.hdrlib" value="com.crt.advproject.gcc.link.hdrlib.codered.none" valueType="enumerated"/> + <option id="com.crt.advproject.link.crpenable.730288891" name="Enable automatic placement of Code Read Protection field in image" superClass="com.crt.advproject.link.crpenable"/> + <option id="com.crt.advproject.link.gcc.multicore.slave.1627391104" name="Multicore configuration" superClass="com.crt.advproject.link.gcc.multicore.slave"/> + <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="true" id="com.crt.advproject.link.gcc.multicore.master.userobjs.2135778720" name="Slave Objects (not visible)" superClass="com.crt.advproject.link.gcc.multicore.master.userobjs" valueType="userObjs"/> + <option id="com.crt.advproject.link.memory.load.image.1873402224" name="Plain load image" superClass="com.crt.advproject.link.memory.load.image" value="" valueType="string"/> + <option id="com.crt.advproject.link.memory.heapAndStack.491746058" name="Heap and Stack options" superClass="com.crt.advproject.link.memory.heapAndStack" value="&Heap:Default;Post Data;Default&Stack:Default;End;Default" valueType="string"/> + <option id="com.crt.advproject.link.memory.data.1542929019" name="Global data placement" superClass="com.crt.advproject.link.memory.data" value="" valueType="string"/> + <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="true" id="com.crt.advproject.link.memory.sections.604230047" name="Extra linker script input sections" superClass="com.crt.advproject.link.memory.sections" valueType="stringList"/> + <option id="com.crt.advproject.link.fpu.1628475212" name="Floating point" superClass="com.crt.advproject.link.fpu"/> + <option defaultValue="com.crt.advproject.heapAndStack.lpcXpressoStyle" id="com.crt.advproject.link.memory.heapAndStack.style.1389234609" name="Heap and Stack placement" superClass="com.crt.advproject.link.memory.heapAndStack.style" valueType="enumerated"/> + <option id="com.crt.advproject.link.gcc.multicore.master.436508778" name="Multicore master" superClass="com.crt.advproject.link.gcc.multicore.master"/> + <option id="gnu.c.link.option.nostart.1353849544" superClass="gnu.c.link.option.nostart"/> + <option id="gnu.c.link.option.nodeflibs.1411046476" superClass="gnu.c.link.option.nodeflibs"/> + <option id="gnu.c.link.option.strip.1268396619" superClass="gnu.c.link.option.strip"/> + <option id="gnu.c.link.option.noshared.495610328" superClass="gnu.c.link.option.noshared"/> + <option id="gnu.c.link.option.libs.991069275" superClass="gnu.c.link.option.libs"/> + <option id="gnu.c.link.option.paths.1377036807" superClass="gnu.c.link.option.paths"/> + <option id="gnu.c.link.option.ldflags.13745085" superClass="gnu.c.link.option.ldflags"/> + <option id="gnu.c.link.option.userobjs.96778784" superClass="gnu.c.link.option.userobjs"/> + <option id="gnu.c.link.option.shared.1754881051" superClass="gnu.c.link.option.shared"/> + <option id="gnu.c.link.option.soname.942095006" superClass="gnu.c.link.option.soname"/> + <option id="gnu.c.link.option.implname.966114228" superClass="gnu.c.link.option.implname"/> + <option id="gnu.c.link.option.defname.1333743249" superClass="gnu.c.link.option.defname"/> + <option id="gnu.c.link.option.debugging.prof.1163707774" superClass="gnu.c.link.option.debugging.prof"/> + <option id="gnu.c.link.option.debugging.gprof.1408292203" superClass="gnu.c.link.option.debugging.gprof"/> + <option id="gnu.c.link.option.debugging.codecov.1018761862" superClass="gnu.c.link.option.debugging.codecov"/> + <option id="com.crt.advproject.link.gcc.lto.525349622" superClass="com.crt.advproject.link.gcc.lto"/> + <option id="com.crt.advproject.link.gcc.lto.optmization.level.954607739" superClass="com.crt.advproject.link.gcc.lto.optmization.level"/> + <option id="com.crt.advproject.link.scriptdir.1222772283" superClass="com.crt.advproject.link.scriptdir"/> + <option id="com.crt.advproject.link.flashconfigenable.991095153" superClass="com.crt.advproject.link.flashconfigenable"/> + <option id="com.crt.advproject.link.ecrp.859360817" superClass="com.crt.advproject.link.ecrp"/> + <option id="com.crt.advproject.link.gcc.nanofloat.535884693" superClass="com.crt.advproject.link.gcc.nanofloat"/> + <option id="com.crt.advproject.link.gcc.nanofloat.scanf.1023475975" superClass="com.crt.advproject.link.gcc.nanofloat.scanf"/> + <option id="com.crt.advproject.link.toram.687948347" superClass="com.crt.advproject.link.toram"/> + <option id="com.crt.advproject.link.stackOffset.257757611" superClass="com.crt.advproject.link.stackOffset"/> + <option id="com.crt.advproject.link.gcc.multicore.empty.1292685802" superClass="com.crt.advproject.link.gcc.multicore.empty"/> + <option id="com.crt.advproject.link.config.186175607" superClass="com.crt.advproject.link.config"/> + <option id="com.crt.advproject.link.store.1069157696" superClass="com.crt.advproject.link.store"/> + <option id="com.crt.advproject.link.securestate.1429068620" superClass="com.crt.advproject.link.securestate"/> + <option id="com.crt.advproject.link.sgstubs.placement.1244144846" superClass="com.crt.advproject.link.sgstubs.placement"/> + <option id="com.crt.advproject.link.sgstubenable.803095570" superClass="com.crt.advproject.link.sgstubenable"/> + <option id="com.crt.advproject.link.nonsecureobject.415146250" superClass="com.crt.advproject.link.nonsecureobject"/> + <option id="com.crt.advproject.link.inimplib.624375728" superClass="com.crt.advproject.link.inimplib"/> + <inputType id="cdt.managedbuild.tool.gnu.c.linker.input.1380372831" superClass="cdt.managedbuild.tool.gnu.c.linker.input"> + <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/> + <additionalInput kind="additionalinput" paths="$(LIBS)"/> + </inputType> + </tool> + <tool id="com.crt.advproject.tool.debug.debug.191434102" name="MCU Debugger" superClass="com.crt.advproject.tool.debug.debug"> + <option id="com.crt.advproject.linkserver.debug.prevent.debug.1934450427" superClass="com.crt.advproject.linkserver.debug.prevent.debug"/> + <option id="com.crt.advproject.miscellaneous.end_of_heap.1480271258" superClass="com.crt.advproject.miscellaneous.end_of_heap"/> + <option id="com.crt.advproject.miscellaneous.pvHeapStart.29898910" superClass="com.crt.advproject.miscellaneous.pvHeapStart"/> + <option id="com.crt.advproject.miscellaneous.pvHeapLimit.862915727" superClass="com.crt.advproject.miscellaneous.pvHeapLimit"/> + <option id="com.crt.advproject.debugger.security.nonsecureimageenable.906367794" superClass="com.crt.advproject.debugger.security.nonsecureimageenable"/> + <option id="com.crt.advproject.debugger.security.nonsecureimage.697104104" superClass="com.crt.advproject.debugger.security.nonsecureimage"/> + </tool> + </toolChain> + </folderInfo> + <fileInfo id="com.crt.advproject.config.exe.debug.895943725.src/cr_startup_lpc176x.c" name="cr_startup_lpc176x.c" rcbsApplicability="disable" resourcePath="src/cr_startup_lpc176x.c" toolsToInvoke="com.crt.advproject.gcc.exe.debug.677906134.1830630008"> + <tool id="com.crt.advproject.gcc.exe.debug.677906134.1830630008" name="MCU C Compiler" superClass="com.crt.advproject.gcc.exe.debug.677906134"> + <option id="com.crt.advproject.gcc.exe.debug.option.optimization.level.1845831156" name="Optimization Level" superClass="com.crt.advproject.gcc.exe.debug.option.optimization.level" value="gnu.c.optimization.level.size" valueType="enumerated"/> + <inputType id="com.crt.advproject.compiler.input.338093219" superClass="com.crt.advproject.compiler.input"/> + </tool> + </fileInfo> + <sourceEntries> + <entry excluding="assembleur_corrige.s" 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.exe.release.1577943739"> + <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.crt.advproject.config.exe.release.1577943739" moduleId="org.eclipse.cdt.core.settings" name="Release"> + <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.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.eclipse.cdt.core.GCCErrorParser" 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"/> + </extensions> + </storageModule> + <storageModule moduleId="cdtBuildSystem" version="4.0.0"> + <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="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.exe.release.1577943739" name="Release" parent="com.crt.advproject.config.exe.release" postannouncebuildStep="Performing post-build steps" postbuildStep="arm-none-eabi-size "${BuildArtifactFileName}"; # arm-none-eabi-objcopy -O binary "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" ; checksum -p ${TargetChip} -d "${BuildArtifactFileBaseName}.bin"; "> + <folderInfo id="com.crt.advproject.config.exe.release.1577943739." name="/" resourcePath=""> + <toolChain id="com.crt.advproject.toolchain.exe.release.2037525723" name="Code Red MCU Tools" superClass="com.crt.advproject.toolchain.exe.release"> + <targetPlatform binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.GNU_ELF" id="com.crt.advproject.platform.exe.release.1019322473" name="ARM-based MCU (Release)" superClass="com.crt.advproject.platform.exe.release"/> + <builder buildPath="${workspace_loc:/labo3_ASM2}/Release" id="com.crt.advproject.builder.exe.release.101090954" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="com.crt.advproject.builder.exe.release"/> + <tool id="com.crt.advproject.cpp.exe.release.613575103" name="MCU C++ Compiler" superClass="com.crt.advproject.cpp.exe.release"/> + <tool id="com.crt.advproject.gcc.exe.release.1815350910" name="MCU C Compiler" superClass="com.crt.advproject.gcc.exe.release"> + <option id="com.crt.advproject.gcc.arch.1593419890" name="Architecture" superClass="com.crt.advproject.gcc.arch" useByScannerDiscovery="false" value="com.crt.advproject.gcc.target.cm3" valueType="enumerated"/> + <option id="com.crt.advproject.gcc.thumb.257346014" name="Thumb mode" superClass="com.crt.advproject.gcc.thumb" useByScannerDiscovery="false" value="true" valueType="boolean"/> + <option id="com.crt.advproject.gcc.hdrlib.1811735836" name="Library headers" superClass="com.crt.advproject.gcc.hdrlib" useByScannerDiscovery="false" value="com.crt.advproject.gcc.hdrlib.codered" valueType="enumerated"/> + <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.compiler.option.preprocessor.def.symbols.2102220878" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" useByScannerDiscovery="false" valueType="definedSymbols"> + <listOptionValue builtIn="false" value="__REDLIB__"/> + <listOptionValue builtIn="false" value="NDEBUG"/> + <listOptionValue builtIn="false" value="__CODE_RED"/> + </option> + <option id="gnu.c.compiler.option.misc.other.763971838" 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="com.crt.advproject.gcc.exe.release.option.optimization.level.242711131" name="Optimization Level" superClass="com.crt.advproject.gcc.exe.release.option.optimization.level" useByScannerDiscovery="false" value="gnu.c.optimization.level.size" valueType="enumerated"/> + <option id="com.crt.advproject.c.misc.dialect.1611109085" superClass="com.crt.advproject.c.misc.dialect"/> + <option id="gnu.c.compiler.option.dialect.flags.2076081769" superClass="gnu.c.compiler.option.dialect.flags"/> + <option id="gnu.c.compiler.option.preprocessor.nostdinc.759426810" superClass="gnu.c.compiler.option.preprocessor.nostdinc"/> + <option id="gnu.c.compiler.option.preprocessor.preprocess.799519724" superClass="gnu.c.compiler.option.preprocessor.preprocess"/> + <option id="gnu.c.compiler.option.preprocessor.undef.symbol.694234341" superClass="gnu.c.compiler.option.preprocessor.undef.symbol"/> + <option id="gnu.c.compiler.option.include.paths.1977052775" superClass="gnu.c.compiler.option.include.paths"/> + <option id="gnu.c.compiler.option.include.files.333497305" superClass="gnu.c.compiler.option.include.files"/> + <option id="gnu.c.compiler.option.optimization.flags.827202439" superClass="gnu.c.compiler.option.optimization.flags"/> + <option id="com.crt.advproject.gcc.exe.release.option.debugging.level.1714260887" superClass="com.crt.advproject.gcc.exe.release.option.debugging.level"/> + <option id="gnu.c.compiler.option.debugging.other.350538606" superClass="gnu.c.compiler.option.debugging.other"/> + <option id="gnu.c.compiler.option.debugging.prof.366903288" superClass="gnu.c.compiler.option.debugging.prof"/> + <option id="gnu.c.compiler.option.debugging.gprof.1288078929" superClass="gnu.c.compiler.option.debugging.gprof"/> + <option id="gnu.c.compiler.option.debugging.codecov.846798027" superClass="gnu.c.compiler.option.debugging.codecov"/> + <option id="gnu.c.compiler.option.debugging.sanitaddress.33926770" superClass="gnu.c.compiler.option.debugging.sanitaddress"/> + <option id="gnu.c.compiler.option.debugging.sanitpointers.659779568" superClass="gnu.c.compiler.option.debugging.sanitpointers"/> + <option id="gnu.c.compiler.option.debugging.sanitthread.180782359" superClass="gnu.c.compiler.option.debugging.sanitthread"/> + <option id="gnu.c.compiler.option.debugging.sanitleak.964753965" superClass="gnu.c.compiler.option.debugging.sanitleak"/> + <option id="gnu.c.compiler.option.debugging.sanitundef.1704477005" superClass="gnu.c.compiler.option.debugging.sanitundef"/> + <option id="gnu.c.compiler.option.warnings.syntax.1363879820" superClass="gnu.c.compiler.option.warnings.syntax"/> + <option id="gnu.c.compiler.option.warnings.pedantic.885376699" superClass="gnu.c.compiler.option.warnings.pedantic"/> + <option id="gnu.c.compiler.option.warnings.pedantic.error.1954188926" superClass="gnu.c.compiler.option.warnings.pedantic.error"/> + <option id="gnu.c.compiler.option.warnings.nowarn.710816613" superClass="gnu.c.compiler.option.warnings.nowarn"/> + <option id="gnu.c.compiler.option.warnings.allwarn.75157801" superClass="gnu.c.compiler.option.warnings.allwarn"/> + <option id="gnu.c.compiler.option.warnings.extrawarn.1591822354" superClass="gnu.c.compiler.option.warnings.extrawarn"/> + <option id="gnu.c.compiler.option.warnings.toerrors.1554454116" superClass="gnu.c.compiler.option.warnings.toerrors"/> + <option id="gnu.c.compiler.option.warnings.wconversion.1510160666" superClass="gnu.c.compiler.option.warnings.wconversion"/> + <option id="gnu.c.compiler.option.warnings.wcastalign.222059275" superClass="gnu.c.compiler.option.warnings.wcastalign"/> + <option id="gnu.c.compiler.option.warnings.wcastqual.1199025047" superClass="gnu.c.compiler.option.warnings.wcastqual"/> + <option id="gnu.c.compiler.option.warnings.wdisabledopt.729396155" superClass="gnu.c.compiler.option.warnings.wdisabledopt"/> + <option id="gnu.c.compiler.option.warnings.wlogicalop.358573931" superClass="gnu.c.compiler.option.warnings.wlogicalop"/> + <option id="gnu.c.compiler.option.warnings.wmissingdecl.2015148979" superClass="gnu.c.compiler.option.warnings.wmissingdecl"/> + <option id="gnu.c.compiler.option.warnings.wmissingincdir.1364677734" superClass="gnu.c.compiler.option.warnings.wmissingincdir"/> + <option id="gnu.c.compiler.option.warnings.wredundantdecl.38577926" superClass="gnu.c.compiler.option.warnings.wredundantdecl"/> + <option id="gnu.c.compiler.option.warnings.wshadow.1089454734" superClass="gnu.c.compiler.option.warnings.wshadow"/> + <option id="gnu.c.compiler.option.warnings.wsignconv.293802508" superClass="gnu.c.compiler.option.warnings.wsignconv"/> + <option id="gnu.c.compiler.option.warnings.wswitchdef.1180266299" superClass="gnu.c.compiler.option.warnings.wswitchdef"/> + <option id="gnu.c.compiler.option.warnings.wundef.2012905697" superClass="gnu.c.compiler.option.warnings.wundef"/> + <option id="gnu.c.compiler.option.warnings.wwritestrings.845766499" superClass="gnu.c.compiler.option.warnings.wwritestrings"/> + <option id="gnu.c.compiler.option.warnings.wfloatequal.1480347443" superClass="gnu.c.compiler.option.warnings.wfloatequal"/> + <option id="gnu.c.compiler.option.misc.otherExcludedFromScannerDiscovery.561949950" superClass="gnu.c.compiler.option.misc.otherExcludedFromScannerDiscovery"/> + <option id="gnu.c.compiler.option.misc.verbose.409861784" superClass="gnu.c.compiler.option.misc.verbose"/> + <option id="gnu.c.compiler.option.misc.ansi.651881331" superClass="gnu.c.compiler.option.misc.ansi"/> + <option id="gnu.c.compiler.option.misc.pic.1834265980" superClass="gnu.c.compiler.option.misc.pic"/> + <option id="gnu.c.compiler.option.misc.hardening.531686831" superClass="gnu.c.compiler.option.misc.hardening"/> + <option id="gnu.c.compiler.option.misc.randomization.2135778774" superClass="gnu.c.compiler.option.misc.randomization"/> + <option id="com.crt.advproject.gcc.lto.269236014" superClass="com.crt.advproject.gcc.lto"/> + <option id="com.crt.advproject.gcc.lto.fat.609183882" superClass="com.crt.advproject.gcc.lto.fat"/> + <option id="com.crt.advproject.gcc.merge.constants.1729173317" superClass="com.crt.advproject.gcc.merge.constants"/> + <option id="com.crt.advproject.gcc.prefixmap.1035710819" superClass="com.crt.advproject.gcc.prefixmap"/> + <option id="com.crt.advproject.gcc.fpu.1510415968" superClass="com.crt.advproject.gcc.fpu"/> + <option id="com.crt.advproject.gcc.thumbinterwork.233237674" superClass="com.crt.advproject.gcc.thumbinterwork"/> + <option id="com.crt.advproject.gcc.securestate.1997242734" superClass="com.crt.advproject.gcc.securestate"/> + <option id="com.crt.advproject.gcc.stackusage.1349729278" superClass="com.crt.advproject.gcc.stackusage"/> + <option id="com.crt.advproject.gcc.specs.1706288379" superClass="com.crt.advproject.gcc.specs"/> + <option id="com.crt.advproject.gcc.config.916633443" superClass="com.crt.advproject.gcc.config"/> + <option id="com.crt.advproject.gcc.store.208170869" superClass="com.crt.advproject.gcc.store"/> + <inputType id="com.crt.advproject.compiler.input.784714879" superClass="com.crt.advproject.compiler.input"/> + </tool> + <tool id="com.crt.advproject.gas.exe.release.1523608774" name="MCU Assembler" superClass="com.crt.advproject.gas.exe.release"> + <option id="com.crt.advproject.gas.arch.1769012052" name="Architecture" superClass="com.crt.advproject.gas.arch" value="com.crt.advproject.gas.target.cm3" valueType="enumerated"/> + <option id="com.crt.advproject.gas.thumb.1160888097" name="Thumb mode" superClass="com.crt.advproject.gas.thumb" value="true" valueType="boolean"/> + <option id="gnu.both.asm.option.flags.crt.1574822663" name="Assembler flags" superClass="gnu.both.asm.option.flags.crt" value="-c -x assembler-with-cpp -D__REDLIB__ -DNDEBUG -D__CODE_RED" valueType="string"/> + <option id="com.crt.advproject.gas.hdrlib.590321364" name="Library headers" superClass="com.crt.advproject.gas.hdrlib" value="com.crt.advproject.gas.hdrlib.codered" valueType="enumerated"/> + <option id="gnu.both.asm.option.include.paths.896596058" superClass="gnu.both.asm.option.include.paths"/> + <option id="gnu.both.asm.option.warnings.nowarn.2076192119" superClass="gnu.both.asm.option.warnings.nowarn"/> + <option id="gnu.both.asm.option.version.451347855" superClass="gnu.both.asm.option.version"/> + <option id="com.crt.advproject.gas.debug.2112070548" superClass="com.crt.advproject.gas.debug"/> + <option id="com.crt.advproject.gas.fpu.1456374594" superClass="com.crt.advproject.gas.fpu"/> + <option id="com.crt.advproject.gas.thumbinterwork.1357539780" superClass="com.crt.advproject.gas.thumbinterwork"/> + <option id="com.crt.advproject.gas.specs.1075559771" superClass="com.crt.advproject.gas.specs"/> + <option id="com.crt.advproject.gas.config.675172265" superClass="com.crt.advproject.gas.config"/> + <option id="com.crt.advproject.gas.store.1685336324" superClass="com.crt.advproject.gas.store"/> + <inputType id="cdt.managedbuild.tool.gnu.assembler.input.349793880" superClass="cdt.managedbuild.tool.gnu.assembler.input"/> + <inputType id="com.crt.advproject.assembler.input.1699312929" name="Additional Assembly Source Files" superClass="com.crt.advproject.assembler.input"/> + </tool> + <tool id="com.crt.advproject.link.cpp.exe.release.253236134" name="MCU C++ Linker" superClass="com.crt.advproject.link.cpp.exe.release"/> + <tool id="com.crt.advproject.link.exe.release.1012924607" name="MCU Linker" superClass="com.crt.advproject.link.exe.release"> + <option id="com.crt.advproject.link.arch.287050390" name="Architecture" superClass="com.crt.advproject.link.arch" value="com.crt.advproject.link.target.cm3" valueType="enumerated"/> + <option id="com.crt.advproject.link.thumb.1115921405" name="Thumb mode" superClass="com.crt.advproject.link.thumb" value="true" valueType="boolean"/> + <option id="com.crt.advproject.link.script.754134938" name="Linker script" superClass="com.crt.advproject.link.script" value=""2-2_asm_Release.ld"" valueType="string"/> + <option id="com.crt.advproject.link.manage.1283042874" name="Manage linker script" superClass="com.crt.advproject.link.manage" value="true" valueType="boolean"/> + <option id="gnu.c.link.option.nostdlibs.2116952709" name="No startup or default libs (-nostdlib)" superClass="gnu.c.link.option.nostdlibs" value="true" valueType="boolean"/> + <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.link.option.other.2082339787" name="Other options (-Xlinker [option])" superClass="gnu.c.link.option.other" valueType="stringList"> + <listOptionValue builtIn="false" value="-Map="${BuildArtifactFileBaseName}.map""/> + <listOptionValue builtIn="false" value="--gc-sections"/> + </option> + <option id="com.crt.advproject.link.gcc.hdrlib.336129518" name="Library" superClass="com.crt.advproject.link.gcc.hdrlib" value="com.crt.advproject.gcc.link.hdrlib.codered.none" valueType="enumerated"/> + <option id="com.crt.advproject.link.crpenable.625718924" name="Enable automatic placement of Code Read Protection field in image" superClass="com.crt.advproject.link.crpenable"/> + <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="true" id="com.crt.advproject.link.gcc.multicore.master.userobjs.884270025" name="Slave Objects (not visible)" superClass="com.crt.advproject.link.gcc.multicore.master.userobjs" valueType="userObjs"/> + <option id="com.crt.advproject.link.memory.load.image.833899173" name="Plain load image" superClass="com.crt.advproject.link.memory.load.image" value="" valueType="string"/> + <option id="com.crt.advproject.link.memory.heapAndStack.1392029345" name="Heap and Stack options" superClass="com.crt.advproject.link.memory.heapAndStack" value="&Heap:Default;Post Data;Default&Stack:Default;End;Default" valueType="string"/> + <option id="com.crt.advproject.link.memory.data.779163117" name="Global data placement" superClass="com.crt.advproject.link.memory.data" value="" valueType="string"/> + <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="true" id="com.crt.advproject.link.memory.sections.1812352420" name="Extra linker script input sections" superClass="com.crt.advproject.link.memory.sections" valueType="stringList"/> + <option defaultValue="com.crt.advproject.heapAndStack.lpcXpressoStyle" id="com.crt.advproject.link.memory.heapAndStack.style.199603962" name="Heap and Stack placement" superClass="com.crt.advproject.link.memory.heapAndStack.style" valueType="enumerated"/> + <option id="com.crt.advproject.link.gcc.multicore.slave.1584123392" name="Multicore configuration" superClass="com.crt.advproject.link.gcc.multicore.slave"/> + <option id="gnu.c.link.option.nostart.1029552840" superClass="gnu.c.link.option.nostart"/> + <option id="gnu.c.link.option.nodeflibs.1874017154" superClass="gnu.c.link.option.nodeflibs"/> + <option id="gnu.c.link.option.strip.304322821" superClass="gnu.c.link.option.strip"/> + <option id="gnu.c.link.option.noshared.1398092238" superClass="gnu.c.link.option.noshared"/> + <option id="gnu.c.link.option.libs.145694814" superClass="gnu.c.link.option.libs"/> + <option id="gnu.c.link.option.paths.1589350552" superClass="gnu.c.link.option.paths"/> + <option id="gnu.c.link.option.ldflags.710490209" superClass="gnu.c.link.option.ldflags"/> + <option id="gnu.c.link.option.userobjs.1984625999" superClass="gnu.c.link.option.userobjs"/> + <option id="gnu.c.link.option.shared.910490106" superClass="gnu.c.link.option.shared"/> + <option id="gnu.c.link.option.soname.1865676638" superClass="gnu.c.link.option.soname"/> + <option id="gnu.c.link.option.implname.63472162" superClass="gnu.c.link.option.implname"/> + <option id="gnu.c.link.option.defname.1212697624" superClass="gnu.c.link.option.defname"/> + <option id="gnu.c.link.option.debugging.prof.1271628486" superClass="gnu.c.link.option.debugging.prof"/> + <option id="gnu.c.link.option.debugging.gprof.1633662558" superClass="gnu.c.link.option.debugging.gprof"/> + <option id="gnu.c.link.option.debugging.codecov.29091610" superClass="gnu.c.link.option.debugging.codecov"/> + <option id="com.crt.advproject.link.gcc.lto.108293857" superClass="com.crt.advproject.link.gcc.lto"/> + <option id="com.crt.advproject.link.gcc.lto.optmization.level.2016040117" superClass="com.crt.advproject.link.gcc.lto.optmization.level"/> + <option id="com.crt.advproject.link.fpu.338306258" superClass="com.crt.advproject.link.fpu"/> + <option id="com.crt.advproject.link.scriptdir.432299018" superClass="com.crt.advproject.link.scriptdir"/> + <option id="com.crt.advproject.link.flashconfigenable.400901258" superClass="com.crt.advproject.link.flashconfigenable"/> + <option id="com.crt.advproject.link.ecrp.717518522" superClass="com.crt.advproject.link.ecrp"/> + <option id="com.crt.advproject.link.gcc.nanofloat.722458483" superClass="com.crt.advproject.link.gcc.nanofloat"/> + <option id="com.crt.advproject.link.gcc.nanofloat.scanf.393387534" superClass="com.crt.advproject.link.gcc.nanofloat.scanf"/> + <option id="com.crt.advproject.link.toram.401869916" superClass="com.crt.advproject.link.toram"/> + <option id="com.crt.advproject.link.stackOffset.482795093" superClass="com.crt.advproject.link.stackOffset"/> + <option id="com.crt.advproject.link.gcc.multicore.master.1024441180" superClass="com.crt.advproject.link.gcc.multicore.master"/> + <option id="com.crt.advproject.link.gcc.multicore.empty.647827319" superClass="com.crt.advproject.link.gcc.multicore.empty"/> + <option id="com.crt.advproject.link.config.1080649581" superClass="com.crt.advproject.link.config"/> + <option id="com.crt.advproject.link.store.1276467213" superClass="com.crt.advproject.link.store"/> + <option id="com.crt.advproject.link.securestate.223089970" superClass="com.crt.advproject.link.securestate"/> + <option id="com.crt.advproject.link.sgstubs.placement.1790618283" superClass="com.crt.advproject.link.sgstubs.placement"/> + <option id="com.crt.advproject.link.sgstubenable.2001033952" superClass="com.crt.advproject.link.sgstubenable"/> + <option id="com.crt.advproject.link.nonsecureobject.412337905" superClass="com.crt.advproject.link.nonsecureobject"/> + <option id="com.crt.advproject.link.inimplib.781211164" superClass="com.crt.advproject.link.inimplib"/> + <inputType id="cdt.managedbuild.tool.gnu.c.linker.input.1611875940" superClass="cdt.managedbuild.tool.gnu.c.linker.input"> + <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/> + <additionalInput kind="additionalinput" paths="$(LIBS)"/> + </inputType> + </tool> + <tool id="com.crt.advproject.tool.debug.release.681081333" name="MCU Debugger" superClass="com.crt.advproject.tool.debug.release"> + <option id="com.crt.advproject.linkserver.debug.prevent.release.1467386429" superClass="com.crt.advproject.linkserver.debug.prevent.release"/> + <option id="com.crt.advproject.miscellaneous.end_of_heap.1916360362" superClass="com.crt.advproject.miscellaneous.end_of_heap"/> + <option id="com.crt.advproject.miscellaneous.pvHeapStart.520289327" superClass="com.crt.advproject.miscellaneous.pvHeapStart"/> + <option id="com.crt.advproject.miscellaneous.pvHeapLimit.1033048495" superClass="com.crt.advproject.miscellaneous.pvHeapLimit"/> + <option id="com.crt.advproject.debugger.security.nonsecureimageenable.1236507638" superClass="com.crt.advproject.debugger.security.nonsecureimageenable"/> + <option id="com.crt.advproject.debugger.security.nonsecureimage.265627094" superClass="com.crt.advproject.debugger.security.nonsecureimage"/> + </tool> + </toolChain> + </folderInfo> + <sourceEntries> + <entry excluding="assembleur_corrige.s" 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="labo3_ASM2.com.crt.advproject.projecttype.exe.2055117986" name="Executable" projectType="com.crt.advproject.projecttype.exe"/> + </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="LPC175x_6x_512.cfx" property_3="NXP" property_4="LPC1769" property_count="5" version="100300"/> +<infoList vendor="NXP"> +<info chip="LPC1769" flash_driver="LPC175x_6x_512.cfx" match_id="0x26113F37" name="LPC1769" package="lpc17_lqfp100.xml" stub="crt_emu_cm3_nxp"> +<chip> +<name>LPC1769</name> +<family>LPC17xx</family> +<vendor>NXP (formerly Philips)</vendor> +<reset board="None" core="Real" sys="Real"/> +<clock changeable="TRUE" freq="20MHz" 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="MFlash512" location="0x00000000" size="0x80000"/> +<memoryInstance derived_from="RAM" id="RamLoc32" location="0x10000000" size="0x8000"/> +<memoryInstance derived_from="RAM" id="RamAHB32" location="0x2007c000" size="0x8000"/> +<prog_flash blocksz="0x1000" location="0" maxprgbuff="0x1000" progwithcode="TRUE" size="0x10000"/> +<prog_flash blocksz="0x8000" location="0x10000" maxprgbuff="0x1000" progwithcode="TRUE" size="0x70000"/> +</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"/> + <storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/> + <storageModule moduleId="openCmsis"/> +</cproject> \ No newline at end of file diff --git a/2-2_asm/.gitignore b/2-2_asm/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..28ce4ef99a07f6a1e01a52181c18c3e71230a3ae --- /dev/null +++ b/2-2_asm/.gitignore @@ -0,0 +1,3 @@ +*.launch +Debug/ +.settings/ diff --git a/2-2_asm/.project b/2-2_asm/.project new file mode 100644 index 0000000000000000000000000000000000000000..1c2867f2b448a8a8c63688d18963c0d86ebf0a77 --- /dev/null +++ b/2-2_asm/.project @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>2-2_asm</name> + <comment></comment> + <projects> + </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.managedbuilder.core.managedBuildNature</nature> + <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature> + </natures> +</projectDescription> diff --git a/2-2_asm/src/assembleur.s b/2-2_asm/src/assembleur.s new file mode 100644 index 0000000000000000000000000000000000000000..8bc49ae98b7f4eba3b88d673ef3b6a212b69b2fc --- /dev/null +++ b/2-2_asm/src/assembleur.s @@ -0,0 +1,55 @@ +#ifdef __USE_CMSIS +#include "LPC17xx.h" +#endif + +.section .text,"ax" +.cpu cortex-m3 +.thumb +.syntax unified + +.global funcexo1 +.global funcexo2 +.global funcexo3 +.global majuscule + +/***************************************************** + * function : exercice1 + * R0: A pointer + * R1: B pointer + * return value : *A + *B + *****************************************************/ +.thumb_func +funcexo1: + ldr r2, [r0] + ldr r3, [r1] + adds r2, r3 + bhs add_err + mov r0, r2 + bx lr + +add_err: + mov r0, #0 + bx lr + + +/***************************************************** + * function : exercice2 + * R0: A pointer + * R1: B pointer + * R2: arrays size + * return value : B[]=2*A[] + *****************************************************/ +.thumb_func +funcexo2: + + bx lr + + +.thumb_func +majuscule: + + bx lr + + +//.weak add_sat +.ltorg diff --git a/2-2_asm/src/cr_startup_lpc176x.c b/2-2_asm/src/cr_startup_lpc176x.c new file mode 100644 index 0000000000000000000000000000000000000000..d84744157588a56c74058eb15a683f095833b3da --- /dev/null +++ b/2-2_asm/src/cr_startup_lpc176x.c @@ -0,0 +1,421 @@ +//***************************************************************************** +// +--+ +// | ++----+ +// +-++ | +// | | +// +-+--+ | +// | +--+--+ +// +----+ Copyright (c) 2009-12 Code Red Technologies Ltd. +// +// Microcontroller Startup code for use with Red Suite +// +// Version : 120126 +// +// Software License Agreement +// +// The software is owned by Code Red Technologies and/or its suppliers, and is +// protected under applicable copyright laws. All rights are reserved. Any +// use in violation of the foregoing restrictions may subject the user to criminal +// sanctions under applicable laws, as well as to civil liability for the breach +// of the terms and conditions of this license. +// +// THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED +// OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF +// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. +// USE OF THIS SOFTWARE FOR COMMERCIAL DEVELOPMENT AND/OR EDUCATION IS SUBJECT +// TO A CURRENT END USER LICENSE AGREEMENT (COMMERCIAL OR EDUCATIONAL) WITH +// CODE RED TECHNOLOGIES LTD. +// +//***************************************************************************** +#if defined (__cplusplus) +#ifdef __REDLIB__ +#error Redlib does not support C++ +#else +//***************************************************************************** +// +// The entry point for the C++ library startup +// +//***************************************************************************** +extern "C" { + extern void __libc_init_array(void); +} +#endif +#endif + +#define WEAK __attribute__ ((weak)) +#define ALIAS(f) __attribute__ ((weak, alias (#f))) + +// Code Red - if CMSIS is being used, then SystemInit() routine +// will be called by startup code rather than in application's main() +#if defined (__USE_CMSIS) +#include "system_LPC17xx.h" +#endif + +//***************************************************************************** +#if defined (__cplusplus) +extern "C" { +#endif + +//***************************************************************************** +// +// Forward declaration of the default handlers. These are aliased. +// When the application defines a handler (with the same name), this will +// automatically take precedence over these weak definitions +// +//***************************************************************************** + void ResetISR(void); +WEAK void NMI_Handler(void); +WEAK void HardFault_Handler(void); +WEAK void MemManage_Handler(void); +WEAK void BusFault_Handler(void); +WEAK void UsageFault_Handler(void); +WEAK void SVC_Handler(void); +WEAK void DebugMon_Handler(void); +WEAK void PendSV_Handler(void); +WEAK void SysTick_Handler(void); +WEAK void IntDefaultHandler(void); + +//***************************************************************************** +// +// Forward declaration of the specific IRQ handlers. These are aliased +// to the IntDefaultHandler, which is a 'forever' loop. When the application +// defines a handler (with the same name), this will automatically take +// precedence over these weak definitions +// +//***************************************************************************** +void WDT_IRQHandler(void) ALIAS(IntDefaultHandler); +void TIMER0_IRQHandler(void) ALIAS(IntDefaultHandler); +void TIMER1_IRQHandler(void) ALIAS(IntDefaultHandler); +void TIMER2_IRQHandler(void) ALIAS(IntDefaultHandler); +void TIMER3_IRQHandler(void) ALIAS(IntDefaultHandler); +void UART0_IRQHandler(void) ALIAS(IntDefaultHandler); +void UART1_IRQHandler(void) ALIAS(IntDefaultHandler); +void UART2_IRQHandler(void) ALIAS(IntDefaultHandler); +void UART3_IRQHandler(void) ALIAS(IntDefaultHandler); +void PWM1_IRQHandler(void) ALIAS(IntDefaultHandler); +void I2C0_IRQHandler(void) ALIAS(IntDefaultHandler); +void I2C1_IRQHandler(void) ALIAS(IntDefaultHandler); +void I2C2_IRQHandler(void) ALIAS(IntDefaultHandler); +void SPI_IRQHandler(void) ALIAS(IntDefaultHandler); +void SSP0_IRQHandler(void) ALIAS(IntDefaultHandler); +void SSP1_IRQHandler(void) ALIAS(IntDefaultHandler); +void PLL0_IRQHandler(void) ALIAS(IntDefaultHandler); +void RTC_IRQHandler(void) ALIAS(IntDefaultHandler); +void EINT0_IRQHandler(void) ALIAS(IntDefaultHandler); +void EINT1_IRQHandler(void) ALIAS(IntDefaultHandler); +void EINT2_IRQHandler(void) ALIAS(IntDefaultHandler); +void EINT3_IRQHandler(void) ALIAS(IntDefaultHandler); +void ADC_IRQHandler(void) ALIAS(IntDefaultHandler); +void BOD_IRQHandler(void) ALIAS(IntDefaultHandler); +void USB_IRQHandler(void) ALIAS(IntDefaultHandler); +void CAN_IRQHandler(void) ALIAS(IntDefaultHandler); +void DMA_IRQHandler(void) ALIAS(IntDefaultHandler); +void I2S_IRQHandler(void) ALIAS(IntDefaultHandler); +void ENET_IRQHandler(void) ALIAS(IntDefaultHandler); +void RIT_IRQHandler(void) ALIAS(IntDefaultHandler); +void MCPWM_IRQHandler(void) ALIAS(IntDefaultHandler); +void QEI_IRQHandler(void) ALIAS(IntDefaultHandler); +void PLL1_IRQHandler(void) ALIAS(IntDefaultHandler); +void USBActivity_IRQHandler(void) ALIAS(IntDefaultHandler); +void CANActivity_IRQHandler(void) ALIAS(IntDefaultHandler); + +//***************************************************************************** +// +// The entry point for the application. +// __main() is the entry point for Redlib based applications +// main() is the entry point for Newlib based applications +// +//***************************************************************************** +#if defined (__REDLIB__) +extern void __main(void); +#endif +extern int main(void); +//***************************************************************************** +// +// External declaration for the pointer to the stack top from the Linker Script +// +//***************************************************************************** +extern void _vStackTop(void); + +//***************************************************************************** +#if defined (__cplusplus) +} // extern "C" +#endif +//***************************************************************************** +// +// The vector table. +// This relies on the linker script to place at correct location in memory. +// +//***************************************************************************** +extern void (* const g_pfnVectors[])(void); +__attribute__ ((section(".isr_vector"))) +void (* const g_pfnVectors[])(void) = { + // Core Level - CM3 + &_vStackTop, // The initial stack pointer + ResetISR, // The reset handler + NMI_Handler, // The NMI handler + HardFault_Handler, // The hard fault handler + MemManage_Handler, // The MPU fault handler + BusFault_Handler, // The bus fault handler + UsageFault_Handler, // The usage fault handler + 0, // Reserved + 0, // Reserved + 0, // Reserved + 0, // Reserved + SVC_Handler, // SVCall handler + DebugMon_Handler, // Debug monitor handler + 0, // Reserved + PendSV_Handler, // The PendSV handler + SysTick_Handler, // The SysTick handler + + // Chip Level - LPC17 + WDT_IRQHandler, // 16, 0x40 - WDT + TIMER0_IRQHandler, // 17, 0x44 - TIMER0 + TIMER1_IRQHandler, // 18, 0x48 - TIMER1 + TIMER2_IRQHandler, // 19, 0x4c - TIMER2 + TIMER3_IRQHandler, // 20, 0x50 - TIMER3 + UART0_IRQHandler, // 21, 0x54 - UART0 + UART1_IRQHandler, // 22, 0x58 - UART1 + UART2_IRQHandler, // 23, 0x5c - UART2 + UART3_IRQHandler, // 24, 0x60 - UART3 + PWM1_IRQHandler, // 25, 0x64 - PWM1 + I2C0_IRQHandler, // 26, 0x68 - I2C0 + I2C1_IRQHandler, // 27, 0x6c - I2C1 + I2C2_IRQHandler, // 28, 0x70 - I2C2 + SPI_IRQHandler, // 29, 0x74 - SPI + SSP0_IRQHandler, // 30, 0x78 - SSP0 + SSP1_IRQHandler, // 31, 0x7c - SSP1 + PLL0_IRQHandler, // 32, 0x80 - PLL0 (Main PLL) + RTC_IRQHandler, // 33, 0x84 - RTC + EINT0_IRQHandler, // 34, 0x88 - EINT0 + EINT1_IRQHandler, // 35, 0x8c - EINT1 + EINT2_IRQHandler, // 36, 0x90 - EINT2 + EINT3_IRQHandler, // 37, 0x94 - EINT3 + ADC_IRQHandler, // 38, 0x98 - ADC + BOD_IRQHandler, // 39, 0x9c - BOD + USB_IRQHandler, // 40, 0xA0 - USB + CAN_IRQHandler, // 41, 0xa4 - CAN + DMA_IRQHandler, // 42, 0xa8 - GP DMA + I2S_IRQHandler, // 43, 0xac - I2S + ENET_IRQHandler, // 44, 0xb0 - Ethernet + RIT_IRQHandler, // 45, 0xb4 - RITINT + MCPWM_IRQHandler, // 46, 0xb8 - Motor Control PWM + QEI_IRQHandler, // 47, 0xbc - Quadrature Encoder + PLL1_IRQHandler, // 48, 0xc0 - PLL1 (USB PLL) + USBActivity_IRQHandler, // 49, 0xc4 - USB Activity interrupt to wakeup + CANActivity_IRQHandler, // 50, 0xc8 - CAN Activity interrupt to wakeup +}; + +//***************************************************************************** +// Functions to carry out the initialization of RW and BSS data sections. These +// are written as separate functions rather than being inlined within the +// ResetISR() function in order to cope with MCUs with multiple banks of +// memory. +//***************************************************************************** +__attribute__ ((section(".after_vectors"))) +void data_init(unsigned int romstart, unsigned int start, unsigned int len) { + unsigned int *pulDest = (unsigned int*) start; + unsigned int *pulSrc = (unsigned int*) romstart; + unsigned int loop; + for (loop = 0; loop < len; loop = loop + 4) + *pulDest++ = *pulSrc++; +} + +__attribute__ ((section(".after_vectors"))) +void bss_init(unsigned int start, unsigned int len) { + unsigned int *pulDest = (unsigned int*) start; + unsigned int loop; + for (loop = 0; loop < len; loop = loop + 4) + *pulDest++ = 0; +} + +#ifndef USE_OLD_STYLE_DATA_BSS_INIT +//***************************************************************************** +// The following symbols are constructs generated by the linker, indicating +// the location of various points in the "Global Section Table". This table is +// created by the linker via the Code Red managed linker script mechanism. It +// contains the load address, execution address and length of each RW data +// section and the execution and length of each BSS (zero initialized) section. +//***************************************************************************** +extern unsigned int __data_section_table; +extern unsigned int __data_section_table_end; +extern unsigned int __bss_section_table; +extern unsigned int __bss_section_table_end; +#else +//***************************************************************************** +// The following symbols are constructs generated by the linker, indicating +// the load address, execution address and length of the RW data section and +// the execution and length of the BSS (zero initialized) section. +// Note that these symbols are not normally used by the managed linker script +// mechanism in Red Suite/LPCXpresso 3.6 (Windows) and LPCXpresso 3.8 (Linux). +// They are provide here simply so this startup code can be used with earlier +// versions of Red Suite which do not support the more advanced managed linker +// script mechanism introduced in the above version. To enable their use, +// define "USE_OLD_STYLE_DATA_BSS_INIT". +//***************************************************************************** +extern unsigned int _etext; +extern unsigned int _data; +extern unsigned int _edata; +extern unsigned int _bss; +extern unsigned int _ebss; +#endif + + +//***************************************************************************** +// Reset entry point for your code. +// Sets up a simple runtime environment and initializes the C/C++ +// library. +//***************************************************************************** +__attribute__ ((section(".after_vectors"))) +void +ResetISR(void) { + +#ifndef USE_OLD_STYLE_DATA_BSS_INIT + // + // Copy the data sections from flash to SRAM. + // + unsigned int LoadAddr, ExeAddr, SectionLen; + unsigned int *SectionTableAddr; + + // Load base address of Global Section Table + SectionTableAddr = &__data_section_table; + + // Copy the data sections from flash to SRAM. + while (SectionTableAddr < &__data_section_table_end) { + LoadAddr = *SectionTableAddr++; + ExeAddr = *SectionTableAddr++; + SectionLen = *SectionTableAddr++; + data_init(LoadAddr, ExeAddr, SectionLen); + } + // At this point, SectionTableAddr = &__bss_section_table; + // Zero fill the bss segment + while (SectionTableAddr < &__bss_section_table_end) { + ExeAddr = *SectionTableAddr++; + SectionLen = *SectionTableAddr++; + bss_init(ExeAddr, SectionLen); + } +#else + // Use Old Style Data and BSS section initialization. + // This will only initialize a single RAM bank. + unsigned int * LoadAddr, *ExeAddr, *EndAddr, SectionLen; + + // Copy the data segment from flash to SRAM. + LoadAddr = &_etext; + ExeAddr = &_data; + EndAddr = &_edata; + SectionLen = (void*)EndAddr - (void*)ExeAddr; + data_init((unsigned int)LoadAddr, (unsigned int)ExeAddr, SectionLen); + // Zero fill the bss segment + ExeAddr = &_bss; + EndAddr = &_ebss; + SectionLen = (void*)EndAddr - (void*)ExeAddr; + bss_init ((unsigned int)ExeAddr, SectionLen); +#endif + +#ifdef __USE_CMSIS + SystemInit(); +#endif + +#if defined (__cplusplus) + // + // Call C++ library initialisation + // + __libc_init_array(); +#endif + +#if defined (__REDLIB__) + // Call the Redlib library, which in turn calls main() + __main() ; +#else + main(); +#endif + + // + // main() shouldn't return, but if it does, we'll just enter an infinite loop + // + while (1) { + ; + } +} + +//***************************************************************************** +// Default exception handlers. Override the ones here by defining your own +// handler routines in your application code. +//***************************************************************************** +__attribute__ ((section(".after_vectors"))) +void NMI_Handler(void) +{ + while(1) + { + } +} +__attribute__ ((section(".after_vectors"))) +void HardFault_Handler(void) +{ + while(1) + { + } +} +__attribute__ ((section(".after_vectors"))) +void MemManage_Handler(void) +{ + while(1) + { + } +} +__attribute__ ((section(".after_vectors"))) +void BusFault_Handler(void) +{ + while(1) + { + } +} +__attribute__ ((section(".after_vectors"))) +void UsageFault_Handler(void) +{ + while(1) + { + } +} +__attribute__ ((section(".after_vectors"))) +void SVC_Handler(void) +{ + while(1) + { + } +} +__attribute__ ((section(".after_vectors"))) +void DebugMon_Handler(void) +{ + while(1) + { + } +} +__attribute__ ((section(".after_vectors"))) +void PendSV_Handler(void) +{ + while(1) + { + } +} +__attribute__ ((section(".after_vectors"))) +void SysTick_Handler(void) +{ + while(1) + { + } +} + +//***************************************************************************** +// +// Processor ends up here if an unexpected interrupt occurs or a specific +// handler is not present in the application code. +// +//***************************************************************************** +__attribute__ ((section(".after_vectors"))) +void IntDefaultHandler(void) +{ + while(1) + { + } +} diff --git a/2-2_asm/src/labo2.2_asm.c b/2-2_asm/src/labo2.2_asm.c new file mode 100644 index 0000000000000000000000000000000000000000..7ac70b76fd2406e5446233120d92b1c031e3d034 --- /dev/null +++ b/2-2_asm/src/labo2.2_asm.c @@ -0,0 +1,62 @@ +/* +=============================================================================== + Name : labo3.c + Author : D. Bechevet, F. Vannel, A. Lescourt + Copyright : HES-SO hepia + Year : 2013-2014 +=============================================================================== + */ +#ifdef __USE_CMSIS +#include "LPC17xx.h" +#endif + +#include <stdint.h> + +typedef struct { + int32_t a; + int8_t b; + int16_t c; + int8_t d; + int32_t e; +} numbers_t; + +uint32_t funcexo1(uint32_t *, uint32_t *); +uint32_t funcexo2(uint32_t *, uint32_t *, uint32_t); +void majuscule(char *s); + +/* global variables */ +int exo = 1; // change this number with the exercise number you want to test; + +int main(void) +{ + uint32_t valeurs_test[] = {1,23,17,4,0xFFFFFFF0,100}; + uint32_t *a; + uint32_t *b; + static uint32_t res, res_ref; + uint32_t A1_vect[10] = {5,2,3,4,6,10,0x256,800,256,0x1234}; + uint32_t A2_vect[10] = {5,2,3,4,6,10,256,0xFEDCBA98,256,0x12345678}; + uint32_t B_vect[10]; + static uint32_t ok; + char string[]="hepiA"; + + switch(exo) // select the function corresponding to the exercise to test + { + case 1 : + a = &valeurs_test[0]; /* point our pointer at the first integer in our array */ + b = &valeurs_test[1]; /* point our pointer at the second integer in our array */ + res = funcexo1(a, b); + a = &valeurs_test[2]; /* point our pointer at the third integer in our array */ + b = &valeurs_test[4]; /* point our pointer at the fifth integer in our array */ + res = funcexo1(a, b); + break; + case 2 : + ok = funcexo2(A1_vect, B_vect, 10); // B_vect = 2* A1_vect + ok = funcexo2(A2_vect, B_vect, 10); // B_vect = 2* A2_vect + break; + default: + majuscule(string); + break; + } + + return 0; +}