Browse Source

Creation soft test

CLUZE Remy -EXT 6 years ago
parent
commit
53a1896e82

+ 1 - 0
Soft/STM32/Fonctionel/.gitignore

@@ -0,0 +1 @@
+/Debug/

+ 0 - 34
Soft/STM32/Fonctionel/Inc/Tab.h

@@ -1,34 +0,0 @@
-/*
- * Tab.h
- *
- *  Created on: 14 janv. 2019
- *      Author: e_rcluze
- */
-
-#ifndef TAB_H_
-#define TAB_H_
-
-#include <stdint.h>
-#include "Heure.h"
-
-#define NB_LIGNE 10
-
-typedef struct {
-
-	Heure Demmarage; //Heure de Démarage (en Minute)
-	Heure Extinxtion; //Heure de Déxtintion (en Minute)
-	uint8_t PuissanceMax; //Puissance Maximum (En pourcentage)
-	uint8_t Pente; //Pente (en Minute)
-
-}Sortie;
-
-Heure HeureDem[10];
-Heure HeureExt[10];
-
-Sortie tabSortie[10];
-
-void initHeure();
-
-void initSortie();
-
-#endif /* TAB_H_ */

+ 0 - 74
Soft/STM32/Fonctionel/Src/Tab.c

@@ -1,74 +0,0 @@
-/*
- * Tab.c
- *
- *  Created on: 15 janv. 2019
- *      Author: e_rcluze
- */
-
-#include "Tab.h"
-#include "RTC.h"
-
-
-
-
-void initHeure(){
-	HeureDem[0].heure = 9;	HeureDem[0].minute = 0;
-	HeureDem[1].heure = 9; 	HeureDem[1].minute = 0;
-	HeureDem[2].heure = 9; 	HeureDem[2].minute = 0;
-	HeureDem[3].heure = 9; 	HeureDem[3].minute = 0;
-	HeureDem[4].heure = 9; 	HeureDem[4].minute = 0;
-	HeureDem[5].heure = 9; 	HeureDem[5].minute = 0;
-	HeureDem[6].heure = 9; 	HeureDem[6].minute = 0;
-	HeureDem[7].heure = 9; 	HeureDem[7].minute = 0;
-	HeureDem[8].heure = 9; 	HeureDem[8].minute = 0;
-	HeureDem[9].heure = 9; 	HeureDem[9].minute = 0;
-
-
-	HeureExt[0].heure = 22;		HeureExt[0].minute = 0;
-	HeureExt[1].heure = 22; 	HeureExt[1].minute = 0;
-	HeureExt[2].heure = 22; 	HeureExt[2].minute = 0;
-	HeureExt[3].heure = 22; 	HeureExt[3].minute = 0;
-	HeureExt[4].heure = 22; 	HeureExt[4].minute = 0;
-	HeureExt[5].heure = 22; 	HeureExt[5].minute = 0;
-	HeureExt[6].heure = 22; 	HeureExt[6].minute = 0;
-	HeureExt[7].heure = 22; 	HeureExt[7].minute = 0;
-	HeureExt[8].heure = 22; 	HeureExt[8].minute = 0;
-	HeureExt[9].heure = 22;		HeureExt[9].minute = 0;
-
-}
-void initSortie(){
-	for (int i =0 ; i<10;i++){
-		tabSortie[i].Demmarage=HeureDem[i];
-		tabSortie[i].Extinxtion=HeureExt[i];
-	}
-	//S1
-	tabSortie[0].Pente=60;
-	tabSortie[0].PuissanceMax=60;
-
-	tabSortie[1].Pente=60;
-	tabSortie[1].PuissanceMax=60;
-
-	tabSortie[2].Pente=60;
-	tabSortie[2].PuissanceMax=100;
-
-	tabSortie[3].Pente=60;
-	tabSortie[3].PuissanceMax=20;
-
-	tabSortie[4].Pente=60;
-	tabSortie[4].PuissanceMax=10;
-
-	tabSortie[5].Pente=60;
-	tabSortie[5].PuissanceMax=40;
-
-	tabSortie[6].Pente=60;
-	tabSortie[6].PuissanceMax=0;
-
-	tabSortie[7].Pente=60;
-	tabSortie[7].PuissanceMax=0;
-
-	tabSortie[8].Pente=60;
-	tabSortie[8].PuissanceMax=0;
-
-	tabSortie[9].Pente=60;
-	tabSortie[9].PuissanceMax=0;
-}

+ 179 - 147
Soft/STM32/Test/.cproject

@@ -1,249 +1,281 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?xml version="1.0" encoding="UTF-8"?>
 <?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
 	<storageModule moduleId="org.eclipse.cdt.core.settings">
 		<cconfiguration id="fr.ac6.managedbuild.config.gnu.cross.exe.debug.1984502472">
 			<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="fr.ac6.managedbuild.config.gnu.cross.exe.debug.1984502472" moduleId="org.eclipse.cdt.core.settings" name="Debug">
-				<externalSettings/>
+				<externalSettings />
 				<extensions>
-					<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
-					<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
-					<extension id="org.eclipse.cdt.core.GmakeErrorParser" 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"/>
+					<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser" />
+					<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser" />
+					<extension id="org.eclipse.cdt.core.GmakeErrorParser" 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="elf" artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug" cleanCommand="rm -rf" description="" id="fr.ac6.managedbuild.config.gnu.cross.exe.debug.1984502472" name="Debug" parent="fr.ac6.managedbuild.config.gnu.cross.exe.debug" postannouncebuildStep="Generating hex and Printing size information:" postbuildStep="arm-none-eabi-objcopy -O ihex &quot;${BuildArtifactFileBaseName}.elf&quot; &quot;${BuildArtifactFileBaseName}.hex&quot; &amp;&amp; arm-none-eabi-size &quot;${BuildArtifactFileName}&quot;">
 					<folderInfo id="fr.ac6.managedbuild.config.gnu.cross.exe.debug.1984502472." name="/" resourcePath="">
 						<toolChain id="fr.ac6.managedbuild.toolchain.gnu.cross.exe.debug.58676423" name="Ac6 STM32 MCU GCC" superClass="fr.ac6.managedbuild.toolchain.gnu.cross.exe.debug">
-							<option id="fr.ac6.managedbuild.option.gnu.cross.prefix.1605622630" name="Prefix" superClass="fr.ac6.managedbuild.option.gnu.cross.prefix" useByScannerDiscovery="false" value="arm-none-eabi-" valueType="string"/>
-							<option id="fr.ac6.managedbuild.option.gnu.cross.mcu.1255005272" name="Mcu" superClass="fr.ac6.managedbuild.option.gnu.cross.mcu" useByScannerDiscovery="false" value="STM32F401RCTx" valueType="string"/>
-							<option id="fr.ac6.managedbuild.option.gnu.cross.board.28337898" name="Board" superClass="fr.ac6.managedbuild.option.gnu.cross.board" useByScannerDiscovery="false" value="TestOrdinateur" valueType="string"/>
+							<option id="fr.ac6.managedbuild.option.gnu.cross.prefix.1605622630" name="Prefix" superClass="fr.ac6.managedbuild.option.gnu.cross.prefix" useByScannerDiscovery="false" value="arm-none-eabi-" valueType="string" />
+							<option id="fr.ac6.managedbuild.option.gnu.cross.mcu.1255005272" name="Mcu" superClass="fr.ac6.managedbuild.option.gnu.cross.mcu" useByScannerDiscovery="false" value="STM32F401RCTx" valueType="string" />
+							<option id="fr.ac6.managedbuild.option.gnu.cross.board.28337898" name="Board" superClass="fr.ac6.managedbuild.option.gnu.cross.board" useByScannerDiscovery="false" value="TestOrdinateur" valueType="string" />
 							<option id="fr.ac6.managedbuild.option.gnu.cross.core.1083960614" name="Core" superClass="fr.ac6.managedbuild.option.gnu.cross.core" useByScannerDiscovery="false" valueType="stringList">
-								<listOptionValue builtIn="false" value="ARM Cortex-M4"/>
-								<listOptionValue builtIn="false" value="CM4"/>
+								<listOptionValue builtIn="false" value="ARM Cortex-M4" />
+								<listOptionValue builtIn="false" value="CM4" />
 							</option>
-							<option id="fr.ac6.managedbuild.option.gnu.cross.instructionSet.651154685" name="Instruction Set" superClass="fr.ac6.managedbuild.option.gnu.cross.instructionSet" useByScannerDiscovery="false" value="fr.ac6.managedbuild.option.gnu.cross.instructionSet.thumbII" valueType="enumerated"/>
-							<option id="fr.ac6.managedbuild.option.gnu.cross.fpu.1283564567" name="Floating point hardware" superClass="fr.ac6.managedbuild.option.gnu.cross.fpu" useByScannerDiscovery="false" value="fr.ac6.managedbuild.option.gnu.cross.fpu.fpv4-sp-d16" valueType="enumerated"/>
-							<option id="fr.ac6.managedbuild.option.gnu.cross.floatabi.500247864" name="Floating-point ABI" superClass="fr.ac6.managedbuild.option.gnu.cross.floatabi" useByScannerDiscovery="false" value="fr.ac6.managedbuild.option.gnu.cross.floatabi.hard" valueType="enumerated"/>
-							<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="fr.ac6.managedbuild.targetPlatform.gnu.cross.1199717801" isAbstract="false" osList="all" superClass="fr.ac6.managedbuild.targetPlatform.gnu.cross"/>
+							<option id="fr.ac6.managedbuild.option.gnu.cross.instructionSet.651154685" name="Instruction Set" superClass="fr.ac6.managedbuild.option.gnu.cross.instructionSet" useByScannerDiscovery="false" value="fr.ac6.managedbuild.option.gnu.cross.instructionSet.thumbII" valueType="enumerated" />
+							<option id="fr.ac6.managedbuild.option.gnu.cross.fpu.1283564567" name="Floating point hardware" superClass="fr.ac6.managedbuild.option.gnu.cross.fpu" useByScannerDiscovery="false" value="fr.ac6.managedbuild.option.gnu.cross.fpu.fpv4-sp-d16" valueType="enumerated" />
+							<option id="fr.ac6.managedbuild.option.gnu.cross.floatabi.500247864" name="Floating-point ABI" superClass="fr.ac6.managedbuild.option.gnu.cross.floatabi" useByScannerDiscovery="false" value="fr.ac6.managedbuild.option.gnu.cross.floatabi.hard" valueType="enumerated" />
+							<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="fr.ac6.managedbuild.targetPlatform.gnu.cross.1199717801" isAbstract="false" osList="all" superClass="fr.ac6.managedbuild.targetPlatform.gnu.cross" />
 							<builder buildPath="${workspace_loc:/TestOrdinateur}/Debug" id="fr.ac6.managedbuild.builder.gnu.cross.1125668852" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="fr.ac6.managedbuild.builder.gnu.cross">
 								<outputEntries>
-									<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="outputPath" name="Debug"/>
+									<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="outputPath" name="Debug" />
 								</outputEntries>
 							</builder>
 							<tool id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.266059666" name="MCU GCC Compiler" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler">
-								<option defaultValue="gnu.c.optimization.level.none" id="fr.ac6.managedbuild.gnu.c.compiler.option.optimization.level.786793417" name="Optimization Level" superClass="fr.ac6.managedbuild.gnu.c.compiler.option.optimization.level" useByScannerDiscovery="false" value="fr.ac6.managedbuild.gnu.c.optimization.level.debug" valueType="enumerated"/>
-								<option id="gnu.c.compiler.option.debugging.level.860596530" name="Debug Level" superClass="gnu.c.compiler.option.debugging.level" useByScannerDiscovery="false" value="gnu.c.debugging.level.max" valueType="enumerated"/>
+								<option defaultValue="gnu.c.optimization.level.none" id="fr.ac6.managedbuild.gnu.c.compiler.option.optimization.level.786793417" name="Optimization Level" superClass="fr.ac6.managedbuild.gnu.c.compiler.option.optimization.level" useByScannerDiscovery="false" value="fr.ac6.managedbuild.gnu.c.optimization.level.debug" valueType="enumerated" />
+								<option id="gnu.c.compiler.option.debugging.level.860596530" name="Debug Level" superClass="gnu.c.compiler.option.debugging.level" useByScannerDiscovery="false" value="gnu.c.debugging.level.max" valueType="enumerated" />
 								<option id="gnu.c.compiler.option.include.paths.490392870" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
-									<listOptionValue builtIn="false" value="../Inc"/>
-									<listOptionValue builtIn="false" value="&quot;C:\Users\e_rcluze\Documents\Autres\projet\DriverSTM_RC\Include&quot;"/>
-									<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc"/>
-									<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy"/>
-									<listOptionValue builtIn="false" value="../Drivers/CMSIS/Device/ST/STM32F4xx/Include"/>
-									<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include"/>
+									<listOptionValue builtIn="false" value="&quot;C:\Users\e_rcluze\Documents\Autres\projet\DriverSTM_RC\Include&quot;" />
+									<listOptionValue builtIn="false" value="../Inc" />
+									<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc" />
+									<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" />
+									<listOptionValue builtIn="false" value="../Drivers/CMSIS/Device/ST/STM32F4xx/Include" />
+									<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include" />
 								</option>
 								<option id="gnu.c.compiler.option.preprocessor.def.symbols.382711826" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" useByScannerDiscovery="false" valueType="definedSymbols">
-									<listOptionValue builtIn="false" value="__weak=__attribute__((weak))"/>
-									<listOptionValue builtIn="false" value="__packed=__attribute__((__packed__))"/>
-									<listOptionValue builtIn="false" value="USE_HAL_DRIVER"/>
-									<listOptionValue builtIn="false" value="STM32F401xC"/>
+									<listOptionValue builtIn="false" value="__weak=__attribute__((weak))" />
+									<listOptionValue builtIn="false" value="__packed=__attribute__((__packed__))" />
+									<listOptionValue builtIn="false" value="USE_HAL_DRIVER" />
+									<listOptionValue builtIn="false" value="STM32F401xC" />
 								</option>
-								<option id="fr.ac6.managedbuild.gnu.c.compiler.option.misc.other.138090539" superClass="fr.ac6.managedbuild.gnu.c.compiler.option.misc.other" useByScannerDiscovery="false" value="-fmessage-length=0" valueType="string"/>
-								<inputType id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.c.88589222" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.c"/>
-								<inputType id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.s.776458861" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.s"/>
+								<option id="fr.ac6.managedbuild.gnu.c.compiler.option.misc.other.138090539" superClass="fr.ac6.managedbuild.gnu.c.compiler.option.misc.other" useByScannerDiscovery="false" value="-fmessage-length=0" valueType="string" />
+								<inputType id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.c.88589222" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.c" />
+								<inputType id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.s.776458861" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.s" />
 							</tool>
 							<tool id="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.1591116470" name="MCU G++ Compiler" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler">
-								<option defaultValue="gnu.cpp.optimization.level.none" id="fr.ac6.managedbuild.gnu.cpp.compiler.option.optimization.level.855552577" name="Optimization Level" superClass="fr.ac6.managedbuild.gnu.cpp.compiler.option.optimization.level" useByScannerDiscovery="false" value="fr.ac6.managedbuild.gnu.cpp.optimization.level.debug" valueType="enumerated"/>
-								<option id="gnu.cpp.compiler.option.debugging.level.263171537" name="Debug Level" superClass="gnu.cpp.compiler.option.debugging.level" useByScannerDiscovery="false" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
+								<option defaultValue="gnu.cpp.optimization.level.none" id="fr.ac6.managedbuild.gnu.cpp.compiler.option.optimization.level.855552577" name="Optimization Level" superClass="fr.ac6.managedbuild.gnu.cpp.compiler.option.optimization.level" useByScannerDiscovery="false" value="fr.ac6.managedbuild.gnu.cpp.optimization.level.debug" valueType="enumerated" />
+								<option id="gnu.cpp.compiler.option.debugging.level.263171537" name="Debug Level" superClass="gnu.cpp.compiler.option.debugging.level" useByScannerDiscovery="false" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated" />
 								<option id="gnu.cpp.compiler.option.include.paths.112963619" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
-									<listOptionValue builtIn="false" value="../Inc"/>
-									<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc"/>
-									<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy"/>
-									<listOptionValue builtIn="false" value="../Drivers/CMSIS/Device/ST/STM32F4xx/Include"/>
-									<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include"/>
+									<listOptionValue builtIn="false" value="../Inc" />
+									<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc" />
+									<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" />
+									<listOptionValue builtIn="false" value="../Drivers/CMSIS/Device/ST/STM32F4xx/Include" />
+									<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include" />
 								</option>
 								<option id="gnu.cpp.compiler.option.preprocessor.def.1008717617" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" useByScannerDiscovery="false" valueType="definedSymbols">
-									<listOptionValue builtIn="false" value="__weak=__attribute__((weak))"/>
-									<listOptionValue builtIn="false" value="__packed=__attribute__((__packed__))"/>
-									<listOptionValue builtIn="false" value="USE_HAL_DRIVER"/>
-									<listOptionValue builtIn="false" value="STM32F401xC"/>
+									<listOptionValue builtIn="false" value="__weak=__attribute__((weak))" />
+									<listOptionValue builtIn="false" value="__packed=__attribute__((__packed__))" />
+									<listOptionValue builtIn="false" value="USE_HAL_DRIVER" />
+									<listOptionValue builtIn="false" value="STM32F401xC" />
 								</option>
-								<option id="fr.ac6.managedbuild.gnu.cpp.compiler.option.misc.other.2026815766" name="Other flags" superClass="fr.ac6.managedbuild.gnu.cpp.compiler.option.misc.other" useByScannerDiscovery="false" value="-fmessage-length=0" valueType="string"/>
-								<inputType id="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.cpp.164983447" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.cpp"/>
-								<inputType id="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.s.1798757557" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.s"/>
+								<option id="fr.ac6.managedbuild.gnu.cpp.compiler.option.misc.other.2026815766" name="Other flags" superClass="fr.ac6.managedbuild.gnu.cpp.compiler.option.misc.other" useByScannerDiscovery="false" value="-fmessage-length=0" valueType="string" />
+								<inputType id="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.cpp.164983447" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.cpp" />
+								<inputType id="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.s.1798757557" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.s" />
 							</tool>
 							<tool id="fr.ac6.managedbuild.tool.gnu.cross.c.linker.481502772" name="MCU GCC Linker" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.linker">
-								<option id="fr.ac6.managedbuild.tool.gnu.cross.c.linker.script.1651588840" name="Linker Script (-T)" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.linker.script" useByScannerDiscovery="false" value="../STM32F401RCTx_FLASH.ld" valueType="string"/>
-								<option id="gnu.c.link.option.libs.96269394" name="Libraries (-l)" superClass="gnu.c.link.option.libs" useByScannerDiscovery="false"/>
-								<option id="gnu.c.link.option.paths.602546168" name="Library search path (-L)" superClass="gnu.c.link.option.paths" useByScannerDiscovery="false"/>
-								<option id="gnu.c.link.option.ldflags.914162332" name="Linker flags" superClass="gnu.c.link.option.ldflags" useByScannerDiscovery="false" value="-specs=nosys.specs -specs=nano.specs" valueType="string"/>
-								<option id="gnu.c.link.option.other.1763236605" name="Other options (-Xlinker [option])" superClass="gnu.c.link.option.other" useByScannerDiscovery="false"/>
+								<option id="fr.ac6.managedbuild.tool.gnu.cross.c.linker.script.1651588840" name="Linker Script (-T)" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.linker.script" useByScannerDiscovery="false" value="../STM32F401RCTx_FLASH.ld" valueType="string" />
+								<option id="gnu.c.link.option.libs.96269394" name="Libraries (-l)" superClass="gnu.c.link.option.libs" useByScannerDiscovery="false" />
+								<option id="gnu.c.link.option.paths.602546168" name="Library search path (-L)" superClass="gnu.c.link.option.paths" useByScannerDiscovery="false" />
+								<option id="gnu.c.link.option.ldflags.914162332" name="Linker flags" superClass="gnu.c.link.option.ldflags" useByScannerDiscovery="false" value="-specs=nosys.specs -specs=nano.specs" valueType="string" />
+								<option id="gnu.c.link.option.other.1763236605" name="Other options (-Xlinker [option])" superClass="gnu.c.link.option.other" useByScannerDiscovery="false" />
 								<inputType id="cdt.managedbuild.tool.gnu.c.linker.input.615316240" superClass="cdt.managedbuild.tool.gnu.c.linker.input">
-									<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
-									<additionalInput kind="additionalinput" paths="$(LIBS)"/>
+									<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)" />
+									<additionalInput kind="additionalinput" paths="$(LIBS)" />
 								</inputType>
 							</tool>
 							<tool id="fr.ac6.managedbuild.tool.gnu.cross.cpp.linker.2080698956" name="MCU G++ Linker" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.linker">
-								<option id="fr.ac6.managedbuild.tool.gnu.cross.cpp.linker.script.1173040806" name="Linker Script (-T)" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.linker.script" value="../STM32F401RCTx_FLASH.ld" valueType="string"/>
-								<option id="gnu.cpp.link.option.libs.38090548" name="Libraries (-l)" superClass="gnu.cpp.link.option.libs"/>
-								<option id="gnu.cpp.link.option.paths.2018667549" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths"/>
-								<option id="gnu.cpp.link.option.flags.1867781952" name="Linker flags" superClass="gnu.cpp.link.option.flags" value="-specs=nosys.specs -specs=nano.specs" valueType="string"/>
-								<option id="gnu.cpp.link.option.other.1550550054" name="Other options (-Xlinker [option])" superClass="gnu.cpp.link.option.other" useByScannerDiscovery="false"/>
+								<option id="fr.ac6.managedbuild.tool.gnu.cross.cpp.linker.script.1173040806" name="Linker Script (-T)" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.linker.script" value="../STM32F401RCTx_FLASH.ld" valueType="string" />
+								<option id="gnu.cpp.link.option.libs.38090548" name="Libraries (-l)" superClass="gnu.cpp.link.option.libs" />
+								<option id="gnu.cpp.link.option.paths.2018667549" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" />
+								<option id="gnu.cpp.link.option.flags.1867781952" name="Linker flags" superClass="gnu.cpp.link.option.flags" value="-specs=nosys.specs -specs=nano.specs" valueType="string" />
+								<option id="gnu.cpp.link.option.other.1550550054" name="Other options (-Xlinker [option])" superClass="gnu.cpp.link.option.other" useByScannerDiscovery="false" />
 								<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1589230391" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
-									<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
-									<additionalInput kind="additionalinput" paths="$(LIBS)"/>
+									<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)" />
+									<additionalInput kind="additionalinput" paths="$(LIBS)" />
 								</inputType>
 							</tool>
-							<tool id="fr.ac6.managedbuild.tool.gnu.archiver.1578100246" name="MCU GCC Archiver" superClass="fr.ac6.managedbuild.tool.gnu.archiver"/>
+							<tool id="fr.ac6.managedbuild.tool.gnu.archiver.1578100246" name="MCU GCC Archiver" superClass="fr.ac6.managedbuild.tool.gnu.archiver" />
 							<tool id="fr.ac6.managedbuild.tool.gnu.cross.assembler.447161935" name="MCU GCC Assembler" superClass="fr.ac6.managedbuild.tool.gnu.cross.assembler">
-								<option id="gnu.both.asm.option.include.paths.1835082467" name="Include paths (-I)" superClass="gnu.both.asm.option.include.paths" useByScannerDiscovery="false"/>
-								<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1305204615" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
-								<inputType id="fr.ac6.managedbuild.tool.gnu.cross.assembler.input.559291329" superClass="fr.ac6.managedbuild.tool.gnu.cross.assembler.input"/>
+								<option id="gnu.both.asm.option.include.paths.1835082467" name="Include paths (-I)" superClass="gnu.both.asm.option.include.paths" useByScannerDiscovery="false" />
+								<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1305204615" superClass="cdt.managedbuild.tool.gnu.assembler.input" />
+								<inputType id="fr.ac6.managedbuild.tool.gnu.cross.assembler.input.559291329" superClass="fr.ac6.managedbuild.tool.gnu.cross.assembler.input" />
+							</tool>
+						</toolChain>
+					</folderInfo>
+					<folderInfo id="fr.ac6.managedbuild.config.gnu.cross.exe.debug.1984502472.1639642156" name="/" resourcePath="DriverSTM_RC">
+						<toolChain id="fr.ac6.managedbuild.toolchain.gnu.cross.exe.debug.75421625" name="Ac6 STM32 MCU GCC" superClass="fr.ac6.managedbuild.toolchain.gnu.cross.exe.debug" unusedChildren="">
+							<option id="fr.ac6.managedbuild.option.gnu.cross.prefix.1605622630.704271418" name="Prefix" superClass="fr.ac6.managedbuild.option.gnu.cross.prefix.1605622630" />
+							<option id="fr.ac6.managedbuild.option.gnu.cross.mcu.1255005272.1203127928" name="Mcu" superClass="fr.ac6.managedbuild.option.gnu.cross.mcu.1255005272" value="STM32F401RCTx" />
+							<option id="fr.ac6.managedbuild.option.gnu.cross.board.28337898.623507320" name="Board" superClass="fr.ac6.managedbuild.option.gnu.cross.board.28337898" value="TestOrdinateur" />
+							<option id="fr.ac6.managedbuild.option.gnu.cross.core.1083960614.691925198" name="Core" superClass="fr.ac6.managedbuild.option.gnu.cross.core.1083960614" />
+							<option id="fr.ac6.managedbuild.option.gnu.cross.instructionSet.651154685.1453814573" name="Instruction Set" superClass="fr.ac6.managedbuild.option.gnu.cross.instructionSet.651154685" />
+							<option id="fr.ac6.managedbuild.option.gnu.cross.fpu.1283564567.1187297658" name="Floating point hardware" superClass="fr.ac6.managedbuild.option.gnu.cross.fpu.1283564567" />
+							<option id="fr.ac6.managedbuild.option.gnu.cross.floatabi.500247864.752376887" name="Floating-point ABI" superClass="fr.ac6.managedbuild.option.gnu.cross.floatabi.500247864" />
+							<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="fr.ac6.managedbuild.targetPlatform.gnu.cross" isAbstract="false" osList="all" superClass="fr.ac6.managedbuild.targetPlatform.gnu.cross" />
+							<tool id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.1422833332" name="MCU GCC Compiler" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.266059666">
+								<option id="gnu.c.compiler.option.include.paths.757466643" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
+									<listOptionValue builtIn="false" value="&quot;C:\Users\e_rcluze\Documents\Autres\projet\DriverSTM_RC\Include&quot;" />
+									<listOptionValue builtIn="false" value="../Inc" />
+									<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc" />
+									<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" />
+									<listOptionValue builtIn="false" value="../Drivers/CMSIS/Device/ST/STM32F4xx/Include" />
+									<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include" />
+								</option>
+								<inputType id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.c.1553907842" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.c" />
+								<inputType id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.s.1608844851" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.s" />
+							</tool>
+							<tool id="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.2137546447" name="MCU G++ Compiler" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.1591116470" />
+							<tool id="fr.ac6.managedbuild.tool.gnu.cross.c.linker.1693207035" name="MCU GCC Linker" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.linker.481502772" />
+							<tool id="fr.ac6.managedbuild.tool.gnu.cross.cpp.linker.211822784" name="MCU G++ Linker" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.linker.2080698956" />
+							<tool id="fr.ac6.managedbuild.tool.gnu.archiver.1132185586" name="MCU GCC Archiver" superClass="fr.ac6.managedbuild.tool.gnu.archiver.1578100246" />
+							<tool id="fr.ac6.managedbuild.tool.gnu.cross.assembler.1252565792" name="MCU GCC Assembler" superClass="fr.ac6.managedbuild.tool.gnu.cross.assembler.447161935">
+								<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1070566264" superClass="cdt.managedbuild.tool.gnu.assembler.input" />
+								<inputType id="fr.ac6.managedbuild.tool.gnu.cross.assembler.input.1380081214" superClass="fr.ac6.managedbuild.tool.gnu.cross.assembler.input" />
 							</tool>
 						</toolChain>
 					</folderInfo>
 					<sourceEntries>
-						<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="DriverSTM_RC"/>
-						<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Drivers"/>
-						<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Inc"/>
-						<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Middlewares"/>
-						<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Src"/>
-						<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="startup"/>
+						<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="DriverSTM_RC" />
+						<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Drivers" />
+						<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Inc" />
+						<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Middlewares" />
+						<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Src" />
+						<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="startup" />
 					</sourceEntries>
 				</configuration>
 			</storageModule>
-			<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+			<storageModule moduleId="org.eclipse.cdt.core.externalSettings" />
 		</cconfiguration>
 		<cconfiguration id="fr.ac6.managedbuild.config.gnu.cross.exe.release.872773008">
 			<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="fr.ac6.managedbuild.config.gnu.cross.exe.release.872773008" moduleId="org.eclipse.cdt.core.settings" name="Release">
-				<externalSettings/>
+				<externalSettings />
 				<extensions>
-					<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
-					<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
-					<extension id="org.eclipse.cdt.core.GmakeErrorParser" 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"/>
+					<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser" />
+					<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser" />
+					<extension id="org.eclipse.cdt.core.GmakeErrorParser" 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="elf" artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release" cleanCommand="rm -rf" description="" id="fr.ac6.managedbuild.config.gnu.cross.exe.release.872773008" name="Release" parent="fr.ac6.managedbuild.config.gnu.cross.exe.release" postannouncebuildStep="Generating hex and Printing size information:" postbuildStep="arm-none-eabi-objcopy -O ihex &quot;${BuildArtifactFileBaseName}.elf&quot; &quot;${BuildArtifactFileBaseName}.hex&quot; &amp;&amp; arm-none-eabi-size &quot;${BuildArtifactFileName}&quot;">
 					<folderInfo id="fr.ac6.managedbuild.config.gnu.cross.exe.release.872773008." name="/" resourcePath="">
 						<toolChain id="fr.ac6.managedbuild.toolchain.gnu.cross.exe.release.188385232" name="Ac6 STM32 MCU GCC" superClass="fr.ac6.managedbuild.toolchain.gnu.cross.exe.release">
-							<option id="fr.ac6.managedbuild.option.gnu.cross.prefix.1605622630" name="Prefix" superClass="fr.ac6.managedbuild.option.gnu.cross.prefix" value="arm-none-eabi-" valueType="string"/>
-							<option id="fr.ac6.managedbuild.option.gnu.cross.mcu.1255005272" name="Mcu" superClass="fr.ac6.managedbuild.option.gnu.cross.mcu" value="STM32F401RCTx" valueType="string"/>
-							<option id="fr.ac6.managedbuild.option.gnu.cross.board.28337898" name="Board" superClass="fr.ac6.managedbuild.option.gnu.cross.board" value="TestOrdinateur" valueType="string"/>
+							<option id="fr.ac6.managedbuild.option.gnu.cross.prefix.1605622630" name="Prefix" superClass="fr.ac6.managedbuild.option.gnu.cross.prefix" value="arm-none-eabi-" valueType="string" />
+							<option id="fr.ac6.managedbuild.option.gnu.cross.mcu.1255005272" name="Mcu" superClass="fr.ac6.managedbuild.option.gnu.cross.mcu" value="STM32F401RCTx" valueType="string" />
+							<option id="fr.ac6.managedbuild.option.gnu.cross.board.28337898" name="Board" superClass="fr.ac6.managedbuild.option.gnu.cross.board" value="TestOrdinateur" valueType="string" />
 							<option id="fr.ac6.managedbuild.option.gnu.cross.core.1083960614" name="Core" superClass="fr.ac6.managedbuild.option.gnu.cross.core" valueType="stringList">
-								<listOptionValue builtIn="false" value="ARM Cortex-M4"/>
-								<listOptionValue builtIn="false" value="CM4"/>
+								<listOptionValue builtIn="false" value="ARM Cortex-M4" />
+								<listOptionValue builtIn="false" value="CM4" />
 							</option>
-							<option id="fr.ac6.managedbuild.option.gnu.cross.instructionSet.651154685" name="Instruction Set" superClass="fr.ac6.managedbuild.option.gnu.cross.instructionSet" value="fr.ac6.managedbuild.option.gnu.cross.instructionSet.thumbII" valueType="enumerated"/>
-							<option id="fr.ac6.managedbuild.option.gnu.cross.fpu.1283564567" name="Floating point hardware" superClass="fr.ac6.managedbuild.option.gnu.cross.fpu" value="fr.ac6.managedbuild.option.gnu.cross.fpu.fpv4-sp-d16" valueType="enumerated"/>
-							<option id="fr.ac6.managedbuild.option.gnu.cross.floatabi.500247864" name="Floating-point ABI" superClass="fr.ac6.managedbuild.option.gnu.cross.floatabi" value="fr.ac6.managedbuild.option.gnu.cross.floatabi.hard" valueType="enumerated"/>
-							<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="fr.ac6.managedbuild.targetPlatform.gnu.cross.1199717801" isAbstract="false" osList="all" superClass="fr.ac6.managedbuild.targetPlatform.gnu.cross"/>
+							<option id="fr.ac6.managedbuild.option.gnu.cross.instructionSet.651154685" name="Instruction Set" superClass="fr.ac6.managedbuild.option.gnu.cross.instructionSet" value="fr.ac6.managedbuild.option.gnu.cross.instructionSet.thumbII" valueType="enumerated" />
+							<option id="fr.ac6.managedbuild.option.gnu.cross.fpu.1283564567" name="Floating point hardware" superClass="fr.ac6.managedbuild.option.gnu.cross.fpu" value="fr.ac6.managedbuild.option.gnu.cross.fpu.fpv4-sp-d16" valueType="enumerated" />
+							<option id="fr.ac6.managedbuild.option.gnu.cross.floatabi.500247864" name="Floating-point ABI" superClass="fr.ac6.managedbuild.option.gnu.cross.floatabi" value="fr.ac6.managedbuild.option.gnu.cross.floatabi.hard" valueType="enumerated" />
+							<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="fr.ac6.managedbuild.targetPlatform.gnu.cross.1199717801" isAbstract="false" osList="all" superClass="fr.ac6.managedbuild.targetPlatform.gnu.cross" />
 							<builder buildPath="${workspace_loc:/TestOrdinateur}/Release" id="fr.ac6.managedbuild.builder.gnu.cross.1125668852" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="fr.ac6.managedbuild.builder.gnu.cross">
 								<outputEntries>
-									<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="outputPath" name="Release"/>
+									<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="outputPath" name="Release" />
 								</outputEntries>
 							</builder>
 							<tool id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.266059666" name="MCU GCC Compiler" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler">
-								<option defaultValue="gnu.c.optimization.level.none" id="fr.ac6.managedbuild.gnu.c.compiler.option.optimization.level.786793417" name="Optimization Level" superClass="fr.ac6.managedbuild.gnu.c.compiler.option.optimization.level" useByScannerDiscovery="false" value="fr.ac6.managedbuild.gnu.c.optimization.level.debug" valueType="enumerated"/>
-								<option id="gnu.c.compiler.option.debugging.level.860596530" name="Debug Level" superClass="gnu.c.compiler.option.debugging.level" useByScannerDiscovery="false" value="gnu.c.debugging.level.max" valueType="enumerated"/>
+								<option defaultValue="gnu.c.optimization.level.none" id="fr.ac6.managedbuild.gnu.c.compiler.option.optimization.level.786793417" name="Optimization Level" superClass="fr.ac6.managedbuild.gnu.c.compiler.option.optimization.level" useByScannerDiscovery="false" value="fr.ac6.managedbuild.gnu.c.optimization.level.debug" valueType="enumerated" />
+								<option id="gnu.c.compiler.option.debugging.level.860596530" name="Debug Level" superClass="gnu.c.compiler.option.debugging.level" useByScannerDiscovery="false" value="gnu.c.debugging.level.max" valueType="enumerated" />
 								<option id="gnu.c.compiler.option.include.paths.490392870" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
-									<listOptionValue builtIn="false" value="../Inc"/>
-									<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc"/>
-									<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy"/>
-									<listOptionValue builtIn="false" value="../Drivers/CMSIS/Device/ST/STM32F4xx/Include"/>
-									<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include"/>
+									<listOptionValue builtIn="false" value="../Inc" />
+									<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc" />
+									<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" />
+									<listOptionValue builtIn="false" value="../Drivers/CMSIS/Device/ST/STM32F4xx/Include" />
+									<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include" />
 								</option>
 								<option id="gnu.c.compiler.option.preprocessor.def.symbols.382711826" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" useByScannerDiscovery="false" valueType="definedSymbols">
-									<listOptionValue builtIn="false" value="__weak=__attribute__((weak))"/>
-									<listOptionValue builtIn="false" value="__packed=__attribute__((__packed__))"/>
-									<listOptionValue builtIn="false" value="USE_HAL_DRIVER"/>
-									<listOptionValue builtIn="false" value="STM32F401xC"/>
+									<listOptionValue builtIn="false" value="__weak=__attribute__((weak))" />
+									<listOptionValue builtIn="false" value="__packed=__attribute__((__packed__))" />
+									<listOptionValue builtIn="false" value="USE_HAL_DRIVER" />
+									<listOptionValue builtIn="false" value="STM32F401xC" />
 								</option>
-								<option id="fr.ac6.managedbuild.gnu.c.compiler.option.misc.other.138090539" superClass="fr.ac6.managedbuild.gnu.c.compiler.option.misc.other" useByScannerDiscovery="false" value="-fmessage-length=0" valueType="string"/>
-								<inputType id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.c.88589222" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.c"/>
-								<inputType id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.s.776458861" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.s"/>
+								<option id="fr.ac6.managedbuild.gnu.c.compiler.option.misc.other.138090539" superClass="fr.ac6.managedbuild.gnu.c.compiler.option.misc.other" useByScannerDiscovery="false" value="-fmessage-length=0" valueType="string" />
+								<inputType id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.c.88589222" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.c" />
+								<inputType id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.s.776458861" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.s" />
 							</tool>
 							<tool id="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.1591116470" name="MCU G++ Compiler" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler">
-								<option defaultValue="gnu.cpp.optimization.level.none" id="fr.ac6.managedbuild.gnu.cpp.compiler.option.optimization.level.855552577" name="Optimization Level" superClass="fr.ac6.managedbuild.gnu.cpp.compiler.option.optimization.level" useByScannerDiscovery="false" value="fr.ac6.managedbuild.gnu.cpp.optimization.level.debug" valueType="enumerated"/>
-								<option id="gnu.cpp.compiler.option.debugging.level.263171537" name="Debug Level" superClass="gnu.cpp.compiler.option.debugging.level" useByScannerDiscovery="false" value="gnu.cpp.debugging.level.max" valueType="enumerated"/>
+								<option defaultValue="gnu.cpp.optimization.level.none" id="fr.ac6.managedbuild.gnu.cpp.compiler.option.optimization.level.855552577" name="Optimization Level" superClass="fr.ac6.managedbuild.gnu.cpp.compiler.option.optimization.level" useByScannerDiscovery="false" value="fr.ac6.managedbuild.gnu.cpp.optimization.level.debug" valueType="enumerated" />
+								<option id="gnu.cpp.compiler.option.debugging.level.263171537" name="Debug Level" superClass="gnu.cpp.compiler.option.debugging.level" useByScannerDiscovery="false" value="gnu.cpp.debugging.level.max" valueType="enumerated" />
 								<option id="gnu.cpp.compiler.option.include.paths.112963619" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
-									<listOptionValue builtIn="false" value="../Inc"/>
-									<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc"/>
-									<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy"/>
-									<listOptionValue builtIn="false" value="../Drivers/CMSIS/Device/ST/STM32F4xx/Include"/>
-									<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include"/>
+									<listOptionValue builtIn="false" value="../Inc" />
+									<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc" />
+									<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" />
+									<listOptionValue builtIn="false" value="../Drivers/CMSIS/Device/ST/STM32F4xx/Include" />
+									<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include" />
 								</option>
 								<option id="gnu.cpp.compiler.option.preprocessor.def.symbols.1622891563" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def.symbols" useByScannerDiscovery="false" valueType="definedSymbols">
-									<listOptionValue builtIn="false" value="__weak=__attribute__((weak))"/>
-									<listOptionValue builtIn="false" value="__packed=__attribute__((__packed__))"/>
-									<listOptionValue builtIn="false" value="USE_HAL_DRIVER"/>
-									<listOptionValue builtIn="false" value="STM32F401xC"/>
+									<listOptionValue builtIn="false" value="__weak=__attribute__((weak))" />
+									<listOptionValue builtIn="false" value="__packed=__attribute__((__packed__))" />
+									<listOptionValue builtIn="false" value="USE_HAL_DRIVER" />
+									<listOptionValue builtIn="false" value="STM32F401xC" />
 								</option>
-								<option id="fr.ac6.managedbuild.gnu.cpp.compiler.option.misc.other.2026815766" name="Other flags" superClass="fr.ac6.managedbuild.gnu.cpp.compiler.option.misc.other" useByScannerDiscovery="false" value="-fmessage-length=0" valueType="string"/>
-								<inputType id="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.cpp.164983447" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.cpp"/>
-								<inputType id="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.s.1798757557" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.s"/>
+								<option id="fr.ac6.managedbuild.gnu.cpp.compiler.option.misc.other.2026815766" name="Other flags" superClass="fr.ac6.managedbuild.gnu.cpp.compiler.option.misc.other" useByScannerDiscovery="false" value="-fmessage-length=0" valueType="string" />
+								<inputType id="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.cpp.164983447" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.cpp" />
+								<inputType id="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.s.1798757557" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.s" />
 							</tool>
 							<tool id="fr.ac6.managedbuild.tool.gnu.cross.c.linker.481502772" name="MCU GCC Linker" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.linker">
-								<option id="fr.ac6.managedbuild.tool.gnu.cross.c.linker.script.1651588840" name="Linker Script (-T)" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.linker.script" value="../STM32F401RCTx_FLASH.ld" valueType="string"/>
-								<option id="gnu.c.link.option.libs.96269394" name="Libraries (-l)" superClass="gnu.c.link.option.libs"/>
-								<option id="gnu.c.link.option.paths.602546168" name="Library search path (-L)" superClass="gnu.c.link.option.paths"/>
-								<option id="gnu.c.link.option.ldflags.914162332" name="Linker flags" superClass="gnu.c.link.option.ldflags" value="-specs=nosys.specs -specs=nano.specs" valueType="string"/>
-								<option id="gnu.c.link.option.other.1763236605" name="Other options (-Xlinker [option])" superClass="gnu.c.link.option.other" useByScannerDiscovery="false"/>
+								<option id="fr.ac6.managedbuild.tool.gnu.cross.c.linker.script.1651588840" name="Linker Script (-T)" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.linker.script" value="../STM32F401RCTx_FLASH.ld" valueType="string" />
+								<option id="gnu.c.link.option.libs.96269394" name="Libraries (-l)" superClass="gnu.c.link.option.libs" />
+								<option id="gnu.c.link.option.paths.602546168" name="Library search path (-L)" superClass="gnu.c.link.option.paths" />
+								<option id="gnu.c.link.option.ldflags.914162332" name="Linker flags" superClass="gnu.c.link.option.ldflags" value="-specs=nosys.specs -specs=nano.specs" valueType="string" />
+								<option id="gnu.c.link.option.other.1763236605" name="Other options (-Xlinker [option])" superClass="gnu.c.link.option.other" useByScannerDiscovery="false" />
 								<inputType id="cdt.managedbuild.tool.gnu.c.linker.input.615316240" superClass="cdt.managedbuild.tool.gnu.c.linker.input">
-									<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
-									<additionalInput kind="additionalinput" paths="$(LIBS)"/>
+									<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)" />
+									<additionalInput kind="additionalinput" paths="$(LIBS)" />
 								</inputType>
 							</tool>
 							<tool id="fr.ac6.managedbuild.tool.gnu.cross.cpp.linker.2080698956" name="MCU G++ Linker" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.linker">
-								<option id="fr.ac6.managedbuild.tool.gnu.cross.cpp.linker.script.1173040806" name="Linker Script (-T)" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.linker.script" value="../STM32F401RCTx_FLASH.ld" valueType="string"/>
-								<option id="gnu.cpp.link.option.libs.38090548" name="Libraries (-l)" superClass="gnu.cpp.link.option.libs"/>
-								<option id="gnu.cpp.link.option.paths.2018667549" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths"/>
-								<option id="gnu.cpp.link.option.ldflags.1618376510" superClass="gnu.cpp.link.option.ldflags" value="-specs=nosys.specs -specs=nano.specs" valueType="string"/>
-								<option id="gnu.cpp.link.option.other.1550550054" name="Other options (-Xlinker [option])" superClass="gnu.cpp.link.option.other" useByScannerDiscovery="false"/>
+								<option id="fr.ac6.managedbuild.tool.gnu.cross.cpp.linker.script.1173040806" name="Linker Script (-T)" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.linker.script" value="../STM32F401RCTx_FLASH.ld" valueType="string" />
+								<option id="gnu.cpp.link.option.libs.38090548" name="Libraries (-l)" superClass="gnu.cpp.link.option.libs" />
+								<option id="gnu.cpp.link.option.paths.2018667549" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" />
+								<option id="gnu.cpp.link.option.ldflags.1618376510" superClass="gnu.cpp.link.option.ldflags" value="-specs=nosys.specs -specs=nano.specs" valueType="string" />
+								<option id="gnu.cpp.link.option.other.1550550054" name="Other options (-Xlinker [option])" superClass="gnu.cpp.link.option.other" useByScannerDiscovery="false" />
 								<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1589230391" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
-									<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
-									<additionalInput kind="additionalinput" paths="$(LIBS)"/>
+									<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)" />
+									<additionalInput kind="additionalinput" paths="$(LIBS)" />
 								</inputType>
 							</tool>
-							<tool id="fr.ac6.managedbuild.tool.gnu.archiver.1578100246" name="MCU GCC Archiver" superClass="fr.ac6.managedbuild.tool.gnu.archiver"/>
+							<tool id="fr.ac6.managedbuild.tool.gnu.archiver.1578100246" name="MCU GCC Archiver" superClass="fr.ac6.managedbuild.tool.gnu.archiver" />
 							<tool id="fr.ac6.managedbuild.tool.gnu.cross.assembler.exe.release.1149319903" name="MCU GCC Assembler" superClass="fr.ac6.managedbuild.tool.gnu.cross.assembler.exe.release">
-								<option id="gnu.both.asm.option.include.paths.1835082467" name="Include paths (-I)" superClass="gnu.both.asm.option.include.paths"/>
-								<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1305204615" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
-								<inputType id="fr.ac6.managedbuild.tool.gnu.cross.assembler.input.559291329" superClass="fr.ac6.managedbuild.tool.gnu.cross.assembler.input"/>
+								<option id="gnu.both.asm.option.include.paths.1835082467" name="Include paths (-I)" superClass="gnu.both.asm.option.include.paths" />
+								<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1305204615" superClass="cdt.managedbuild.tool.gnu.assembler.input" />
+								<inputType id="fr.ac6.managedbuild.tool.gnu.cross.assembler.input.559291329" superClass="fr.ac6.managedbuild.tool.gnu.cross.assembler.input" />
 							</tool>
 						</toolChain>
 					</folderInfo>
 					<sourceEntries>
-						<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="startup"/>
-						<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Middlewares"/>
-						<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Drivers"/>
-						<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Src"/>
-						<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Inc"/>
+						<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="startup" />
+						<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Middlewares" />
+						<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Drivers" />
+						<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Src" />
+						<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Inc" />
 					</sourceEntries>
 				</configuration>
 			</storageModule>
-			<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+			<storageModule moduleId="org.eclipse.cdt.core.externalSettings" />
 		</cconfiguration>
 	</storageModule>
 	<storageModule moduleId="cdtBuildSystem" version="4.0.0">
-		<project id="TestOrdinateur.fr.ac6.managedbuild.target.gnu.cross.exe.165098100" name="Executable" projectType="fr.ac6.managedbuild.target.gnu.cross.exe"/>
+		<project id="TestOrdinateur.fr.ac6.managedbuild.target.gnu.cross.exe.165098100" name="Executable" projectType="fr.ac6.managedbuild.target.gnu.cross.exe" />
 	</storageModule>
 	<storageModule moduleId="scannerConfiguration">
-		<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
+		<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="" />
 		<scannerConfigBuildInfo instanceId="fr.ac6.managedbuild.config.gnu.cross.exe.debug.1984502472;fr.ac6.managedbuild.config.gnu.cross.exe.debug.1984502472.;fr.ac6.managedbuild.tool.gnu.cross.c.compiler.266059666;fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.c.88589222">
-			<autodiscovery enabled="false" problemReportingEnabled="true" selectedProfileId=""/>
+			<autodiscovery enabled="false" problemReportingEnabled="true" selectedProfileId="" />
 		</scannerConfigBuildInfo>
 	</storageModule>
-	<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
+	<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders" />
 	<storageModule moduleId="refreshScope" versionNumber="2">
 		<configuration artifactName="${ProjName}" configurationName="Debug">
-			<resource resourceType="PROJECT" workspacePath="TestOrdinateur"/>
+			<resource resourceType="PROJECT" workspacePath="TestOrdinateur" />
 		</configuration>
 	</storageModule>
-	<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
+	<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets" />
 </cproject>

+ 2 - 2
Soft/STM32/Test/.project

@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <projectDescription>
 	<name>TestOrdinateur</name>
-	<comment></comment>
+	<comment />
 	<projects>
 	</projects>
 	<buildSpec>
@@ -28,7 +28,7 @@
 		<link>
 			<name>DriverSTM_RC</name>
 			<type>2</type>
-			<locationURI>PARENT-4-PROJECT_LOC/DriverSTM_RC</locationURI>
+			<location>PARENT-4-PROJECT_LOC/DriverSTM_RC</location>
 		</link>
 	</linkedResources>
 </projectDescription>

+ 1 - 4
Soft/STM32/Test/Debug/DriverSTM_RC/Source/Heure.d

@@ -1,8 +1,5 @@
 DriverSTM_RC/Source/Heure.o: \
  C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Source/Heure.c \
- C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Include/RTC.h \
- C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Include/RTC_ADD.h
+ C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Include/RTC.h
 
 C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Include/RTC.h:
-
-C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Include/RTC_ADD.h:

BIN
Soft/STM32/Test/Debug/DriverSTM_RC/Source/Heure.o


+ 11 - 22
Soft/STM32/Test/Debug/DriverSTM_RC/Source/subdir.mk

@@ -4,38 +4,35 @@
 
 # Add inputs and outputs from these tool invocations to the build variables 
 C_SRCS += \
+C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Source/Eeprom.c \
 C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Source/Heure.c \
-C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Source/PWM.c \
-C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Source/RTC.c \
-C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Source/Tab.c 
+C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Source/RTC.c 
 
 OBJS += \
+./DriverSTM_RC/Source/Eeprom.o \
 ./DriverSTM_RC/Source/Heure.o \
-./DriverSTM_RC/Source/PWM.o \
-./DriverSTM_RC/Source/RTC.o \
-./DriverSTM_RC/Source/Tab.o 
+./DriverSTM_RC/Source/RTC.o 
 
 C_DEPS += \
+./DriverSTM_RC/Source/Eeprom.d \
 ./DriverSTM_RC/Source/Heure.d \
-./DriverSTM_RC/Source/PWM.d \
-./DriverSTM_RC/Source/RTC.d \
-./DriverSTM_RC/Source/Tab.d 
+./DriverSTM_RC/Source/RTC.d 
 
 
 # Each subdirectory must supply rules for building sources it contributes
-DriverSTM_RC/Source/Heure.o: C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Source/Heure.c
+DriverSTM_RC/Source/Eeprom.o: C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Source/Eeprom.c
 	@echo 'Building file: $<'
 	@echo 'Invoking: MCU GCC Compiler'
 	@echo $(PWD)
-	arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 '-D__weak=__attribute__((weak))' '-D__packed=__attribute__((__packed__))' -DUSE_HAL_DRIVER -DSTM32F401xC -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Inc" -I"C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Include" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/CMSIS/Device/ST/STM32F4xx/Include" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/CMSIS/Include"  -Og -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" -o "$@" "$<"
+	arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 '-D__weak=__attribute__((weak))' '-D__packed=__attribute__((__packed__))' -DUSE_HAL_DRIVER -DSTM32F401xC -I"C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Include" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Inc" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/CMSIS/Device/ST/STM32F4xx/Include" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/CMSIS/Include"  -Og -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" -o "$@" "$<"
 	@echo 'Finished building: $<'
 	@echo ' '
 
-DriverSTM_RC/Source/PWM.o: C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Source/PWM.c
+DriverSTM_RC/Source/Heure.o: C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Source/Heure.c
 	@echo 'Building file: $<'
 	@echo 'Invoking: MCU GCC Compiler'
 	@echo $(PWD)
-	arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 '-D__weak=__attribute__((weak))' '-D__packed=__attribute__((__packed__))' -DUSE_HAL_DRIVER -DSTM32F401xC -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Inc" -I"C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Include" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/CMSIS/Device/ST/STM32F4xx/Include" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/CMSIS/Include"  -Og -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" -o "$@" "$<"
+	arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 '-D__weak=__attribute__((weak))' '-D__packed=__attribute__((__packed__))' -DUSE_HAL_DRIVER -DSTM32F401xC -I"C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Include" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Inc" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/CMSIS/Device/ST/STM32F4xx/Include" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/CMSIS/Include"  -Og -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" -o "$@" "$<"
 	@echo 'Finished building: $<'
 	@echo ' '
 
@@ -43,15 +40,7 @@ DriverSTM_RC/Source/RTC.o: C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_R
 	@echo 'Building file: $<'
 	@echo 'Invoking: MCU GCC Compiler'
 	@echo $(PWD)
-	arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 '-D__weak=__attribute__((weak))' '-D__packed=__attribute__((__packed__))' -DUSE_HAL_DRIVER -DSTM32F401xC -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Inc" -I"C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Include" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/CMSIS/Device/ST/STM32F4xx/Include" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/CMSIS/Include"  -Og -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" -o "$@" "$<"
-	@echo 'Finished building: $<'
-	@echo ' '
-
-DriverSTM_RC/Source/Tab.o: C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Source/Tab.c
-	@echo 'Building file: $<'
-	@echo 'Invoking: MCU GCC Compiler'
-	@echo $(PWD)
-	arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 '-D__weak=__attribute__((weak))' '-D__packed=__attribute__((__packed__))' -DUSE_HAL_DRIVER -DSTM32F401xC -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Inc" -I"C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Include" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/CMSIS/Device/ST/STM32F4xx/Include" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/CMSIS/Include"  -Og -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" -o "$@" "$<"
+	arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 '-D__weak=__attribute__((weak))' '-D__packed=__attribute__((__packed__))' -DUSE_HAL_DRIVER -DSTM32F401xC -I"C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Include" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Inc" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/CMSIS/Device/ST/STM32F4xx/Include" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/CMSIS/Include"  -Og -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" -o "$@" "$<"
 	@echo 'Finished building: $<'
 	@echo ' '
 

+ 1 - 1
Soft/STM32/Test/Debug/Drivers/STM32F4xx_HAL_Driver/Src/subdir.mk

@@ -84,7 +84,7 @@ Drivers/STM32F4xx_HAL_Driver/Src/%.o: ../Drivers/STM32F4xx_HAL_Driver/Src/%.c
 	@echo 'Building file: $<'
 	@echo 'Invoking: MCU GCC Compiler'
 	@echo $(PWD)
-	arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 '-D__weak=__attribute__((weak))' '-D__packed=__attribute__((__packed__))' -DUSE_HAL_DRIVER -DSTM32F401xC -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Inc" -I"C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Include" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/CMSIS/Device/ST/STM32F4xx/Include" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/CMSIS/Include"  -Og -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" -o "$@" "$<"
+	arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 '-D__weak=__attribute__((weak))' '-D__packed=__attribute__((__packed__))' -DUSE_HAL_DRIVER -DSTM32F401xC -I"C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Include" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Inc" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/CMSIS/Device/ST/STM32F4xx/Include" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/CMSIS/Include"  -Og -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" -o "$@" "$<"
 	@echo 'Finished building: $<'
 	@echo ' '
 

+ 4 - 1
Soft/STM32/Test/Debug/Src/i2c.d

@@ -35,7 +35,8 @@ Src/i2c.o: ../Src/i2c.c \
  C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h \
  C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pcd.h \
  C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_usb.h \
- C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pcd_ex.h
+ C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pcd_ex.h \
+ C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Include/RTC.h
 
 C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Inc/i2c.h:
 
@@ -110,3 +111,5 @@ C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Dr
 C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_usb.h:
 
 C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pcd_ex.h:
+
+C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Include/RTC.h:

BIN
Soft/STM32/Test/Debug/Src/i2c.o


+ 1 - 1
Soft/STM32/Test/Debug/Src/subdir.mk

@@ -54,7 +54,7 @@ Src/%.o: ../Src/%.c
 	@echo 'Building file: $<'
 	@echo 'Invoking: MCU GCC Compiler'
 	@echo $(PWD)
-	arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 '-D__weak=__attribute__((weak))' '-D__packed=__attribute__((__packed__))' -DUSE_HAL_DRIVER -DSTM32F401xC -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Inc" -I"C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Include" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/CMSIS/Device/ST/STM32F4xx/Include" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/CMSIS/Include"  -Og -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" -o "$@" "$<"
+	arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 '-D__weak=__attribute__((weak))' '-D__packed=__attribute__((__packed__))' -DUSE_HAL_DRIVER -DSTM32F401xC -I"C:/Users/e_rcluze/Documents/Autres/projet/DriverSTM_RC/Include" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Inc" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/CMSIS/Device/ST/STM32F4xx/Include" -I"C:/Users/e_rcluze/Documents/Autres/projet/Ordinateur_Aquarium/Soft/STM32/Test/Drivers/CMSIS/Include"  -Og -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" -o "$@" "$<"
 	@echo 'Finished building: $<'
 	@echo ' '
 

+ 1 - 2
Soft/STM32/Test/Debug/objects.list

@@ -1,7 +1,6 @@
+"DriverSTM_RC/Source/Eeprom.o"
 "DriverSTM_RC/Source/Heure.o"
-"DriverSTM_RC/Source/PWM.o"
 "DriverSTM_RC/Source/RTC.o"
-"DriverSTM_RC/Source/Tab.o"
 "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o"
 "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.o"
 "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.o"

+ 0 - 189
Soft/STM32/Test/STM32F401RCTx_FLASH.ld

@@ -1,189 +0,0 @@
-/*
-******************************************************************************
-**
-
-**  File        : LinkerScript.ld
-**
-**  Author		: Auto-generated by Ac6 System Workbench
-**
-**  Abstract    : Linker script for STM32F401RCTx series
-**                256Kbytes FLASH and 64Kbytes RAM
-**
-**                Set heap size, stack size and stack location according
-**                to application requirements.
-**
-**                Set memory bank area and size if external memory is used.
-**
-**  Target      : STMicroelectronics STM32
-**
-**  Distribution: The file is distributed “as is,” without any warranty
-**                of any kind.
-**
-*****************************************************************************
-** @attention
-**
-** <h2><center>&copy; COPYRIGHT(c) 2014 Ac6</center></h2>
-**
-** Redistribution and use in source and binary forms, with or without modification,
-** are permitted provided that the following conditions are met:
-**   1. Redistributions of source code must retain the above copyright notice,
-**      this list of conditions and the following disclaimer.
-**   2. Redistributions in binary form must reproduce the above copyright notice,
-**      this list of conditions and the following disclaimer in the documentation
-**      and/or other materials provided with the distribution.
-**   3. Neither the name of Ac6 nor the names of its contributors
-**      may be used to endorse or promote products derived from this software
-**      without specific prior written permission.
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-** DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
-** FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-** DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-** SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-** OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-**
-*****************************************************************************
-*/
-
-/* Entry Point */
-ENTRY(Reset_Handler)
-
-/* Highest address of the user mode stack */
-_estack = 0x20010000;    /* end of RAM */
-/* Generate a link error if heap and stack don't fit into RAM */
-_Min_Heap_Size = 0x200;      /* required amount of heap  */
-_Min_Stack_Size = 0x400; /* required amount of stack */
-
-/* Specify the memory areas */
-MEMORY
-{
-RAM (xrw)      : ORIGIN = 0x20000000, LENGTH = 64K
-FLASH (rx)      : ORIGIN = 0x8000000, LENGTH = 256K
-}
-
-/* Define output sections */
-SECTIONS
-{
-  /* The startup code goes first into FLASH */
-  .isr_vector :
-  {
-    . = ALIGN(4);
-    KEEP(*(.isr_vector)) /* Startup code */
-    . = ALIGN(4);
-  } >FLASH
-
-  /* The program code and other data goes into FLASH */
-  .text :
-  {
-    . = ALIGN(4);
-    *(.text)           /* .text sections (code) */
-    *(.text*)          /* .text* sections (code) */
-    *(.glue_7)         /* glue arm to thumb code */
-    *(.glue_7t)        /* glue thumb to arm code */
-    *(.eh_frame)
-
-    KEEP (*(.init))
-    KEEP (*(.fini))
-
-    . = ALIGN(4);
-    _etext = .;        /* define a global symbols at end of code */
-  } >FLASH
-
-  /* Constant data goes into FLASH */
-  .rodata :
-  {
-    . = ALIGN(4);
-    *(.rodata)         /* .rodata sections (constants, strings, etc.) */
-    *(.rodata*)        /* .rodata* sections (constants, strings, etc.) */
-    . = ALIGN(4);
-  } >FLASH
-
-  .ARM.extab   : { *(.ARM.extab* .gnu.linkonce.armextab.*) } >FLASH
-  .ARM : {
-    __exidx_start = .;
-    *(.ARM.exidx*)
-    __exidx_end = .;
-  } >FLASH
-
-  .preinit_array     :
-  {
-    PROVIDE_HIDDEN (__preinit_array_start = .);
-    KEEP (*(.preinit_array*))
-    PROVIDE_HIDDEN (__preinit_array_end = .);
-  } >FLASH
-  .init_array :
-  {
-    PROVIDE_HIDDEN (__init_array_start = .);
-    KEEP (*(SORT(.init_array.*)))
-    KEEP (*(.init_array*))
-    PROVIDE_HIDDEN (__init_array_end = .);
-  } >FLASH
-  .fini_array :
-  {
-    PROVIDE_HIDDEN (__fini_array_start = .);
-    KEEP (*(SORT(.fini_array.*)))
-    KEEP (*(.fini_array*))
-    PROVIDE_HIDDEN (__fini_array_end = .);
-  } >FLASH
-
-  /* used by the startup to initialize data */
-  _sidata = LOADADDR(.data);
-
-  /* Initialized data sections goes into RAM, load LMA copy after code */
-  .data : 
-  {
-    . = ALIGN(4);
-    _sdata = .;        /* create a global symbol at data start */
-    *(.data)           /* .data sections */
-    *(.data*)          /* .data* sections */
-
-    . = ALIGN(4);
-    _edata = .;        /* define a global symbol at data end */
-  } >RAM AT> FLASH
-
-  
-  /* Uninitialized data section */
-  . = ALIGN(4);
-  .bss :
-  {
-    /* This is used by the startup in order to initialize the .bss secion */
-    _sbss = .;         /* define a global symbol at bss start */
-    __bss_start__ = _sbss;
-    *(.bss)
-    *(.bss*)
-    *(COMMON)
-
-    . = ALIGN(4);
-    _ebss = .;         /* define a global symbol at bss end */
-    __bss_end__ = _ebss;
-  } >RAM
-
-  /* User_heap_stack section, used to check that there is enough RAM left */
-  ._user_heap_stack :
-  {
-    . = ALIGN(8);
-    PROVIDE ( end = . );
-    PROVIDE ( _end = . );
-    . = . + _Min_Heap_Size;
-    . = . + _Min_Stack_Size;
-    . = ALIGN(8);
-  } >RAM
-
-  
-
-  /* Remove information from the standard libraries */
-  /DISCARD/ :
-  {
-    libc.a ( * )
-    libm.a ( * )
-    libgcc.a ( * )
-  }
-
-  .ARM.attributes 0 : { *(.ARM.attributes) }
-}
-
-

+ 3 - 3
Soft/STM32/Test/Src/i2c.c

@@ -177,8 +177,8 @@ void readRTC(uint8_t add, uint8_t *tab, int len){
 	uint8_t ad[1];
 	ad[0]=add;
 	HAL_StatusTypeDef res;
-	res = HAL_I2C_Master_Transmit(&hi2c?,RTC_ADD,ad,1,1000);
-	res = HAL_I2C_Master_Receive(&hi2c?,RTC_ADD,tab,len,1000);
+	res = HAL_I2C_Master_Transmit(&hi2c2,RTC_ADD,ad,1,1000);
+	res = HAL_I2C_Master_Receive(&hi2c2,RTC_ADD,tab,len,1000);
 }
 
 void writeRTC(uint8_t add, uint8_t *tab, int len){
@@ -188,7 +188,7 @@ void writeRTC(uint8_t add, uint8_t *tab, int len){
 		ad[i+1]=tab[i];
 	}
 	HAL_StatusTypeDef res;
-	res = HAL_I2C_Master_Transmit(&hi2c?,RTC_ADD,ad,len+1,1000);
+	res = HAL_I2C_Master_Transmit(&hi2c2,RTC_ADD,ad,len+1,1000);
 }
 
 /* USER CODE END 1 */

+ 85 - 1
Soft/STM32/Test/Src/main.c

@@ -40,6 +40,17 @@
 
 /* Private define ------------------------------------------------------------*/
 /* USER CODE BEGIN PD */
+void TestNiveau();
+void TestSelect(uint8_t i);
+void TestSreen();
+void TestUsb();
+void TestSPI();
+void TestVentilateur();
+void TestTemperature();
+void TestPH();
+void TestRelais();
+void TestExtender();
+
 
 /* USER CODE END PD */
 
@@ -104,6 +115,19 @@ int main(void)
   MX_TIM4_Init();
   MX_TIM5_Init();
   /* USER CODE BEGIN 2 */
+  testRTC();
+  testBatteryRTC();
+  testEeprom();
+
+  TestNiveau();
+  TestSreen();
+  TestUsb();
+  TestSPI();
+  TestVentilateur();
+  TestTemperature();
+  TestPH();
+  TestRelais();
+  TestExtender();
 
   /* USER CODE END 2 */
 
@@ -163,10 +187,70 @@ void SystemClock_Config(void)
 }
 
 /* USER CODE BEGIN 4 */
-void testVentilateur(){
+void TestNiveau(){
+	while(1){
+		HAL_GPIO_ReadPin(TechniqueBas_GPIO_Port,TechniqueBas_Pin);
+	}
+
+}
+
+void TestSelect(uint8_t i){
+	i=i+10;
+	HAL_Delay(i);
+}
+
+void TestSreen(){
+
+}
+
+void TestUsb(){
+
+}
 
+void TestSPI(){
+	uint8_t data[1];
+	HAL_SPI_Receive(&hspi1,data,1,1000);
+	data[1]++;
+	HAL_SPI_Transmit(&hspi1,data,1,1000);
 }
 
+void TestVentilateur(){
+	TIM_OC_InitTypeDef sConfigOC;
+
+	sConfigOC.OCMode = TIM_OCMODE_PWM1;
+	sConfigOC.OCPolarity = TIM_OCPOLARITY_HIGH;
+	sConfigOC.OCFastMode = TIM_OCFAST_DISABLE;
+
+	for (int i = 0; i<31250-1;i=i+3125){
+		sConfigOC.Pulse = i;
+		HAL_TIM_PWM_ConfigChannel(&htim3, &sConfigOC, TIM_CHANNEL_2);
+		HAL_TIM_PWM_Start(&htim3, TIM_CHANNEL_2);
+		HAL_Delay(1000);
+	}
+}
+
+void TestTemperature(){
+	HAL_ADC_Start(&hadc1);
+	int i;
+	while(1){
+		i = HAL_ADC_GetValue(&hadc1);
+		HAL_Delay(1);
+	}
+}
+
+void TestPH(){
+
+}
+
+void TestRelais(){
+
+}
+
+void TestExtender(){
+
+}
+
+
 /* USER CODE END 4 */
 
 /**

+ 1 - 2
Soft/STM32/Test/Src/spi.c

@@ -31,13 +31,12 @@ void MX_SPI1_Init(void)
 {
 
   hspi1.Instance = SPI1;
-  hspi1.Init.Mode = SPI_MODE_MASTER;
+  hspi1.Init.Mode = SPI_MODE_SLAVE;
   hspi1.Init.Direction = SPI_DIRECTION_2LINES;
   hspi1.Init.DataSize = SPI_DATASIZE_8BIT;
   hspi1.Init.CLKPolarity = SPI_POLARITY_LOW;
   hspi1.Init.CLKPhase = SPI_PHASE_1EDGE;
   hspi1.Init.NSS = SPI_NSS_HARD_INPUT;
-  hspi1.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_2;
   hspi1.Init.FirstBit = SPI_FIRSTBIT_MSB;
   hspi1.Init.TIMode = SPI_TIMODE_DISABLE;
   hspi1.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE;

+ 16 - 0
Soft/STM32/Test/Src/stm32f4xx_it.c

@@ -249,6 +249,9 @@ void EXTI3_IRQHandler(void)
 void EXTI9_5_IRQHandler(void)
 {
   /* USER CODE BEGIN EXTI9_5_IRQn 0 */
+	if(__HAL_GPIO_EXTI_GET_IT(UP_Pin)){
+		TestSelect(1);
+	}
 
   /* USER CODE END EXTI9_5_IRQn 0 */
   HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_6);
@@ -294,6 +297,19 @@ void TIM4_IRQHandler(void)
 void EXTI15_10_IRQHandler(void)
 {
   /* USER CODE BEGIN EXTI15_10_IRQn 0 */
+	if(__HAL_GPIO_EXTI_GET_IT(Left_Pin)){
+		TestSelect(2);
+	}
+	if(__HAL_GPIO_EXTI_GET_IT(Select_Pin)){
+			TestSelect(3);
+		}
+	if(__HAL_GPIO_EXTI_GET_IT(Down_Pin)){
+			TestSelect(4);
+		}
+	if(__HAL_GPIO_EXTI_GET_IT(Right_Pin)){
+			TestSelect(5);
+		}
+
 
   /* USER CODE END EXTI15_10_IRQn 0 */
   HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_12);

+ 6 - 7
Soft/STM32/Test/TestOrdinateur.ioc

@@ -136,11 +136,11 @@ PA2.Locked=true
 PA2.Signal=ADCx_IN2
 PA4.Mode=NSS_Signal_Hard_Input
 PA4.Signal=SPI1_NSS
-PA5.Mode=Full_Duplex_Master
+PA5.Mode=Full_Duplex_Slave
 PA5.Signal=SPI1_SCK
-PA6.Mode=Full_Duplex_Master
+PA6.Mode=Full_Duplex_Slave
 PA6.Signal=SPI1_MISO
-PA7.Mode=Full_Duplex_Master
+PA7.Mode=Full_Duplex_Slave
 PA7.Signal=SPI1_MOSI
 PB0.GPIOParameters=GPIO_Label
 PB0.GPIO_Label=D5
@@ -345,12 +345,11 @@ SH.S_TIM3_CH1.0=TIM3_CH1,PWM Generation1 CH1
 SH.S_TIM3_CH1.ConfNb=1
 SH.S_TIM3_CH2.0=TIM3_CH2,PWM Generation2 CH2
 SH.S_TIM3_CH2.ConfNb=1
-SPI1.CalculateBaudRate=8.0 MBits/s
 SPI1.Direction=SPI_DIRECTION_2LINES
-SPI1.IPParameters=VirtualType,Mode,Direction,CalculateBaudRate,VirtualNSS
-SPI1.Mode=SPI_MODE_MASTER
+SPI1.IPParameters=VirtualType,Mode,Direction,VirtualNSS
+SPI1.Mode=SPI_MODE_SLAVE
 SPI1.VirtualNSS=VM_NSSHARD
-SPI1.VirtualType=VM_MASTER
+SPI1.VirtualType=VM_SLAVE
 TIM2.Channel-PWM\ Generation1\ CH1=TIM_CHANNEL_1
 TIM2.IPParameters=Channel-PWM Generation1 CH1,Prescaler,Period
 TIM2.Period=31250-1

+ 9 - 10
Soft/STM32/Test/TestOrdinateur.xml

@@ -1,16 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE targetDefinitions [ 
-	<!ELEMENT targetDefinitions (board)>
-	<!ELEMENT board (name, dbgIF+, dbgDEV, mcuId)>
-	<!ELEMENT name (#PCDATA)>
-	<!ELEMENT dbgIF (#PCDATA)>
-	<!ELEMENT dbgDEV (#PCDATA)>
-	<!ELEMENT mcuId (#PCDATA)>
-	<!ATTLIST board id CDATA #REQUIRED>
+<!DOCTYPE targetDefinitions [
+<!ELEMENT targetDefinitions (board)>
+<!ELEMENT board (name,dbgIF+,dbgDEV,mcuId)>
+<!ELEMENT name (#PCDATA)>
+<!ELEMENT dbgIF (#PCDATA)>
+<!ELEMENT dbgDEV (#PCDATA)>
+<!ELEMENT mcuId (#PCDATA)>
+<!ATTLIST board id CDATA #REQUIRED>
 ]>
-
 <targetDefinitions>
-  <board id="testordinateur">
+  <board id="TestOrdinateur">
     <name>TestOrdinateur</name>
     <dbgIF>SWD</dbgIF>
     <dbgDEV>ST-Link</dbgDEV>

+ 10 - 168
Soft/esp12/Test/ESP12f.ino

@@ -16,186 +16,28 @@ char auth[] = "qDSPfbEHHMiQxMNFeKZ2_lKwbxD81Yu8";
 char ssid[] = "Livebox-7C2C";
 char pass[] = "566C61F61F9C925C9F3D7D79E6";
 
-BlynkTimer timer;
-WidgetLED  led1(V11) // Led Tech bas
-         , led2(V12) // Led Tech Haut
-         , led3(V13) // Led Cuve Haut
-         , led4(V14) // Led Reserve Bas
-         , led5(V15) // Led Autre1
-         , led6(V16); // Led Autre2
+
 
 /* Fonction */
 void setup(){
   // Debug console
   Serial.begin(9600);
-  Blynk.begin(auth, ssid, pass);
-  timer.setInterval(30000L, statusOrdi); //Configuration du timer pour que toute les seconde ils appelles la fonction de status.
+  
+  pinMode(9, OUTPUT);
+  digitalWrite(9, 1);
+  SPI.begin()
+  SPI.beginTransaction(SPISettings(14000000, MSBFIRST, SPI_MODE0));
 }
 
 void loop(){
 	Blynk.run();
-	timer.run();
-}
-
-void statusOrdi(){
-	uint8_t tab[7];
-	SPI_Status(tab); //Lecture du status de l'ordinateur
-	
-	//Transmission temp air
-	Blynk.virtualWrite(8, tab[1]);
-	//Envoi notification si necessaire
-		if (tab[1]<18)
-		Blynk.notify("Temérature air trop froid");
-	else (tab[1]>29)
-		Blynk.notify("Temérature air trop Chaud");
-	
-	//Transmission temp eau
-	Blynk.virtualWrite(9, tab[2]);
-	//Envoi notification si necessaire
-	if (tab[1]<23)
-		Blynk.notify("Temérature Eau trop froid");
-	else (tab[1]>29)
-		Blynk.notify("Temérature Eau trop Chaud");
-	
-	//Transmission PH
-	Blynk.virtualWrite(10, tab[3]);
-	//Envoi notification si necessaire
-	if (tab[1]<7.5)
-		Blynk.notify("PH trop bas");
-	else (tab[1]>8.5)
-		Blynk.notify("PH trop Haut");
-		
-	//Affichage led
-	if((tab[4] & MASK_TB) = MASK_TB)
-		led1.on();
-	else
-		led1.off();
-
-	if((tab[4] & MASK_TH) = MASK_TH)
-		led2.on();
-		Blynk.notify("Cuve technique haut");//Envoi notification si necessaire
-	else
-		led2.off();
-
-	if((tab[4] & MASK_CH) = MASK_CH)
-		led3.on();
-	else
-		led3.off();
-
-	if((tab[4] & MASK_RB) = MASK_RB)
-		led4.on();
-		Blynk.notify("Reserve bas");//Envoi notification si necessaire
-	else
-		led4.off();
-
-	if((tab[4] & MASK_A1) = MASK_A1)
-		led5.on();
-	else
-		led5.off();
-
-	if((tab[4] & MASK_A2) = MASK_A2)
-		led6.on();
-	else
-		led6.off();
-	
-	// a faire
-	//affichage des osmolation passé.
-}
-
-BLYNK_WRITE(V20){ //Bouton Ecumeur
-	uint8_t data;
-	Read_actionneur(data);
-	if (param.asInt())
-		data = data | MASK_ECU;
-	else 
-		data = data & (!MASK_ECU);
-	Write_actionneur(data);
-}
-
-BLYNK_WRITE(V21){ //Bouton Remonter
-		uint8_t data;
-	Read_actionneur(data);
-	if (param.asInt())
-		data = data | MASK_ECU;
-	else
-		data = data & (!MASK_ECU);
-	Write_actionneur(data);
-}
-
-BLYNK_WRITE(V22){ //Bouton Chauffage
-		uint8_t data;
-	Read_actionneur(data);
-	if (param.asInt())
-		data = data | MASK_ECU;
-	else
-		data = data & (!MASK_ECU);
-	Write_actionneur(data);
-}
-
-BLYNK_WRITE(V23){ //Bouton Brassage1
-		uint8_t data;
-	Read_actionneur(data);
-	if (param.asInt())
-		data = data | MASK_ECU;
-	else
-		data = data & (!MASK_ECU);
-	Write_actionneur(data);
-}
-
-BLYNK_WRITE(V24){ //Bouton Brassage2
-		uint8_t data;
-	Read_actionneur(data);
-	if (param.asInt())
-		data = data | MASK_ECU;
-	else
-		data = data & (!MASK_ECU);
-	Write_actionneur(data);
-}
-
-BLYNK_WRITE(V25){ //Bouton Osmolateur
-
-}
-
-BLYNK_WRITE(V26){ //Bouton Remplisage Osmolateur N2
-
-}
-
-BLYNK_WRITE(V27){ //Bouton Suplémentaire 12V 1
-
-}
-
-BLYNK_WRITE(V28){ //Bouton Suplémentaire 12V 2	
-
-}
-
-BLYNK_WRITE(V29){ //Bouton Lit fluidiser	
-
-}
-
-BLYNK_WRITE(V30){ //Bouton RAH	
-
-}
-
-BLYNK_WRITE(V31){ //Bouton Suplémentaire 230V	
-
-}
-
-BLYNK_WRITE(V32){ //Ventilateur 1
 	
-}
-
-BLYNK_WRITE(V33){ //Ventilateur 3
+	digitalWrite(9, 0);
+	SPI.transfer(0xAA)
+	SPI.transfer(0x00)
+	digitalWrite(9, 1);
 	
 }
 
-BLYNK_WRITE(V34){ //Ventilateur 3
-	
-}
-
-BLYNK_WRITE(V35){ //Bouton OSMOLATEUR2 Activé
-	
-}
-
-