Преглед изворни кода

Add gitignore (soft/.metadata)

rcluze пре 9 година
родитељ
комит
1b02d0953d
100 измењених фајлова са 1 додато и 18831 уклоњено
  1. 1 0
      .gitignore
  2. 0 1
      soft/.gitignore
  3. 0 0
      soft/.metadata/.lock
  4. 0 339
      soft/.metadata/.log
  5. BIN
      soft/.metadata/.mylyn/repositories.xml.zip
  6. 0 0
      soft/.metadata/.plugins/org.eclipse.cdt.core/.log
  7. BIN
      soft/.metadata/.plugins/org.eclipse.cdt.core/Controle.1494414894169.pdom
  8. 0 2122
      soft/.metadata/.plugins/org.eclipse.cdt.core/Controle.language.settings.xml
  9. 0 1
      soft/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c
  10. 0 1
      soft/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp
  11. 0 0
      soft/.metadata/.plugins/org.eclipse.cdt.managedbuilder.core/spec.C
  12. 0 0
      soft/.metadata/.plugins/org.eclipse.cdt.managedbuilder.core/spec.c
  13. 0 203
      soft/.metadata/.plugins/org.eclipse.cdt.ui/Controle.build.log
  14. 0 200
      soft/.metadata/.plugins/org.eclipse.cdt.ui/global-build.log
  15. 0 288
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/1/b04b7d087e3500171025a17b13aa5e23
  16. 0 283
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/12/100926cf7d3500171025a17b13aa5e23
  17. 0 215
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/17/605909ae7a3500171025a17b13aa5e23
  18. 0 87
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/19/00862491823500171025a17b13aa5e23
  19. 0 285
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/2/40b9acf97d3500171025a17b13aa5e23
  20. 0 264
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/2/80a4c4bd7b3500171025a17b13aa5e23
  21. 0 229
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/22/c041518e823500171025a17b13aa5e23
  22. 0 153
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/29/80e30a91823500171025a17b13aa5e23
  23. 0 162
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/2e/700191d4783500171025a17b13aa5e23
  24. 0 275
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/39/d06788d67c3500171025a17b13aa5e23
  25. 0 282
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/3b/10a5ea98803500171025a17b13aa5e23
  26. 0 225
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/3d/70c949837b3500171025a17b13aa5e23
  27. 0 290
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/3f/e0e190387e3500171025a17b13aa5e23
  28. 0 251
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/41/d0a622a2823500171025a17b13aa5e23
  29. 0 87
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/4b/d0f0bebb783500171025a17b13aa5e23
  30. 0 276
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/4f/f02b6ef37c3500171025a17b13aa5e23
  31. 0 251
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/5/505edca6823500171025a17b13aa5e23
  32. 0 153
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/53/d086a6bb783500171025a17b13aa5e23
  33. 0 233
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/55/804f1363823500171025a17b13aa5e23
  34. 0 288
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/5b/90ff1b267e3500171025a17b13aa5e23
  35. 0 118
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/5f/30192091823500171025a17b13aa5e23
  36. 0 251
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/6/20ca06b9823500171025a17b13aa5e23
  37. 0 178
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/64/7075099c793500171025a17b13aa5e23
  38. 0 218
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/69/10a256f47a3500171025a17b13aa5e23
  39. 0 268
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/69/e0f8d38f7c3500171025a17b13aa5e23
  40. 0 0
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/72/809d2dfa873500171025a17b13aa5e23
  41. 0 290
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/72/b04a8e5c7e3500171025a17b13aa5e23
  42. 0 229
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/75/0031b3bb783500171025a17b13aa5e23
  43. 0 290
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/75/10b2cb46803500171025a17b13aa5e23
  44. 0 275
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/77/f08b94ea7c3500171025a17b13aa5e23
  45. 0 253
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/7a/40f40291823500171025a17b13aa5e23
  46. 0 163
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/8/00c09848773500171025a17b13aa5e23
  47. 0 170
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/80/90ef1b7c793500171025a17b13aa5e23
  48. 0 282
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/81/b0921a8b803500171025a17b13aa5e23
  49. 0 250
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/83/8097cf95823500171025a17b13aa5e23
  50. 0 123
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/84/d0f91291823500171025a17b13aa5e23
  51. 0 282
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/91/80ffb6c5803500171025a17b13aa5e23
  52. 0 277
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/94/806829117d3500171025a17b13aa5e23
  53. 0 284
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/97/d045bbe8813500171025a17b13aa5e23
  54. 0 215
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/99/307c99f9793500171025a17b13aa5e23
  55. 0 227
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/9f/00c21a91823500171025a17b13aa5e23
  56. 0 282
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/a2/e0674182803500171025a17b13aa5e23
  57. 0 283
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/a4/1072b7e87d3500171025a17b13aa5e23
  58. 0 168
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/a4/d0339fbb783500171025a17b13aa5e23
  59. 0 262
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/ac/c04d099a7b3500171025a17b13aa5e23
  60. 0 215
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/ae/101617337b3500171025a17b13aa5e23
  61. 0 281
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/af/40a947b07d3500171025a17b13aa5e23
  62. 0 13
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/b4/9085ec10883500171025a17b13aa5e23
  63. 0 286
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/b5/d09839027e3500171025a17b13aa5e23
  64. 0 215
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/b7/5028bf067b3500171025a17b13aa5e23
  65. 0 127
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/b8/f0a8e7a6823500171025a17b13aa5e23
  66. 0 263
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/b9/50f46bb57b3500171025a17b13aa5e23
  67. 0 184
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/ba/104b9abd793500171025a17b13aa5e23
  68. 0 186
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/bc/90fef2f4793500171025a17b13aa5e23
  69. 0 165
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/bf/c0091e64773500171025a17b13aa5e23
  70. 0 229
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/c2/40019a74823500171025a17b13aa5e23
  71. 0 85
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/c9/1005acbb783500171025a17b13aa5e23
  72. 0 281
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/c9/b08f63c57d3500171025a17b13aa5e23
  73. 0 185
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/cb/105084c4793500171025a17b13aa5e23
  74. 0 251
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/d4/60bdb6ee873500171025a17b13aa5e23
  75. 0 282
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/d7/a0b78a92803500171025a17b13aa5e23
  76. 0 118
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/d8/9072b9bb783500171025a17b13aa5e23
  77. 0 214
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/e2/10cf9ff7793500171025a17b13aa5e23
  78. 0 168
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/e4/a099f704793500171025a17b13aa5e23
  79. 0 275
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/ee/e048b7de7c3500171025a17b13aa5e23
  80. 0 245
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/f/4008744d823500171025a17b13aa5e23
  81. 0 277
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/f0/c0377d9e7d3500171025a17b13aa5e23
  82. 0 167
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/f9/408e97b7783500171025a17b13aa5e23
  83. 0 296
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/fa/004231f1813500171025a17b13aa5e23
  84. 0 225
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/fb/201d43727b3500171025a17b13aa5e23
  85. 0 296
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/fb/70d29941823500171025a17b13aa5e23
  86. 0 215
      soft/.metadata/.plugins/org.eclipse.core.resources/.history/ff/d07407477b3500171025a17b13aa5e23
  87. BIN
      soft/.metadata/.plugins/org.eclipse.core.resources/.projects/Controle/.indexes/1/ce/ce/c5/ae/properties.index
  88. BIN
      soft/.metadata/.plugins/org.eclipse.core.resources/.projects/Controle/.indexes/c4/history.index
  89. BIN
      soft/.metadata/.plugins/org.eclipse.core.resources/.projects/Controle/.indexes/c4/properties.index
  90. BIN
      soft/.metadata/.plugins/org.eclipse.core.resources/.projects/Controle/.indexes/properties.index
  91. BIN
      soft/.metadata/.plugins/org.eclipse.core.resources/.projects/Controle/.markers.snap
  92. BIN
      soft/.metadata/.plugins/org.eclipse.core.resources/.projects/Controle/.syncinfo.snap
  93. 0 3
      soft/.metadata/.plugins/org.eclipse.core.resources/.projects/Controle/org.eclipse.egit.core/GitProjectData.properties
  94. BIN
      soft/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.markers.snap
  95. BIN
      soft/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.syncinfo.snap
  96. BIN
      soft/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index
  97. BIN
      soft/.metadata/.plugins/org.eclipse.core.resources/.root/.markers.snap
  98. BIN
      soft/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources
  99. BIN
      soft/.metadata/.plugins/org.eclipse.core.resources/0.snap
  100. 0 2
      soft/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prj-Controle.prefs

+ 1 - 0
.gitignore

@@ -0,0 +1 @@
+soft/.metadata/*

+ 0 - 1
soft/.gitignore

@@ -1 +0,0 @@
-soft/.metadata

+ 0 - 0
soft/.metadata/.lock


+ 0 - 339
soft/.metadata/.log

@@ -1,339 +0,0 @@
-!SESSION 2017-05-10 13:14:14.711 -----------------------------------------------
-eclipse.buildId=4.5.2.M20160212-1500
-java.version=1.8.0_121
-java.vendor=Oracle Corporation
-BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=fr_FR
-Framework arguments:  -pluginCustomization configuration/st_pref.ini -product org.eclipse.epp.package.cpp.product
-Command-line arguments:  -os linux -ws gtk -arch x86_64 -pluginCustomization configuration/st_pref.ini -product org.eclipse.epp.package.cpp.product
-
-!ENTRY fr.ac6.mcu.ide 1 1 2017-05-10 13:14:40.610
-!MESSAGE Started RMI Server, listening on port 21112
-
-!ENTRY org.eclipse.core.resources 2 567 2017-05-10 13:14:53.361
-!MESSAGE Failure occurred reading .project file.
-!SUBENTRY 1 org.eclipse.core.resources 2 567 2017-05-10 13:14:53.361
-!MESSAGE Could not read metadata for 'Controle'.
-!STACK 0
-java.lang.NumberFormatException: For input string: ""
-	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
-	at java.lang.Integer.parseInt(Integer.java:592)
-	at java.lang.Integer.parseInt(Integer.java:615)
-	at org.eclipse.core.internal.resources.ProjectDescriptionReader.endLinkType(ProjectDescriptionReader.java:767)
-	at org.eclipse.core.internal.resources.ProjectDescriptionReader.endElement(ProjectDescriptionReader.java:386)
-	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609)
-	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:183)
-	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:351)
-	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
-	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
-	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
-	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
-	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
-	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
-	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
-	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
-	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
-	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:327)
-	at org.eclipse.core.internal.resources.ProjectDescriptionReader.read(ProjectDescriptionReader.java:924)
-	at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:877)
-	at org.eclipse.core.internal.resources.Project.updateDescription(Project.java:1329)
-	at org.eclipse.core.internal.resources.Project.create(Project.java:289)
-	at org.eclipse.core.internal.resources.Project.create(Project.java:252)
-	at org.eclipse.ui.internal.wizards.datatransfer.WizardProjectsImportPage.createExistingProject(WizardProjectsImportPage.java:1378)
-	at org.eclipse.ui.internal.wizards.datatransfer.WizardProjectsImportPage.access$21(WizardProjectsImportPage.java:1302)
-	at org.eclipse.ui.internal.wizards.datatransfer.WizardProjectsImportPage$20.execute(WizardProjectsImportPage.java:1232)
-	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:108)
-	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2241)
-	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:130)
-	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
-!SUBENTRY 1 org.eclipse.core.resources 2 567 2017-05-10 13:14:53.362
-!MESSAGE Empty name detected for linked resource with type '1' and location ''.
-
-!ENTRY org.eclipse.cdt.core 1 0 2017-05-10 13:14:56.639
-!MESSAGE Indexed 'Controle' (30 sources, 94 headers) in 2,44 sec: 6 437 declarations; 36 515 references; 0 unresolved inclusions; 49 syntax errors; 0 unresolved names (0 %)
-
-!ENTRY org.eclipse.core.resources 2 567 2017-05-10 13:53:30.614
-!MESSAGE Failure occurred reading .project file.
-!SUBENTRY 1 org.eclipse.core.resources 2 567 2017-05-10 13:53:30.614
-!MESSAGE Could not read metadata for 'Controle'.
-!STACK 0
-java.lang.NumberFormatException: For input string: ""
-	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
-	at java.lang.Integer.parseInt(Integer.java:592)
-	at java.lang.Integer.parseInt(Integer.java:615)
-	at org.eclipse.core.internal.resources.ProjectDescriptionReader.endLinkType(ProjectDescriptionReader.java:767)
-	at org.eclipse.core.internal.resources.ProjectDescriptionReader.endElement(ProjectDescriptionReader.java:386)
-	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609)
-	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:183)
-	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:351)
-	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
-	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
-	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
-	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
-	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
-	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
-	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
-	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
-	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
-	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:327)
-	at org.eclipse.core.internal.resources.ProjectDescriptionReader.read(ProjectDescriptionReader.java:924)
-	at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:877)
-	at org.eclipse.core.internal.resources.Project.updateDescription(Project.java:1329)
-	at org.eclipse.core.internal.resources.File.updateMetadataFiles(File.java:371)
-	at org.eclipse.core.internal.localstore.RefreshLocalVisitor.visit(RefreshLocalVisitor.java:312)
-	at org.eclipse.core.internal.localstore.UnifiedTree.accept(UnifiedTree.java:109)
-	at org.eclipse.core.internal.localstore.FileSystemResourceManager.refreshResource(FileSystemResourceManager.java:957)
-	at org.eclipse.core.internal.localstore.FileSystemResourceManager.refresh(FileSystemResourceManager.java:941)
-	at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1593)
-	at fr.ac6.mcu.ide.engine.CustomBoardGenerator.addCustomBoardToProject(CustomBoardGenerator.java:79)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.doApplyBoard(MCUIdeProjectTargetPartsManager.java:997)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.doApplyBoard(MCUIdeProjectTargetPartsManager.java:970)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.syncExistingBoard(MCUIdeProjectTargetPartsManager.java:799)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.visitBoardSetup(MCUIdeProjectTargetPartsManager.java:745)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.doGetBoard(MCUIdeProjectTargetPartsManager.java:616)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.getBoard(MCUIdeProjectTargetPartsManager.java:406)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.getMcu(MCUIdeProjectTargetPartsManager.java:496)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.getMcu(MCUIdeProjectTargetPartsManager.java:468)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.getMcu(MCUIdeProjectTargetPartsManager.java:457)
-	at fr.ac6.mcu.ide.build.CrossCommandLineGenerator.generateCommandLineInfo(CrossCommandLineGenerator.java:73)
-	at fr.ac6.mcu.ide.process.makefile.MakefileGenerator.generateToolCommandLineInfo(MakefileGenerator.java:2472)
-	at fr.ac6.mcu.ide.process.makefile.MakefileGenerator.addRuleForSource(MakefileGenerator.java:3032)
-	at fr.ac6.mcu.ide.process.makefile.MakefileGenerator.addFragmentMakefileEntriesForSource(MakefileGenerator.java:2292)
-	at fr.ac6.mcu.ide.process.makefile.MakefileGenerator.addSources(MakefileGenerator.java:2200)
-	at fr.ac6.mcu.ide.process.makefile.MakefileGenerator.populateFragmentMakefile(MakefileGenerator.java:1040)
-	at fr.ac6.mcu.ide.process.makefile.MakefileGenerator.generateMakefiles(MakefileGenerator.java:737)
-	at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performMakefileGeneration(CommonBuilder.java:1008)
-	at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performPrebuildGeneration(CommonBuilder.java:873)
-	at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:748)
-	at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:510)
-	at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:459)
-	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)
-	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
-	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:205)
-	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:245)
-	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:300)
-	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
-	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:303)
-	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:359)
-	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:382)
-	at org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:486)
-	at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:405)
-	at org.eclipse.ui.actions.BuildAction$1.runInWorkspace(BuildAction.java:287)
-	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
-	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
-!SUBENTRY 1 org.eclipse.core.resources 2 567 2017-05-10 13:53:30.614
-!MESSAGE Empty name detected for linked resource with type '1' and location ''.
-
-!ENTRY org.eclipse.core.resources 2 567 2017-05-10 14:19:38.723
-!MESSAGE Failure occurred reading .project file.
-!SUBENTRY 1 org.eclipse.core.resources 2 567 2017-05-10 14:19:38.723
-!MESSAGE Could not read metadata for 'Controle'.
-!STACK 0
-java.lang.NumberFormatException: For input string: ""
-	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
-	at java.lang.Integer.parseInt(Integer.java:592)
-	at java.lang.Integer.parseInt(Integer.java:615)
-	at org.eclipse.core.internal.resources.ProjectDescriptionReader.endLinkType(ProjectDescriptionReader.java:767)
-	at org.eclipse.core.internal.resources.ProjectDescriptionReader.endElement(ProjectDescriptionReader.java:386)
-	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609)
-	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:183)
-	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:351)
-	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
-	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
-	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
-	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
-	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
-	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
-	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
-	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
-	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
-	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:327)
-	at org.eclipse.core.internal.resources.ProjectDescriptionReader.read(ProjectDescriptionReader.java:924)
-	at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:877)
-	at org.eclipse.core.internal.resources.Project.updateDescription(Project.java:1329)
-	at org.eclipse.core.internal.resources.File.updateMetadataFiles(File.java:371)
-	at org.eclipse.core.internal.localstore.RefreshLocalVisitor.visit(RefreshLocalVisitor.java:312)
-	at org.eclipse.core.internal.localstore.UnifiedTree.accept(UnifiedTree.java:109)
-	at org.eclipse.core.internal.localstore.FileSystemResourceManager.refreshResource(FileSystemResourceManager.java:957)
-	at org.eclipse.core.internal.localstore.FileSystemResourceManager.refresh(FileSystemResourceManager.java:941)
-	at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1593)
-	at fr.ac6.mcu.ide.engine.CustomBoardGenerator.addCustomBoardToProject(CustomBoardGenerator.java:79)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.doApplyBoard(MCUIdeProjectTargetPartsManager.java:997)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.doApplyBoard(MCUIdeProjectTargetPartsManager.java:970)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.syncExistingBoard(MCUIdeProjectTargetPartsManager.java:799)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.visitBoardSetup(MCUIdeProjectTargetPartsManager.java:745)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.doGetBoard(MCUIdeProjectTargetPartsManager.java:616)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.getBoard(MCUIdeProjectTargetPartsManager.java:406)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.getMcu(MCUIdeProjectTargetPartsManager.java:496)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.getMcu(MCUIdeProjectTargetPartsManager.java:468)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.getMcu(MCUIdeProjectTargetPartsManager.java:457)
-	at fr.ac6.mcu.ide.build.CrossCommandLineGenerator.generateCommandLineInfo(CrossCommandLineGenerator.java:73)
-	at fr.ac6.mcu.ide.process.makefile.MakefileGenerator.generateToolCommandLineInfo(MakefileGenerator.java:2472)
-	at fr.ac6.mcu.ide.process.makefile.MakefileGenerator.addRuleForSource(MakefileGenerator.java:3032)
-	at fr.ac6.mcu.ide.process.makefile.MakefileGenerator.addFragmentMakefileEntriesForSource(MakefileGenerator.java:2292)
-	at fr.ac6.mcu.ide.process.makefile.MakefileGenerator.addSources(MakefileGenerator.java:2200)
-	at fr.ac6.mcu.ide.process.makefile.MakefileGenerator.populateFragmentMakefile(MakefileGenerator.java:1040)
-	at fr.ac6.mcu.ide.process.makefile.MakefileGenerator.generateMakefiles(MakefileGenerator.java:737)
-	at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performMakefileGeneration(CommonBuilder.java:1008)
-	at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performPrebuildGeneration(CommonBuilder.java:873)
-	at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:748)
-	at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:510)
-	at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:459)
-	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)
-	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
-	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:205)
-	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:245)
-	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:300)
-	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
-	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:303)
-	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:359)
-	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:382)
-	at org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:486)
-	at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:405)
-	at org.eclipse.ui.actions.BuildAction$1.runInWorkspace(BuildAction.java:287)
-	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
-	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
-!SUBENTRY 1 org.eclipse.core.resources 2 567 2017-05-10 14:19:38.723
-!MESSAGE Empty name detected for linked resource with type '1' and location ''.
-
-!ENTRY org.eclipse.core.resources 2 567 2017-05-10 14:29:51.942
-!MESSAGE Failure occurred reading .project file.
-!SUBENTRY 1 org.eclipse.core.resources 2 567 2017-05-10 14:29:51.942
-!MESSAGE Could not read metadata for 'Controle'.
-!STACK 0
-java.lang.NumberFormatException: For input string: ""
-	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
-	at java.lang.Integer.parseInt(Integer.java:592)
-	at java.lang.Integer.parseInt(Integer.java:615)
-	at org.eclipse.core.internal.resources.ProjectDescriptionReader.endLinkType(ProjectDescriptionReader.java:767)
-	at org.eclipse.core.internal.resources.ProjectDescriptionReader.endElement(ProjectDescriptionReader.java:386)
-	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609)
-	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:183)
-	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:351)
-	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
-	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
-	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
-	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
-	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
-	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
-	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
-	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
-	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
-	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:327)
-	at org.eclipse.core.internal.resources.ProjectDescriptionReader.read(ProjectDescriptionReader.java:924)
-	at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:877)
-	at org.eclipse.core.internal.resources.Project.updateDescription(Project.java:1329)
-	at org.eclipse.core.internal.resources.File.updateMetadataFiles(File.java:371)
-	at org.eclipse.core.internal.localstore.RefreshLocalVisitor.visit(RefreshLocalVisitor.java:312)
-	at org.eclipse.core.internal.localstore.UnifiedTree.accept(UnifiedTree.java:109)
-	at org.eclipse.core.internal.localstore.FileSystemResourceManager.refreshResource(FileSystemResourceManager.java:957)
-	at org.eclipse.core.internal.localstore.FileSystemResourceManager.refresh(FileSystemResourceManager.java:941)
-	at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1593)
-	at fr.ac6.mcu.ide.engine.CustomBoardGenerator.addCustomBoardToProject(CustomBoardGenerator.java:79)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.doApplyBoard(MCUIdeProjectTargetPartsManager.java:997)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.doApplyBoard(MCUIdeProjectTargetPartsManager.java:970)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.syncExistingBoard(MCUIdeProjectTargetPartsManager.java:799)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.visitBoardSetup(MCUIdeProjectTargetPartsManager.java:745)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.doGetBoard(MCUIdeProjectTargetPartsManager.java:616)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.getBoard(MCUIdeProjectTargetPartsManager.java:406)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.getMcu(MCUIdeProjectTargetPartsManager.java:496)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.getMcu(MCUIdeProjectTargetPartsManager.java:468)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.getMcu(MCUIdeProjectTargetPartsManager.java:457)
-	at fr.ac6.mcu.ide.build.CrossCommandLineGenerator.generateCommandLineInfo(CrossCommandLineGenerator.java:73)
-	at fr.ac6.mcu.ide.process.makefile.MakefileGenerator.generateToolCommandLineInfo(MakefileGenerator.java:2472)
-	at fr.ac6.mcu.ide.process.makefile.MakefileGenerator.addRuleForSource(MakefileGenerator.java:3032)
-	at fr.ac6.mcu.ide.process.makefile.MakefileGenerator.addFragmentMakefileEntriesForSource(MakefileGenerator.java:2292)
-	at fr.ac6.mcu.ide.process.makefile.MakefileGenerator.addSources(MakefileGenerator.java:2200)
-	at fr.ac6.mcu.ide.process.makefile.MakefileGenerator.populateFragmentMakefile(MakefileGenerator.java:1040)
-	at fr.ac6.mcu.ide.process.makefile.MakefileGenerator.generateMakefiles(MakefileGenerator.java:737)
-	at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performMakefileGeneration(CommonBuilder.java:1008)
-	at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performPrebuildGeneration(CommonBuilder.java:873)
-	at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:748)
-	at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:510)
-	at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:459)
-	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)
-	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
-	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:205)
-	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:245)
-	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:300)
-	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
-	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:303)
-	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:359)
-	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:382)
-	at org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:486)
-	at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:405)
-	at org.eclipse.ui.actions.BuildAction$1.runInWorkspace(BuildAction.java:287)
-	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
-	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
-!SUBENTRY 1 org.eclipse.core.resources 2 567 2017-05-10 14:29:51.943
-!MESSAGE Empty name detected for linked resource with type '1' and location ''.
-
-!ENTRY org.eclipse.core.resources 2 567 2017-05-10 14:34:03.514
-!MESSAGE Failure occurred reading .project file.
-!SUBENTRY 1 org.eclipse.core.resources 2 567 2017-05-10 14:34:03.514
-!MESSAGE Could not read metadata for 'Controle'.
-!STACK 0
-java.lang.NumberFormatException: For input string: ""
-	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
-	at java.lang.Integer.parseInt(Integer.java:592)
-	at java.lang.Integer.parseInt(Integer.java:615)
-	at org.eclipse.core.internal.resources.ProjectDescriptionReader.endLinkType(ProjectDescriptionReader.java:767)
-	at org.eclipse.core.internal.resources.ProjectDescriptionReader.endElement(ProjectDescriptionReader.java:386)
-	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609)
-	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:183)
-	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:351)
-	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
-	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
-	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
-	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
-	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
-	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
-	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
-	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
-	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
-	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:327)
-	at org.eclipse.core.internal.resources.ProjectDescriptionReader.read(ProjectDescriptionReader.java:924)
-	at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:877)
-	at org.eclipse.core.internal.resources.Project.updateDescription(Project.java:1329)
-	at org.eclipse.core.internal.resources.File.updateMetadataFiles(File.java:371)
-	at org.eclipse.core.internal.localstore.RefreshLocalVisitor.visit(RefreshLocalVisitor.java:312)
-	at org.eclipse.core.internal.localstore.UnifiedTree.accept(UnifiedTree.java:109)
-	at org.eclipse.core.internal.localstore.FileSystemResourceManager.refreshResource(FileSystemResourceManager.java:957)
-	at org.eclipse.core.internal.localstore.FileSystemResourceManager.refresh(FileSystemResourceManager.java:941)
-	at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1593)
-	at fr.ac6.mcu.ide.engine.CustomBoardGenerator.addCustomBoardToProject(CustomBoardGenerator.java:79)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.doApplyBoard(MCUIdeProjectTargetPartsManager.java:997)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.doApplyBoard(MCUIdeProjectTargetPartsManager.java:970)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.syncExistingBoard(MCUIdeProjectTargetPartsManager.java:799)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.visitBoardSetup(MCUIdeProjectTargetPartsManager.java:745)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.doGetBoard(MCUIdeProjectTargetPartsManager.java:616)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.getBoard(MCUIdeProjectTargetPartsManager.java:406)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.getMcu(MCUIdeProjectTargetPartsManager.java:496)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.getMcu(MCUIdeProjectTargetPartsManager.java:468)
-	at fr.ac6.mcu.ide.core.MCUIdeProjectTargetPartsManager.getMcu(MCUIdeProjectTargetPartsManager.java:457)
-	at fr.ac6.mcu.ide.build.CrossCommandLineGenerator.generateCommandLineInfo(CrossCommandLineGenerator.java:73)
-	at fr.ac6.mcu.ide.process.makefile.MakefileGenerator.generateToolCommandLineInfo(MakefileGenerator.java:2472)
-	at fr.ac6.mcu.ide.process.makefile.MakefileGenerator.addRuleForSource(MakefileGenerator.java:3032)
-	at fr.ac6.mcu.ide.process.makefile.MakefileGenerator.addFragmentMakefileEntriesForSource(MakefileGenerator.java:2292)
-	at fr.ac6.mcu.ide.process.makefile.MakefileGenerator.addSources(MakefileGenerator.java:2200)
-	at fr.ac6.mcu.ide.process.makefile.MakefileGenerator.populateFragmentMakefile(MakefileGenerator.java:1040)
-	at fr.ac6.mcu.ide.process.makefile.MakefileGenerator.regenerateMakefiles(MakefileGenerator.java:955)
-	at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performMakefileGeneration(CommonBuilder.java:1006)
-	at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performPrebuildGeneration(CommonBuilder.java:873)
-	at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:748)
-	at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:510)
-	at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:459)
-	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)
-	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
-	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:205)
-	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:245)
-	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:300)
-	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
-	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:303)
-	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:359)
-	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:382)
-	at org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:486)
-	at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:398)
-	at org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:182)
-	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
-!SUBENTRY 1 org.eclipse.core.resources 2 567 2017-05-10 14:34:03.515
-!MESSAGE Empty name detected for linked resource with type '1' and location ''.

BIN
soft/.metadata/.mylyn/repositories.xml.zip


+ 0 - 0
soft/.metadata/.plugins/org.eclipse.cdt.core/.log


BIN
soft/.metadata/.plugins/org.eclipse.cdt.core/Controle.1494414894169.pdom


+ 0 - 2122
soft/.metadata/.plugins/org.eclipse.cdt.core/Controle.language.settings.xml

@@ -1,2122 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<project>
-	<configuration id="fr.ac6.managedbuild.config.gnu.cross.exe.debug.1947368500" name="Debug">
-		<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
-			<provider id="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector">
-				<language id="org.eclipse.cdt.core.gcc">
-					<entry kind="includePath" name="/home/rcluze/Soft/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.13.1.201703061524/tools/compiler/lib/gcc/arm-none-eabi/5.4.1/include">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="includePath" name="/home/rcluze/Soft/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.13.1.201703061524/tools/compiler/lib/gcc/arm-none-eabi/5.4.1/include-fixed">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="includePath" name="/home/rcluze/Soft/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.13.1.201703061524/tools/compiler/arm-none-eabi/include">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ACCUM_EPSILON__" value="0x1P-15K">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ACCUM_FBIT__" value="15">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ACCUM_IBIT__" value="16">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ACCUM_MAX__" value="0X7FFFFFFFP-15K">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ACCUM_MIN__" value="(-0X1P15K-0X1P15K)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__APCS_32__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ARMEL__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ARM_32BIT_STATE" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ARM_ARCH" value="4">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ARM_ARCH_4T__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ARM_ARCH_ISA_ARM" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ARM_ARCH_ISA_THUMB" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ARM_EABI__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ARM_PCS" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ARM_SIZEOF_MINIMAL_ENUM" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ARM_SIZEOF_WCHAR_T" value="4">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ATOMIC_ACQUIRE" value="2">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ATOMIC_ACQ_REL" value="4">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ATOMIC_CONSUME" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ATOMIC_RELAXED" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ATOMIC_RELEASE" value="3">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ATOMIC_SEQ_CST" value="5">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__BIGGEST_ALIGNMENT__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__BYTE_ORDER__" value="__ORDER_LITTLE_ENDIAN__">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__CHAR16_TYPE__" value="short unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__CHAR32_TYPE__" value="long unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__CHAR_BIT__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__CHAR_UNSIGNED__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DA_FBIT__" value="31">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DA_IBIT__" value="32">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_DECIMAL_DIG__" value="17">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_DENORM_MIN__" value="((double)4.9406564584124654e-324L)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_DIG__" value="15">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_EPSILON__" value="((double)2.2204460492503131e-16L)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_HAS_DENORM__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_HAS_INFINITY__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_HAS_QUIET_NAN__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_MANT_DIG__" value="53">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_MAX_10_EXP__" value="308">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_MAX_EXP__" value="1024">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_MAX__" value="((double)1.7976931348623157e+308L)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_MIN_10_EXP__" value="(-307)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_MIN_EXP__" value="(-1021)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_MIN__" value="((double)2.2250738585072014e-308L)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC128_EPSILON__" value="1E-33DL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC128_MANT_DIG__" value="34">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC128_MAX_EXP__" value="6145">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC128_MAX__" value="9.999999999999999999999999999999999E6144DL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC128_MIN_EXP__" value="(-6142)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC128_MIN__" value="1E-6143DL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC128_SUBNORMAL_MIN__" value="0.000000000000000000000000000000001E-6143DL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC32_EPSILON__" value="1E-6DF">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC32_MANT_DIG__" value="7">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC32_MAX_EXP__" value="97">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC32_MAX__" value="9.999999E96DF">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC32_MIN_EXP__" value="(-94)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC32_MIN__" value="1E-95DF">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC32_SUBNORMAL_MIN__" value="0.000001E-95DF">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC64_EPSILON__" value="1E-15DD">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC64_MANT_DIG__" value="16">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC64_MAX_EXP__" value="385">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC64_MAX__" value="9.999999999999999E384DD">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC64_MIN_EXP__" value="(-382)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC64_MIN__" value="1E-383DD">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC64_SUBNORMAL_MIN__" value="0.000000000000001E-383DD">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DECIMAL_DIG__" value="17">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC_EVAL_METHOD__" value="2">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DQ_FBIT__" value="63">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DQ_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ELF__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FINITE_MATH_ONLY__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLOAT_WORD_ORDER__" value="__ORDER_LITTLE_ENDIAN__">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_DECIMAL_DIG__" value="9">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_DENORM_MIN__" value="1.4012984643248171e-45F">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_DIG__" value="6">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_EPSILON__" value="1.1920928955078125e-7F">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_EVAL_METHOD__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_HAS_DENORM__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_HAS_INFINITY__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_HAS_QUIET_NAN__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_MANT_DIG__" value="24">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_MAX_10_EXP__" value="38">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_MAX_EXP__" value="128">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_MAX__" value="3.4028234663852886e+38F">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_MIN_10_EXP__" value="(-37)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_MIN_EXP__" value="(-125)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_MIN__" value="1.1754943508222875e-38F">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_RADIX__" value="2">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FRACT_EPSILON__" value="0x1P-15R">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FRACT_FBIT__" value="15">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FRACT_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FRACT_MAX__" value="0X7FFFP-15R">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FRACT_MIN__" value="(-0.5R-0.5R)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_ATOMIC_BOOL_LOCK_FREE" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_ATOMIC_CHAR16_T_LOCK_FREE" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_ATOMIC_CHAR32_T_LOCK_FREE" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_ATOMIC_CHAR_LOCK_FREE" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_ATOMIC_INT_LOCK_FREE" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_ATOMIC_LLONG_LOCK_FREE" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_ATOMIC_LONG_LOCK_FREE" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_ATOMIC_POINTER_LOCK_FREE" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_ATOMIC_SHORT_LOCK_FREE" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_ATOMIC_TEST_AND_SET_TRUEVAL" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_ATOMIC_WCHAR_T_LOCK_FREE" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_IEC_559" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_IEC_559_COMPLEX" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GNUC_MINOR__" value="4">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GNUC_PATCHLEVEL__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GNUC_STDC_INLINE__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GNUC__" value="5">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GXX_ABI_VERSION" value="1009">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GXX_TYPEINFO_EQUALITY_INLINE" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__HA_FBIT__" value="7">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__HA_IBIT__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__HQ_FBIT__" value="15">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__HQ_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT16_C(c)" value="c">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT16_MAX__" value="0x7fff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT16_TYPE__" value="short int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT32_C(c)" value="c ## L">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT32_MAX__" value="0x7fffffffL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT32_TYPE__" value="long int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT64_C(c)" value="c ## LL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT64_MAX__" value="0x7fffffffffffffffLL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT64_TYPE__" value="long long int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT8_C(c)" value="c">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT8_MAX__" value="0x7f">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT8_TYPE__" value="signed char">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INTMAX_C(c)" value="c ## LL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INTMAX_MAX__" value="0x7fffffffffffffffLL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INTMAX_TYPE__" value="long long int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INTPTR_MAX__" value="0x7fffffff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INTPTR_TYPE__" value="int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_FAST16_MAX__" value="0x7fffffff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_FAST16_TYPE__" value="int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_FAST32_MAX__" value="0x7fffffff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_FAST32_TYPE__" value="int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_FAST64_MAX__" value="0x7fffffffffffffffLL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_FAST64_TYPE__" value="long long int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_FAST8_MAX__" value="0x7fffffff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_FAST8_TYPE__" value="int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_LEAST16_MAX__" value="0x7fff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_LEAST16_TYPE__" value="short int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_LEAST32_MAX__" value="0x7fffffffL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_LEAST32_TYPE__" value="long int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_LEAST64_MAX__" value="0x7fffffffffffffffLL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_LEAST64_TYPE__" value="long long int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_LEAST8_MAX__" value="0x7f">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_LEAST8_TYPE__" value="signed char">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_MAX__" value="0x7fffffff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LACCUM_EPSILON__" value="0x1P-31LK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LACCUM_FBIT__" value="31">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LACCUM_IBIT__" value="32">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LACCUM_MAX__" value="0X7FFFFFFFFFFFFFFFP-31LK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LACCUM_MIN__" value="(-0X1P31LK-0X1P31LK)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_DENORM_MIN__" value="4.9406564584124654e-324L">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_DIG__" value="15">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_EPSILON__" value="2.2204460492503131e-16L">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_HAS_DENORM__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_HAS_INFINITY__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_HAS_QUIET_NAN__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_MANT_DIG__" value="53">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_MAX_10_EXP__" value="308">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_MAX_EXP__" value="1024">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_MAX__" value="1.7976931348623157e+308L">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_MIN_10_EXP__" value="(-307)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_MIN_EXP__" value="(-1021)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_MIN__" value="2.2250738585072014e-308L">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LFRACT_EPSILON__" value="0x1P-31LR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LFRACT_FBIT__" value="31">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LFRACT_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LFRACT_MAX__" value="0X7FFFFFFFP-31LR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LFRACT_MIN__" value="(-0.5LR-0.5LR)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LLACCUM_EPSILON__" value="0x1P-31LLK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LLACCUM_FBIT__" value="31">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LLACCUM_IBIT__" value="32">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LLACCUM_MAX__" value="0X7FFFFFFFFFFFFFFFP-31LLK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LLACCUM_MIN__" value="(-0X1P31LLK-0X1P31LLK)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LLFRACT_EPSILON__" value="0x1P-63LLR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LLFRACT_FBIT__" value="63">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LLFRACT_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LLFRACT_MAX__" value="0X7FFFFFFFFFFFFFFFP-63LLR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LLFRACT_MIN__" value="(-0.5LLR-0.5LLR)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LONG_LONG_MAX__" value="0x7fffffffffffffffLL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LONG_MAX__" value="0x7fffffffL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__NO_INLINE__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ORDER_BIG_ENDIAN__" value="4321">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ORDER_LITTLE_ENDIAN__" value="1234">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ORDER_PDP_ENDIAN__" value="3412">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__PRAGMA_REDEFINE_EXTNAME" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__PTRDIFF_MAX__" value="0x7fffffff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__PTRDIFF_TYPE__" value="int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__QQ_FBIT__" value="7">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__QQ_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__REGISTER_PREFIX__" value="">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SACCUM_EPSILON__" value="0x1P-7HK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SACCUM_FBIT__" value="7">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SACCUM_IBIT__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SACCUM_MAX__" value="0X7FFFP-7HK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SACCUM_MIN__" value="(-0X1P7HK-0X1P7HK)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SA_FBIT__" value="15">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SA_IBIT__" value="16">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SCHAR_MAX__" value="0x7f">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SFRACT_EPSILON__" value="0x1P-7HR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SFRACT_FBIT__" value="7">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SFRACT_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SFRACT_MAX__" value="0X7FP-7HR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SFRACT_MIN__" value="(-0.5HR-0.5HR)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SHRT_MAX__" value="0x7fff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIG_ATOMIC_MAX__" value="0x7fffffff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIG_ATOMIC_MIN__" value="(-__SIG_ATOMIC_MAX__ - 1)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIG_ATOMIC_TYPE__" value="int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZEOF_DOUBLE__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZEOF_FLOAT__" value="4">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZEOF_INT__" value="4">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZEOF_LONG_DOUBLE__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZEOF_LONG_LONG__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZEOF_LONG__" value="4">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZEOF_POINTER__" value="4">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZEOF_PTRDIFF_T__" value="4">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZEOF_SHORT__" value="2">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZEOF_SIZE_T__" value="4">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZEOF_WCHAR_T__" value="4">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZEOF_WINT_T__" value="4">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZE_MAX__" value="0xffffffffU">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZE_TYPE__" value="unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SOFTFP__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SQ_FBIT__" value="31">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SQ_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__STDC_HOSTED__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__STDC_UTF_16__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__STDC_UTF_32__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__STDC_VERSION__" value="201112L">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__STDC__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__TA_FBIT__" value="63">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__TA_IBIT__" value="64">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__THUMB_INTERWORK__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__TQ_FBIT__" value="127">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__TQ_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UACCUM_EPSILON__" value="0x1P-16UK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UACCUM_FBIT__" value="16">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UACCUM_IBIT__" value="16">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UACCUM_MAX__" value="0XFFFFFFFFP-16UK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UACCUM_MIN__" value="0.0UK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UDA_FBIT__" value="32">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UDA_IBIT__" value="32">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UDQ_FBIT__" value="64">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UDQ_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UFRACT_EPSILON__" value="0x1P-16UR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UFRACT_FBIT__" value="16">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UFRACT_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UFRACT_MAX__" value="0XFFFFP-16UR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UFRACT_MIN__" value="0.0UR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UHA_FBIT__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UHA_IBIT__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UHQ_FBIT__" value="16">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UHQ_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT16_C(c)" value="c">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT16_MAX__" value="0xffff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT16_TYPE__" value="short unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT32_C(c)" value="c ## UL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT32_MAX__" value="0xffffffffUL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT32_TYPE__" value="long unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT64_C(c)" value="c ## ULL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT64_MAX__" value="0xffffffffffffffffULL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT64_TYPE__" value="long long unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT8_C(c)" value="c">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT8_MAX__" value="0xff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT8_TYPE__" value="unsigned char">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINTMAX_C(c)" value="c ## ULL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINTMAX_MAX__" value="0xffffffffffffffffULL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINTMAX_TYPE__" value="long long unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINTPTR_MAX__" value="0xffffffffU">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINTPTR_TYPE__" value="unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_FAST16_MAX__" value="0xffffffffU">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_FAST16_TYPE__" value="unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_FAST32_MAX__" value="0xffffffffU">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_FAST32_TYPE__" value="unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_FAST64_MAX__" value="0xffffffffffffffffULL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_FAST64_TYPE__" value="long long unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_FAST8_MAX__" value="0xffffffffU">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_FAST8_TYPE__" value="unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_LEAST16_MAX__" value="0xffff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_LEAST16_TYPE__" value="short unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_LEAST32_MAX__" value="0xffffffffUL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_LEAST32_TYPE__" value="long unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_LEAST64_MAX__" value="0xffffffffffffffffULL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_LEAST64_TYPE__" value="long long unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_LEAST8_MAX__" value="0xff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_LEAST8_TYPE__" value="unsigned char">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULACCUM_EPSILON__" value="0x1P-32ULK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULACCUM_FBIT__" value="32">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULACCUM_IBIT__" value="32">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULACCUM_MAX__" value="0XFFFFFFFFFFFFFFFFP-32ULK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULACCUM_MIN__" value="0.0ULK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULFRACT_EPSILON__" value="0x1P-32ULR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULFRACT_FBIT__" value="32">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULFRACT_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULFRACT_MAX__" value="0XFFFFFFFFP-32ULR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULFRACT_MIN__" value="0.0ULR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULLACCUM_EPSILON__" value="0x1P-32ULLK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULLACCUM_FBIT__" value="32">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULLACCUM_IBIT__" value="32">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULLACCUM_MAX__" value="0XFFFFFFFFFFFFFFFFP-32ULLK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULLACCUM_MIN__" value="0.0ULLK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULLFRACT_EPSILON__" value="0x1P-64ULLR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULLFRACT_FBIT__" value="64">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULLFRACT_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULLFRACT_MAX__" value="0XFFFFFFFFFFFFFFFFP-64ULLR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULLFRACT_MIN__" value="0.0ULLR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UQQ_FBIT__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UQQ_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USACCUM_EPSILON__" value="0x1P-8UHK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USACCUM_FBIT__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USACCUM_IBIT__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USACCUM_MAX__" value="0XFFFFP-8UHK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USACCUM_MIN__" value="0.0UHK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USA_FBIT__" value="16">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USA_IBIT__" value="16">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USER_LABEL_PREFIX__" value="">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USES_INITFINI__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USFRACT_EPSILON__" value="0x1P-8UHR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USFRACT_FBIT__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USFRACT_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USFRACT_MAX__" value="0XFFP-8UHR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USFRACT_MIN__" value="0.0UHR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USQ_FBIT__" value="32">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USQ_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UTA_FBIT__" value="64">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UTA_IBIT__" value="64">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UTQ_FBIT__" value="128">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UTQ_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__VERSION__" value="&quot;5.4.1 20160919 (release) [ARM/embedded-5-branch revision 240496]&quot;">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__VFP_FP__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__WCHAR_MAX__" value="0xffffffffU">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__WCHAR_MIN__" value="0U">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__WCHAR_TYPE__" value="unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__WINT_MAX__" value="0xffffffffU">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__WINT_MIN__" value="0U">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__WINT_TYPE__" value="unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__arm__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__has_include(STR)" value="__has_include__(STR)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__has_include_next(STR)" value="__has_include_next__(STR)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-				</language>
-				<language id="org.eclipse.cdt.core.g++">
-					<entry kind="includePath" name="/home/rcluze/Soft/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.13.1.201703061524/tools/compiler/arm-none-eabi/include/c++/5.4.1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="includePath" name="/home/rcluze/Soft/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.13.1.201703061524/tools/compiler/arm-none-eabi/include/c++/5.4.1/arm-none-eabi">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="includePath" name="/home/rcluze/Soft/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.13.1.201703061524/tools/compiler/arm-none-eabi/include/c++/5.4.1/backward">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="includePath" name="/home/rcluze/Soft/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.13.1.201703061524/tools/compiler/lib/gcc/arm-none-eabi/5.4.1/include">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="includePath" name="/home/rcluze/Soft/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.13.1.201703061524/tools/compiler/lib/gcc/arm-none-eabi/5.4.1/include-fixed">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="includePath" name="/home/rcluze/Soft/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.13.1.201703061524/tools/compiler/arm-none-eabi/include">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ACCUM_EPSILON__" value="0x1P-15K">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ACCUM_FBIT__" value="15">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ACCUM_IBIT__" value="16">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ACCUM_MAX__" value="0X7FFFFFFFP-15K">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ACCUM_MIN__" value="(-0X1P15K-0X1P15K)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__APCS_32__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ARMEL__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ARM_32BIT_STATE" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ARM_ARCH" value="4">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ARM_ARCH_4T__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ARM_ARCH_ISA_ARM" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ARM_ARCH_ISA_THUMB" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ARM_EABI__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ARM_PCS" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ARM_SIZEOF_MINIMAL_ENUM" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ARM_SIZEOF_WCHAR_T" value="4">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ATOMIC_ACQUIRE" value="2">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ATOMIC_ACQ_REL" value="4">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ATOMIC_CONSUME" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ATOMIC_RELAXED" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ATOMIC_RELEASE" value="3">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ATOMIC_SEQ_CST" value="5">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__BIGGEST_ALIGNMENT__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__BYTE_ORDER__" value="__ORDER_LITTLE_ENDIAN__">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__CHAR16_TYPE__" value="short unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__CHAR32_TYPE__" value="long unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__CHAR_BIT__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__CHAR_UNSIGNED__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DA_FBIT__" value="31">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DA_IBIT__" value="32">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_DECIMAL_DIG__" value="17">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_DENORM_MIN__" value="double(4.9406564584124654e-324L)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_DIG__" value="15">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_EPSILON__" value="double(2.2204460492503131e-16L)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_HAS_DENORM__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_HAS_INFINITY__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_HAS_QUIET_NAN__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_MANT_DIG__" value="53">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_MAX_10_EXP__" value="308">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_MAX_EXP__" value="1024">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_MAX__" value="double(1.7976931348623157e+308L)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_MIN_10_EXP__" value="(-307)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_MIN_EXP__" value="(-1021)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DBL_MIN__" value="double(2.2250738585072014e-308L)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC128_EPSILON__" value="1E-33DL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC128_MANT_DIG__" value="34">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC128_MAX_EXP__" value="6145">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC128_MAX__" value="9.999999999999999999999999999999999E6144DL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC128_MIN_EXP__" value="(-6142)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC128_MIN__" value="1E-6143DL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC128_SUBNORMAL_MIN__" value="0.000000000000000000000000000000001E-6143DL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC32_EPSILON__" value="1E-6DF">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC32_MANT_DIG__" value="7">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC32_MAX_EXP__" value="97">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC32_MAX__" value="9.999999E96DF">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC32_MIN_EXP__" value="(-94)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC32_MIN__" value="1E-95DF">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC32_SUBNORMAL_MIN__" value="0.000001E-95DF">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC64_EPSILON__" value="1E-15DD">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC64_MANT_DIG__" value="16">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC64_MAX_EXP__" value="385">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC64_MAX__" value="9.999999999999999E384DD">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC64_MIN_EXP__" value="(-382)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC64_MIN__" value="1E-383DD">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC64_SUBNORMAL_MIN__" value="0.000000000000001E-383DD">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DECIMAL_DIG__" value="17">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEC_EVAL_METHOD__" value="2">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DEPRECATED" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DQ_FBIT__" value="63">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__DQ_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ELF__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__EXCEPTIONS" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FINITE_MATH_ONLY__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLOAT_WORD_ORDER__" value="__ORDER_LITTLE_ENDIAN__">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_DECIMAL_DIG__" value="9">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_DENORM_MIN__" value="1.4012984643248171e-45F">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_DIG__" value="6">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_EPSILON__" value="1.1920928955078125e-7F">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_EVAL_METHOD__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_HAS_DENORM__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_HAS_INFINITY__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_HAS_QUIET_NAN__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_MANT_DIG__" value="24">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_MAX_10_EXP__" value="38">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_MAX_EXP__" value="128">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_MAX__" value="3.4028234663852886e+38F">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_MIN_10_EXP__" value="(-37)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_MIN_EXP__" value="(-125)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_MIN__" value="1.1754943508222875e-38F">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FLT_RADIX__" value="2">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FRACT_EPSILON__" value="0x1P-15R">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FRACT_FBIT__" value="15">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FRACT_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FRACT_MAX__" value="0X7FFFP-15R">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__FRACT_MIN__" value="(-0.5R-0.5R)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_ATOMIC_BOOL_LOCK_FREE" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_ATOMIC_CHAR16_T_LOCK_FREE" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_ATOMIC_CHAR32_T_LOCK_FREE" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_ATOMIC_CHAR_LOCK_FREE" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_ATOMIC_INT_LOCK_FREE" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_ATOMIC_LLONG_LOCK_FREE" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_ATOMIC_LONG_LOCK_FREE" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_ATOMIC_POINTER_LOCK_FREE" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_ATOMIC_SHORT_LOCK_FREE" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_ATOMIC_TEST_AND_SET_TRUEVAL" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_ATOMIC_WCHAR_T_LOCK_FREE" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_IEC_559" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GCC_IEC_559_COMPLEX" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GNUC_GNU_INLINE__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GNUC_MINOR__" value="4">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GNUC_PATCHLEVEL__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GNUC__" value="5">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GNUG__" value="5">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GXX_ABI_VERSION" value="1009">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GXX_RTTI" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GXX_TYPEINFO_EQUALITY_INLINE" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__GXX_WEAK__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__HA_FBIT__" value="7">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__HA_IBIT__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__HQ_FBIT__" value="15">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__HQ_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT16_C(c)" value="c">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT16_MAX__" value="0x7fff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT16_TYPE__" value="short int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT32_C(c)" value="c ## L">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT32_MAX__" value="0x7fffffffL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT32_TYPE__" value="long int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT64_C(c)" value="c ## LL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT64_MAX__" value="0x7fffffffffffffffLL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT64_TYPE__" value="long long int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT8_C(c)" value="c">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT8_MAX__" value="0x7f">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT8_TYPE__" value="signed char">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INTMAX_C(c)" value="c ## LL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INTMAX_MAX__" value="0x7fffffffffffffffLL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INTMAX_TYPE__" value="long long int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INTPTR_MAX__" value="0x7fffffff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INTPTR_TYPE__" value="int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_FAST16_MAX__" value="0x7fffffff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_FAST16_TYPE__" value="int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_FAST32_MAX__" value="0x7fffffff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_FAST32_TYPE__" value="int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_FAST64_MAX__" value="0x7fffffffffffffffLL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_FAST64_TYPE__" value="long long int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_FAST8_MAX__" value="0x7fffffff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_FAST8_TYPE__" value="int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_LEAST16_MAX__" value="0x7fff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_LEAST16_TYPE__" value="short int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_LEAST32_MAX__" value="0x7fffffffL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_LEAST32_TYPE__" value="long int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_LEAST64_MAX__" value="0x7fffffffffffffffLL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_LEAST64_TYPE__" value="long long int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_LEAST8_MAX__" value="0x7f">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_LEAST8_TYPE__" value="signed char">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__INT_MAX__" value="0x7fffffff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LACCUM_EPSILON__" value="0x1P-31LK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LACCUM_FBIT__" value="31">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LACCUM_IBIT__" value="32">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LACCUM_MAX__" value="0X7FFFFFFFFFFFFFFFP-31LK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LACCUM_MIN__" value="(-0X1P31LK-0X1P31LK)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_DENORM_MIN__" value="4.9406564584124654e-324L">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_DIG__" value="15">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_EPSILON__" value="2.2204460492503131e-16L">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_HAS_DENORM__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_HAS_INFINITY__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_HAS_QUIET_NAN__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_MANT_DIG__" value="53">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_MAX_10_EXP__" value="308">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_MAX_EXP__" value="1024">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_MAX__" value="1.7976931348623157e+308L">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_MIN_10_EXP__" value="(-307)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_MIN_EXP__" value="(-1021)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LDBL_MIN__" value="2.2250738585072014e-308L">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LFRACT_EPSILON__" value="0x1P-31LR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LFRACT_FBIT__" value="31">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LFRACT_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LFRACT_MAX__" value="0X7FFFFFFFP-31LR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LFRACT_MIN__" value="(-0.5LR-0.5LR)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LLACCUM_EPSILON__" value="0x1P-31LLK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LLACCUM_FBIT__" value="31">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LLACCUM_IBIT__" value="32">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LLACCUM_MAX__" value="0X7FFFFFFFFFFFFFFFP-31LLK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LLACCUM_MIN__" value="(-0X1P31LLK-0X1P31LLK)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LLFRACT_EPSILON__" value="0x1P-63LLR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LLFRACT_FBIT__" value="63">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LLFRACT_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LLFRACT_MAX__" value="0X7FFFFFFFFFFFFFFFP-63LLR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LLFRACT_MIN__" value="(-0.5LLR-0.5LLR)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LONG_LONG_MAX__" value="0x7fffffffffffffffLL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__LONG_MAX__" value="0x7fffffffL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__NO_INLINE__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ORDER_BIG_ENDIAN__" value="4321">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ORDER_LITTLE_ENDIAN__" value="1234">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ORDER_PDP_ENDIAN__" value="3412">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__PRAGMA_REDEFINE_EXTNAME" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__PTRDIFF_MAX__" value="0x7fffffff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__PTRDIFF_TYPE__" value="int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__QQ_FBIT__" value="7">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__QQ_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__REGISTER_PREFIX__" value="">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SACCUM_EPSILON__" value="0x1P-7HK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SACCUM_FBIT__" value="7">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SACCUM_IBIT__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SACCUM_MAX__" value="0X7FFFP-7HK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SACCUM_MIN__" value="(-0X1P7HK-0X1P7HK)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SA_FBIT__" value="15">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SA_IBIT__" value="16">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SCHAR_MAX__" value="0x7f">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SFRACT_EPSILON__" value="0x1P-7HR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SFRACT_FBIT__" value="7">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SFRACT_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SFRACT_MAX__" value="0X7FP-7HR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SFRACT_MIN__" value="(-0.5HR-0.5HR)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SHRT_MAX__" value="0x7fff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIG_ATOMIC_MAX__" value="0x7fffffff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIG_ATOMIC_MIN__" value="(-__SIG_ATOMIC_MAX__ - 1)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIG_ATOMIC_TYPE__" value="int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZEOF_DOUBLE__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZEOF_FLOAT__" value="4">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZEOF_INT__" value="4">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZEOF_LONG_DOUBLE__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZEOF_LONG_LONG__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZEOF_LONG__" value="4">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZEOF_POINTER__" value="4">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZEOF_PTRDIFF_T__" value="4">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZEOF_SHORT__" value="2">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZEOF_SIZE_T__" value="4">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZEOF_WCHAR_T__" value="4">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZEOF_WINT_T__" value="4">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZE_MAX__" value="0xffffffffU">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SIZE_TYPE__" value="unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SOFTFP__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SQ_FBIT__" value="31">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__SQ_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__STDC_HOSTED__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__STDC__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__TA_FBIT__" value="63">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__TA_IBIT__" value="64">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__THUMB_INTERWORK__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__TQ_FBIT__" value="127">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__TQ_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UACCUM_EPSILON__" value="0x1P-16UK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UACCUM_FBIT__" value="16">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UACCUM_IBIT__" value="16">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UACCUM_MAX__" value="0XFFFFFFFFP-16UK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UACCUM_MIN__" value="0.0UK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UDA_FBIT__" value="32">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UDA_IBIT__" value="32">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UDQ_FBIT__" value="64">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UDQ_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UFRACT_EPSILON__" value="0x1P-16UR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UFRACT_FBIT__" value="16">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UFRACT_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UFRACT_MAX__" value="0XFFFFP-16UR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UFRACT_MIN__" value="0.0UR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UHA_FBIT__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UHA_IBIT__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UHQ_FBIT__" value="16">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UHQ_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT16_C(c)" value="c">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT16_MAX__" value="0xffff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT16_TYPE__" value="short unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT32_C(c)" value="c ## UL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT32_MAX__" value="0xffffffffUL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT32_TYPE__" value="long unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT64_C(c)" value="c ## ULL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT64_MAX__" value="0xffffffffffffffffULL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT64_TYPE__" value="long long unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT8_C(c)" value="c">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT8_MAX__" value="0xff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT8_TYPE__" value="unsigned char">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINTMAX_C(c)" value="c ## ULL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINTMAX_MAX__" value="0xffffffffffffffffULL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINTMAX_TYPE__" value="long long unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINTPTR_MAX__" value="0xffffffffU">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINTPTR_TYPE__" value="unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_FAST16_MAX__" value="0xffffffffU">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_FAST16_TYPE__" value="unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_FAST32_MAX__" value="0xffffffffU">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_FAST32_TYPE__" value="unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_FAST64_MAX__" value="0xffffffffffffffffULL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_FAST64_TYPE__" value="long long unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_FAST8_MAX__" value="0xffffffffU">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_FAST8_TYPE__" value="unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_LEAST16_MAX__" value="0xffff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_LEAST16_TYPE__" value="short unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_LEAST32_MAX__" value="0xffffffffUL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_LEAST32_TYPE__" value="long unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_LEAST64_MAX__" value="0xffffffffffffffffULL">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_LEAST64_TYPE__" value="long long unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_LEAST8_MAX__" value="0xff">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UINT_LEAST8_TYPE__" value="unsigned char">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULACCUM_EPSILON__" value="0x1P-32ULK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULACCUM_FBIT__" value="32">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULACCUM_IBIT__" value="32">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULACCUM_MAX__" value="0XFFFFFFFFFFFFFFFFP-32ULK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULACCUM_MIN__" value="0.0ULK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULFRACT_EPSILON__" value="0x1P-32ULR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULFRACT_FBIT__" value="32">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULFRACT_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULFRACT_MAX__" value="0XFFFFFFFFP-32ULR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULFRACT_MIN__" value="0.0ULR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULLACCUM_EPSILON__" value="0x1P-32ULLK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULLACCUM_FBIT__" value="32">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULLACCUM_IBIT__" value="32">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULLACCUM_MAX__" value="0XFFFFFFFFFFFFFFFFP-32ULLK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULLACCUM_MIN__" value="0.0ULLK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULLFRACT_EPSILON__" value="0x1P-64ULLR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULLFRACT_FBIT__" value="64">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULLFRACT_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULLFRACT_MAX__" value="0XFFFFFFFFFFFFFFFFP-64ULLR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__ULLFRACT_MIN__" value="0.0ULLR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UQQ_FBIT__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UQQ_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USACCUM_EPSILON__" value="0x1P-8UHK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USACCUM_FBIT__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USACCUM_IBIT__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USACCUM_MAX__" value="0XFFFFP-8UHK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USACCUM_MIN__" value="0.0UHK">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USA_FBIT__" value="16">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USA_IBIT__" value="16">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USER_LABEL_PREFIX__" value="">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USES_INITFINI__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USFRACT_EPSILON__" value="0x1P-8UHR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USFRACT_FBIT__" value="8">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USFRACT_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USFRACT_MAX__" value="0XFFP-8UHR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USFRACT_MIN__" value="0.0UHR">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USQ_FBIT__" value="32">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__USQ_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UTA_FBIT__" value="64">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UTA_IBIT__" value="64">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UTQ_FBIT__" value="128">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__UTQ_IBIT__" value="0">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__VERSION__" value="&quot;5.4.1 20160919 (release) [ARM/embedded-5-branch revision 240496]&quot;">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__VFP_FP__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__WCHAR_MAX__" value="0xffffffffU">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__WCHAR_MIN__" value="0U">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__WCHAR_TYPE__" value="unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__WCHAR_UNSIGNED__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__WINT_MAX__" value="0xffffffffU">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__WINT_MIN__" value="0U">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__WINT_TYPE__" value="unsigned int">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__arm__" value="1">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__cplusplus" value="199711L">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__cpp_binary_literals" value="201304">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__cpp_exceptions" value="199711">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__cpp_rtti" value="199711">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__cpp_runtime_arrays" value="198712">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__has_include(STR)" value="__has_include__(STR)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-					<entry kind="macro" name="__has_include_next(STR)" value="__has_include_next__(STR)">
-						<flag value="BUILTIN|READONLY"/>
-					</entry>
-				</language>
-			</provider>
-		</extension>
-	</configuration>
-</project>

+ 0 - 1
soft/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c

@@ -1 +0,0 @@
-

+ 0 - 1
soft/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp

@@ -1 +0,0 @@
-

+ 0 - 0
soft/.metadata/.plugins/org.eclipse.cdt.managedbuilder.core/spec.C


+ 0 - 0
soft/.metadata/.plugins/org.eclipse.cdt.managedbuilder.core/spec.c


+ 0 - 203
soft/.metadata/.plugins/org.eclipse.cdt.ui/Controle.build.log

@@ -1,203 +0,0 @@
-14:34:58 **** Incremental Build of configuration Debug for project Controle ****
-make all 
-Building file: ../Src/freertos.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Src/freertos.d" -MT"Src/freertos.o" -o "Src/freertos.o" "../Src/freertos.c"
-Finished building: ../Src/freertos.c
- 
-Building file: ../Src/gpio.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Src/gpio.d" -MT"Src/gpio.o" -o "Src/gpio.o" "../Src/gpio.c"
-Finished building: ../Src/gpio.c
- 
-Building file: ../Src/main.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Src/main.d" -MT"Src/main.o" -o "Src/main.o" "../Src/main.c"
-Finished building: ../Src/main.c
- 
-Building file: ../Src/stm32f0xx_hal_msp.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Src/stm32f0xx_hal_msp.d" -MT"Src/stm32f0xx_hal_msp.o" -o "Src/stm32f0xx_hal_msp.o" "../Src/stm32f0xx_hal_msp.c"
-Finished building: ../Src/stm32f0xx_hal_msp.c
- 
-Building file: ../Src/stm32f0xx_hal_timebase_TIM.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Src/stm32f0xx_hal_timebase_TIM.d" -MT"Src/stm32f0xx_hal_timebase_TIM.o" -o "Src/stm32f0xx_hal_timebase_TIM.o" "../Src/stm32f0xx_hal_timebase_TIM.c"
-Finished building: ../Src/stm32f0xx_hal_timebase_TIM.c
- 
-Building file: ../Src/stm32f0xx_it.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Src/stm32f0xx_it.d" -MT"Src/stm32f0xx_it.o" -o "Src/stm32f0xx_it.o" "../Src/stm32f0xx_it.c"
-Finished building: ../Src/stm32f0xx_it.c
- 
-Building file: ../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.d" -MT"Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o" -o "Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o" "../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c"
-Finished building: ../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c
- 
-Building file: ../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.d" -MT"Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.o" -o "Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.o" "../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.c"
-Finished building: ../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.c
- 
-Building file: ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.d" -MT"Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o" -o "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o" "../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.c"
-Finished building: ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.c
- 
-Building file: ../Middlewares/Third_Party/FreeRTOS/Source/croutine.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/Source/croutine.d" -MT"Middlewares/Third_Party/FreeRTOS/Source/croutine.o" -o "Middlewares/Third_Party/FreeRTOS/Source/croutine.o" "../Middlewares/Third_Party/FreeRTOS/Source/croutine.c"
-Finished building: ../Middlewares/Third_Party/FreeRTOS/Source/croutine.c
- 
-Building file: ../Middlewares/Third_Party/FreeRTOS/Source/event_groups.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/Source/event_groups.d" -MT"Middlewares/Third_Party/FreeRTOS/Source/event_groups.o" -o "Middlewares/Third_Party/FreeRTOS/Source/event_groups.o" "../Middlewares/Third_Party/FreeRTOS/Source/event_groups.c"
-Finished building: ../Middlewares/Third_Party/FreeRTOS/Source/event_groups.c
- 
-Building file: ../Middlewares/Third_Party/FreeRTOS/Source/list.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/Source/list.d" -MT"Middlewares/Third_Party/FreeRTOS/Source/list.o" -o "Middlewares/Third_Party/FreeRTOS/Source/list.o" "../Middlewares/Third_Party/FreeRTOS/Source/list.c"
-Finished building: ../Middlewares/Third_Party/FreeRTOS/Source/list.c
- 
-Building file: ../Middlewares/Third_Party/FreeRTOS/Source/queue.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/Source/queue.d" -MT"Middlewares/Third_Party/FreeRTOS/Source/queue.o" -o "Middlewares/Third_Party/FreeRTOS/Source/queue.o" "../Middlewares/Third_Party/FreeRTOS/Source/queue.c"
-Finished building: ../Middlewares/Third_Party/FreeRTOS/Source/queue.c
- 
-Building file: ../Middlewares/Third_Party/FreeRTOS/Source/tasks.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/Source/tasks.d" -MT"Middlewares/Third_Party/FreeRTOS/Source/tasks.o" -o "Middlewares/Third_Party/FreeRTOS/Source/tasks.o" "../Middlewares/Third_Party/FreeRTOS/Source/tasks.c"
-Finished building: ../Middlewares/Third_Party/FreeRTOS/Source/tasks.c
- 
-Building file: ../Middlewares/Third_Party/FreeRTOS/Source/timers.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/Source/timers.d" -MT"Middlewares/Third_Party/FreeRTOS/Source/timers.o" -o "Middlewares/Third_Party/FreeRTOS/Source/timers.o" "../Middlewares/Third_Party/FreeRTOS/Source/timers.c"
-Finished building: ../Middlewares/Third_Party/FreeRTOS/Source/timers.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.c
- 
-Building file: ../Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/gcc/startup_stm32f030x8.s
-Invoking: MCU GCC Assembler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-as -mcpu=cortex-m0 -mthumb -mfloat-abi=soft -g -o "Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/gcc/startup_stm32f030x8.o" "../Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/gcc/startup_stm32f030x8.s"
-Finished building: ../Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/gcc/startup_stm32f030x8.s
- 
-Building file: ../Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/system_stm32f0xx.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/system_stm32f0xx.d" -MT"Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/system_stm32f0xx.o" -o "Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/system_stm32f0xx.o" "../Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/system_stm32f0xx.c"
-Finished building: ../Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/system_stm32f0xx.c
- 
-Building target: Controle.elf
-Invoking: MCU GCC Linker
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft -specs=nosys.specs -specs=nano.specs -T"../STM32F030C8Tx_FLASH.ld" -Wl,-Map=output.map -Wl,--gc-sections -lm -o "Controle.elf" @"objects.list"  
-Finished building target: Controle.elf
- 
-make --no-print-directory post-build
-Generating binary and Printing size information:
-arm-none-eabi-objcopy -O binary "Controle.elf" "Controle.bin"
-arm-none-eabi-size "Controle.elf"
-   text	   data	    bss	    dec	    hex	filename
-   8732	     16	   5064	  13812	   35f4	Controle.elf
- 
-
-14:35:03 Build Finished (took 4s.684ms)
-

+ 0 - 200
soft/.metadata/.plugins/org.eclipse.cdt.ui/global-build.log

@@ -1,200 +0,0 @@
-14:34:58 **** Incremental Build of configuration Debug for project Controle ****
-make all 
-Building file: ../Src/freertos.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Src/freertos.d" -MT"Src/freertos.o" -o "Src/freertos.o" "../Src/freertos.c"
-Finished building: ../Src/freertos.c
- 
-Building file: ../Src/gpio.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Src/gpio.d" -MT"Src/gpio.o" -o "Src/gpio.o" "../Src/gpio.c"
-Finished building: ../Src/gpio.c
- 
-Building file: ../Src/main.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Src/main.d" -MT"Src/main.o" -o "Src/main.o" "../Src/main.c"
-Finished building: ../Src/main.c
- 
-Building file: ../Src/stm32f0xx_hal_msp.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Src/stm32f0xx_hal_msp.d" -MT"Src/stm32f0xx_hal_msp.o" -o "Src/stm32f0xx_hal_msp.o" "../Src/stm32f0xx_hal_msp.c"
-Finished building: ../Src/stm32f0xx_hal_msp.c
- 
-Building file: ../Src/stm32f0xx_hal_timebase_TIM.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Src/stm32f0xx_hal_timebase_TIM.d" -MT"Src/stm32f0xx_hal_timebase_TIM.o" -o "Src/stm32f0xx_hal_timebase_TIM.o" "../Src/stm32f0xx_hal_timebase_TIM.c"
-Finished building: ../Src/stm32f0xx_hal_timebase_TIM.c
- 
-Building file: ../Src/stm32f0xx_it.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Src/stm32f0xx_it.d" -MT"Src/stm32f0xx_it.o" -o "Src/stm32f0xx_it.o" "../Src/stm32f0xx_it.c"
-Finished building: ../Src/stm32f0xx_it.c
- 
-Building file: ../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.d" -MT"Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o" -o "Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o" "../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c"
-Finished building: ../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c
- 
-Building file: ../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.d" -MT"Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.o" -o "Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.o" "../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.c"
-Finished building: ../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.c
- 
-Building file: ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.d" -MT"Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o" -o "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.o" "../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.c"
-Finished building: ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.c
- 
-Building file: ../Middlewares/Third_Party/FreeRTOS/Source/croutine.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/Source/croutine.d" -MT"Middlewares/Third_Party/FreeRTOS/Source/croutine.o" -o "Middlewares/Third_Party/FreeRTOS/Source/croutine.o" "../Middlewares/Third_Party/FreeRTOS/Source/croutine.c"
-Finished building: ../Middlewares/Third_Party/FreeRTOS/Source/croutine.c
- 
-Building file: ../Middlewares/Third_Party/FreeRTOS/Source/event_groups.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/Source/event_groups.d" -MT"Middlewares/Third_Party/FreeRTOS/Source/event_groups.o" -o "Middlewares/Third_Party/FreeRTOS/Source/event_groups.o" "../Middlewares/Third_Party/FreeRTOS/Source/event_groups.c"
-Finished building: ../Middlewares/Third_Party/FreeRTOS/Source/event_groups.c
- 
-Building file: ../Middlewares/Third_Party/FreeRTOS/Source/list.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/Source/list.d" -MT"Middlewares/Third_Party/FreeRTOS/Source/list.o" -o "Middlewares/Third_Party/FreeRTOS/Source/list.o" "../Middlewares/Third_Party/FreeRTOS/Source/list.c"
-Finished building: ../Middlewares/Third_Party/FreeRTOS/Source/list.c
- 
-Building file: ../Middlewares/Third_Party/FreeRTOS/Source/queue.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/Source/queue.d" -MT"Middlewares/Third_Party/FreeRTOS/Source/queue.o" -o "Middlewares/Third_Party/FreeRTOS/Source/queue.o" "../Middlewares/Third_Party/FreeRTOS/Source/queue.c"
-Finished building: ../Middlewares/Third_Party/FreeRTOS/Source/queue.c
- 
-Building file: ../Middlewares/Third_Party/FreeRTOS/Source/tasks.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/Source/tasks.d" -MT"Middlewares/Third_Party/FreeRTOS/Source/tasks.o" -o "Middlewares/Third_Party/FreeRTOS/Source/tasks.o" "../Middlewares/Third_Party/FreeRTOS/Source/tasks.c"
-Finished building: ../Middlewares/Third_Party/FreeRTOS/Source/tasks.c
- 
-Building file: ../Middlewares/Third_Party/FreeRTOS/Source/timers.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/Source/timers.d" -MT"Middlewares/Third_Party/FreeRTOS/Source/timers.o" -o "Middlewares/Third_Party/FreeRTOS/Source/timers.o" "../Middlewares/Third_Party/FreeRTOS/Source/timers.c"
-Finished building: ../Middlewares/Third_Party/FreeRTOS/Source/timers.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.c
- 
-Building file: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.d" -MT"Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o" -o "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o" "../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.c"
-Finished building: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.c
- 
-Building file: ../Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/gcc/startup_stm32f030x8.s
-Invoking: MCU GCC Assembler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-as -mcpu=cortex-m0 -mthumb -mfloat-abi=soft -g -o "Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/gcc/startup_stm32f030x8.o" "../Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/gcc/startup_stm32f030x8.s"
-Finished building: ../Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/gcc/startup_stm32f030x8.s
- 
-Building file: ../Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/system_stm32f0xx.c
-Invoking: MCU GCC Compiler
-/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Debug
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft '-D__weak=__attribute__((weak))' '-D__packed="__attribute__((__packed__))"' -DUSE_HAL_DRIVER -DSTM32F030x8 -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Device/ST/STM32F0xx/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Drivers/CMSIS/Include" -I"/home/rcluze/Projet/Autres/rampesLeds/soft/Controle/Inc"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/system_stm32f0xx.d" -MT"Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/system_stm32f0xx.o" -o "Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/system_stm32f0xx.o" "../Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/system_stm32f0xx.c"
-Finished building: ../Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/system_stm32f0xx.c
- 
-Building target: Controle.elf
-Invoking: MCU GCC Linker
-arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft -specs=nosys.specs -specs=nano.specs -T"../STM32F030C8Tx_FLASH.ld" -Wl,-Map=output.map -Wl,--gc-sections -lm -o "Controle.elf" @"objects.list"  
-Finished building target: Controle.elf
- 
-make --no-print-directory post-build
-Generating binary and Printing size information:
-arm-none-eabi-objcopy -O binary "Controle.elf" "Controle.bin"
-arm-none-eabi-size "Controle.elf"
-   text	   data	    bss	    dec	    hex	filename
-   8732	     16	   5064	  13812	   35f4	Controle.elf
- 

+ 0 - 288
soft/.metadata/.plugins/org.eclipse.core.resources/.history/1/b04b7d087e3500171025a17b13aa5e23

@@ -1,288 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-#include "RTOS.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i);
-void allume(int i);
-void changeheure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		ancienheure = heure;
-		heure=lireRTOS();
-
-		ecrireEprom(heure);
-		heureChange(heure);
-		osDelay(3000);
-		osMutexRelease(m_tableHandle, 0);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					eteint(i);
-				else if (table[i] == 3)
-					allume(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 283
soft/.metadata/.plugins/org.eclipse.core.resources/.history/12/100926cf7d3500171025a17b13aa5e23

@@ -1,283 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-#include "RTOS.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i);
-void allume(int i);
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		heure=lireRTOS();
-		ecrireEprom(heure);
-		heureChange(heure);
-		osDelay(3000);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					eteint(i);
-				else if (table[i] == 3)
-					allume(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 215
soft/.metadata/.plugins/org.eclipse.core.resources/.history/17/605909ae7a3500171025a17b13aa5e23

@@ -1,215 +0,0 @@
-/**
- ******************************************************************************
- * File Name          : freertos.c
- * Description        : Code for freertos applications
- ******************************************************************************
- *
- * Copyright (c) 2017 STMicroelectronics International N.V. 
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without 
- * modification, are permitted, provided that the following conditions are met:
- *
- * 1. Redistribution 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 STMicroelectronics nor the names of other 
- *    contributors to this software may be used to endorse or promote products 
- *    derived from this software without specific written permission.
- * 4. This software, including modifications and/or derivative works of this 
- *    software, must execute solely and exclusively on microcontroller or
- *    microprocessor devices manufactured by or for STMicroelectronics.
- * 5. Redistribution and use of this software other than as permitted under 
- *    this license is void and will automatically terminate your rights under 
- *    this license. 
- *
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
- * SHALL STMICROELECTRONICS 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.
- *
- ******************************************************************************
- */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */
-
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId myMutex01Handle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-	/* USER CODE BEGIN Init */
-
-	/* USER CODE END Init */
-
-	/* Create the mutex(es) */
-	/* definition and creation of myMutex01 */
-	osMutexDef(myMutex01);
-	myMutex01Handle = osMutexCreate(osMutex(myMutex01));
-
-	/* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-	/* USER CODE END RTOS_MUTEX */
-
-	/* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-	/* USER CODE END RTOS_SEMAPHORES */
-
-	/* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-	/* USER CODE END RTOS_TIMERS */
-
-	/* Create the thread(s) */
-	/* definition and creation of MainTask */
-	osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-	MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-	/* definition and creation of Task20ms */
-	osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-	Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-	/* definition and creation of TaskXms */
-	osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-	TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-	/* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-	/* USER CODE END RTOS_THREADS */
-
-	/* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-	/* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument) {
-
-	/* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-		osDelay(1);
-	}
-	/* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument) {
-	/* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-
-	}
-	/* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument) {
-	/* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			if (table[i] == 2)
-				eteint(i);
-			else if (table[i] == 3)
-				allume(i);
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-	}
-	/* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-
-		break;
-	case 1:
-		break;
-	case 2:
-		break;
-	case 3:
-		break;
-	case 4:
-		break;
-	case 5:
-		break;
-	case 6:
-		break;
-	case 7:
-		break;
-	case 8:
-		break;
-	case 9:
-		break;
-	case 10:
-		break;
-	case 11:
-		break;
-	case 12:
-		break;
-
-}
-}
-
-void eteint(int i){
-
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 87
soft/.metadata/.plugins/org.eclipse.core.resources/.history/19/00862491823500171025a17b13aa5e23

@@ -1,87 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : stm32f0xx_hal_msp.c
-  * Description        : This file provides code for the MSP Initialization 
-  *                      and de-Initialization codes.
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-/* Includes ------------------------------------------------------------------*/
-#include "stm32f0xx_hal.h"
-
-extern void Error_Handler(void);
-/* USER CODE BEGIN 0 */
-
-/* USER CODE END 0 */
-/**
-  * Initializes the Global MSP.
-  */
-void HAL_MspInit(void)
-{
-  /* USER CODE BEGIN MspInit 0 */
-
-  /* USER CODE END MspInit 0 */
-
-  __HAL_RCC_SYSCFG_CLK_ENABLE();
-
-  /* System interrupt init*/
-  /* SVC_IRQn interrupt configuration */
-  HAL_NVIC_SetPriority(SVC_IRQn, 0, 0);
-  /* PendSV_IRQn interrupt configuration */
-  HAL_NVIC_SetPriority(PendSV_IRQn, 3, 0);
-  /* SysTick_IRQn interrupt configuration */
-  HAL_NVIC_SetPriority(SysTick_IRQn, 3, 0);
-
-  /* USER CODE BEGIN MspInit 1 */
-
-  /* USER CODE END MspInit 1 */
-}
-
-/* USER CODE BEGIN 1 */
-
-/* USER CODE END 1 */
-
-/**
-  * @}
-  */
-
-/**
-  * @}
-  */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 285
soft/.metadata/.plugins/org.eclipse.core.resources/.history/2/40b9acf97d3500171025a17b13aa5e23

@@ -1,285 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-#include "RTOS.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i);
-void allume(int i);
-void changeheure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		heure=lireRTOS();
-		ecrireEprom(heure);
-		heureChange(heure);
-		osDelay(3000);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					eteint(i);
-				else if (table[i] == 3)
-					allume(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 264
soft/.metadata/.plugins/org.eclipse.core.resources/.history/2/80a4c4bd7b3500171025a17b13aa5e23

@@ -1,264 +0,0 @@
-/**
- ******************************************************************************
- * File Name          : freertos.c
- * Description        : Code for freertos applications
- ******************************************************************************
- *
- * Copyright (c) 2017 STMicroelectronics International N.V.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted, provided that the following conditions are met:
- *
- * 1. Redistribution 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 STMicroelectronics nor the names of other
- *    contributors to this software may be used to endorse or promote products
- *    derived from this software without specific written permission.
- * 4. This software, including modifications and/or derivative works of this
- *    software, must execute solely and exclusively on microcontroller or
- *    microprocessor devices manufactured by or for STMicroelectronics.
- * 5. Redistribution and use of this software other than as permitted under
- *    this license is void and will automatically terminate your rights under
- *    this license.
- *
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT
- * SHALL STMICROELECTRONICS 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.
- *
- ******************************************************************************
- */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */
-#include "gpio.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId myMutex01Handle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i);
-void allume(int i);
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-	/* USER CODE BEGIN Init */
-
-	/* USER CODE END Init */
-
-	/* Create the mutex(es) */
-	/* definition and creation of myMutex01 */
-	osMutexDef(myMutex01);
-	myMutex01Handle = osMutexCreate(osMutex(myMutex01));
-
-	/* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-	/* USER CODE END RTOS_MUTEX */
-
-	/* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-	/* USER CODE END RTOS_SEMAPHORES */
-
-	/* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-	/* USER CODE END RTOS_TIMERS */
-
-	/* Create the thread(s) */
-	/* definition and creation of MainTask */
-	osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-	MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-	/* definition and creation of Task20ms */
-	osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-	Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-	/* definition and creation of TaskXms */
-	osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-	TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-	/* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-	/* USER CODE END RTOS_THREADS */
-
-	/* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-	/* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument) {
-
-	/* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-		osDelay(1);
-	}
-	/* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument) {
-	/* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(20);
-		}
-
-	}
-	/* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument) {
-	/* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			if (table[i] == 2)
-				eteint(i);
-			else if (table[i] == 3)
-				allume(i);
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-	}
-	/* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-		break;
-	default:
-		break;
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 229
soft/.metadata/.plugins/org.eclipse.core.resources/.history/22/c041518e823500171025a17b13aa5e23

@@ -1,229 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-#include "RTC.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i, int Etat);
-void allume(int i, int Etat);
-void PollHeure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		ancienheure = heure;
-		heure=lireRTOS();
-
-		ecrireEprom(heure);
-		if(PollHeure(heure, ancienheure)){
-			changeHeure(heure);
-		}
-		osDelay(3000);
-		osMutexRelease(m_tableHandle, 0);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			allume(table,1);
-			eteint(table,1);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			eteint(i,3);
-			allume(i,3);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i, int Etat){
-	if(Etat == 1){
-		if (table[0]==Etat)
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		if (table[1]==Etat)
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		if (table[2]==Etat)
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		if (table[3]==Etat)
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		if (table[4]==Etat)
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		if (table[5]==Etat)
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		if (table[6]==Etat)
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		if (table[7]==Etat)
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		if (table[8]==Etat)
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		if (table[9]==Etat)
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		if (table[10]==Etat)
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		if (table[11]==Etat)
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-	}
-}
-
-void eteint(int i){
-
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 153
soft/.metadata/.plugins/org.eclipse.core.resources/.history/29/80e30a91823500171025a17b13aa5e23

@@ -1,153 +0,0 @@
-/**
-  ******************************************************************************
-  * @file    stm32f0xx_hal_timebase_TIM.c 
-  * @brief   HAL time base based on the hardware TIM.
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "stm32f0xx_hal.h"
-#include "stm32f0xx_hal_tim.h"
-/** @addtogroup STM32F7xx_HAL_Examples
-  * @{
-  */
-
-/** @addtogroup HAL_TimeBase
-  * @{
-  */ 
-
-/* Private typedef -----------------------------------------------------------*/
-/* Private define ------------------------------------------------------------*/
-/* Private macro -------------------------------------------------------------*/
-/* Private variables ---------------------------------------------------------*/
-TIM_HandleTypeDef        htim1; 
-uint32_t                 uwIncrementState = 0;
-/* Private function prototypes -----------------------------------------------*/
-/* Private functions ---------------------------------------------------------*/
-
-/**
-  * @brief  This function configures the TIM1 as a time base source. 
-  *         The time source is configured  to have 1ms time base with a dedicated 
-  *         Tick interrupt priority. 
-  * @note   This function is called  automatically at the beginning of program after
-  *         reset by HAL_Init() or at any time when clock is configured, by HAL_RCC_ClockConfig(). 
-  * @param  TickPriority: Tick interrupt priorty.
-  * @retval HAL status
-  */
-HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority)
-{
-  RCC_ClkInitTypeDef    clkconfig;
-  uint32_t              uwTimclock = 0;
-  uint32_t              uwPrescalerValue = 0;
-  uint32_t              pFLatency;
-  
-  /*Configure the TIM1 IRQ priority */
-  HAL_NVIC_SetPriority(TIM1_BRK_UP_TRG_COM_IRQn, TickPriority ,0); 
-  
-  /* Enable the TIM1 global Interrupt */
-  HAL_NVIC_EnableIRQ(TIM1_BRK_UP_TRG_COM_IRQn); 
-  
-  /* Enable TIM1 clock */
-  __HAL_RCC_TIM1_CLK_ENABLE();
-  
-  /* Get clock configuration */
-  HAL_RCC_GetClockConfig(&clkconfig, &pFLatency);
-  
-  /* Compute TIM1 clock */
-  uwTimclock = HAL_RCC_GetPCLK1Freq();
-   
-  /* Compute the prescaler value to have TIM1 counter clock equal to 1MHz */
-  uwPrescalerValue = (uint32_t) ((uwTimclock / 1000000) - 1);
-  
-  /* Initialize TIM1 */
-  htim1.Instance = TIM1;
-  
-  /* Initialize TIMx peripheral as follow:
-  + Period = [(TIM1CLK/1000) - 1]. to have a (1/1000) s time base.
-  + Prescaler = (uwTimclock/1000000 - 1) to have a 1MHz counter clock.
-  + ClockDivision = 0
-  + Counter direction = Up
-  */
-  htim1.Init.Period = (1000000 / 1000) - 1;
-  htim1.Init.Prescaler = uwPrescalerValue;
-  htim1.Init.ClockDivision = 0;
-  htim1.Init.CounterMode = TIM_COUNTERMODE_UP;
-  if(HAL_TIM_Base_Init(&htim1) == HAL_OK)
-  {
-    /* Start the TIM time Base generation in interrupt mode */
-    return HAL_TIM_Base_Start_IT(&htim1);
-  }
-  
-  /* Return function status */
-  return HAL_ERROR;
-}
-
-/**
-  * @brief  Suspend Tick increment.
-  * @note   Disable the tick increment by disabling TIM1 update interrupt.
-  * @param  None
-  * @retval None
-  */
-void HAL_SuspendTick(void)
-{
-  /* Disable TIM1 update Interrupt */
-  __HAL_TIM_DISABLE_IT(&htim1, TIM_IT_UPDATE);                                                  
-}
-
-/**
-  * @brief  Resume Tick increment.
-  * @note   Enable the tick increment by Enabling TIM1 update interrupt.
-  * @param  None
-  * @retval None
-  */
-void HAL_ResumeTick(void)
-{
-  /* Enable TIM1 Update interrupt */
-  __HAL_TIM_ENABLE_IT(&htim1, TIM_IT_UPDATE);
-}
-
-/**
-  * @}
-  */ 
-
-/**
-  * @}
-  */ 
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 162
soft/.metadata/.plugins/org.eclipse.core.resources/.history/2e/700191d4783500171025a17b13aa5e23

@@ -1,162 +0,0 @@
-/**
- ******************************************************************************
- * File Name          : freertos.c
- * Description        : Code for freertos applications
- ******************************************************************************
- *
- * Copyright (c) 2017 STMicroelectronics International N.V. 
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without 
- * modification, are permitted, provided that the following conditions are met:
- *
- * 1. Redistribution 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 STMicroelectronics nor the names of other 
- *    contributors to this software may be used to endorse or promote products 
- *    derived from this software without specific written permission.
- * 4. This software, including modifications and/or derivative works of this 
- *    software, must execute solely and exclusively on microcontroller or
- *    microprocessor devices manufactured by or for STMicroelectronics.
- * 5. Redistribution and use of this software other than as permitted under 
- *    this license is void and will automatically terminate your rights under 
- *    this license. 
- *
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
- * SHALL STMICROELECTRONICS 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.
- *
- ******************************************************************************
- */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */
-
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId myMutex01Handle;
-
-/* USER CODE BEGIN Variables */
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-	/* USER CODE BEGIN Init */
-
-	/* USER CODE END Init */
-
-	/* Create the mutex(es) */
-	/* definition and creation of myMutex01 */
-	osMutexDef(myMutex01);
-	myMutex01Handle = osMutexCreate(osMutex(myMutex01));
-
-	/* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-	/* USER CODE END RTOS_MUTEX */
-
-	/* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-	/* USER CODE END RTOS_SEMAPHORES */
-
-	/* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-	/* USER CODE END RTOS_TIMERS */
-
-	/* Create the thread(s) */
-	/* definition and creation of MainTask */
-	osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-	MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-	/* definition and creation of Task20ms */
-	osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-	Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-	/* definition and creation of TaskXms */
-	osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-	TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-	/* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-	/* USER CODE END RTOS_THREADS */
-
-	/* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-	/* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument) {
-
-	/* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-		osDelay(1);
-	}
-	/* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument) {
-	/* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		osMutexWait(myMutex01Handle, 0);
-
-		osMutexWait(myMutex01Handle, 0);
-		osDelay(1);
-	}
-	/* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument) {
-	/* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;)
-
-	{
-		osDelay(1);
-	}
-	/* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 275
soft/.metadata/.plugins/org.eclipse.core.resources/.history/39/d06788d67c3500171025a17b13aa5e23

@@ -1,275 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i);
-void allume(int i);
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-		osDelay(1);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					eteint(i);
-				else if (table[i] == 3)
-					allume(i);
-			}
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 282
soft/.metadata/.plugins/org.eclipse.core.resources/.history/3b/10a5ea98803500171025a17b13aa5e23

@@ -1,282 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-#include "RTC.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i);
-void allume(int i);
-void PollHeure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		ancienheure = heure;
-		heure=lireRTOS();
-
-		ecrireEprom(heure);
-		if(PollHeure(heure, ancienheure)){
-			changeHeure(heure);
-		}
-		osDelay(3000);
-		osMutexRelease(m_tableHandle, 0);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			allume(table,1);
-			eteint(table,1);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			eteint(i,3);
-			allume(i,3);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i, int Etat){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 225
soft/.metadata/.plugins/org.eclipse.core.resources/.history/3d/70c949837b3500171025a17b13aa5e23

@@ -1,225 +0,0 @@
-/**
- ******************************************************************************
- * File Name          : freertos.c
- * Description        : Code for freertos applications
- ******************************************************************************
- *
- * Copyright (c) 2017 STMicroelectronics International N.V.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted, provided that the following conditions are met:
- *
- * 1. Redistribution 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 STMicroelectronics nor the names of other
- *    contributors to this software may be used to endorse or promote products
- *    derived from this software without specific written permission.
- * 4. This software, including modifications and/or derivative works of this
- *    software, must execute solely and exclusively on microcontroller or
- *    microprocessor devices manufactured by or for STMicroelectronics.
- * 5. Redistribution and use of this software other than as permitted under
- *    this license is void and will automatically terminate your rights under
- *    this license.
- *
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT
- * SHALL STMICROELECTRONICS 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.
- *
- ******************************************************************************
- */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */
-#include "gpio.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId myMutex01Handle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-	/* USER CODE BEGIN Init */
-
-	/* USER CODE END Init */
-
-	/* Create the mutex(es) */
-	/* definition and creation of myMutex01 */
-	osMutexDef(myMutex01);
-	myMutex01Handle = osMutexCreate(osMutex(myMutex01));
-
-	/* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-	/* USER CODE END RTOS_MUTEX */
-
-	/* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-	/* USER CODE END RTOS_SEMAPHORES */
-
-	/* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-	/* USER CODE END RTOS_TIMERS */
-
-	/* Create the thread(s) */
-	/* definition and creation of MainTask */
-	osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-	MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-	/* definition and creation of Task20ms */
-	osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-	Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-	/* definition and creation of TaskXms */
-	osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-	TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-	/* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-	/* USER CODE END RTOS_THREADS */
-
-	/* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-	/* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument) {
-
-	/* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-		osDelay(1);
-	}
-	/* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument) {
-	/* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-
-	}
-	/* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument) {
-	/* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			if (table[i] == 2)
-				eteint(i);
-			else if (table[i] == 3)
-				allume(i);
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-	}
-	/* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 290
soft/.metadata/.plugins/org.eclipse.core.resources/.history/3f/e0e190387e3500171025a17b13aa5e23

@@ -1,290 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-#include "RTOS.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i);
-void allume(int i);
-void changeheure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		ancienheure = heure;
-		heure=lireRTOS();
-
-		ecrireEprom(heure);
-		if(changementHeure(heure, ancienheure)){
-			changeHeure(heure);
-		}
-		osDelay(3000);
-		osMutexRelease(m_tableHandle, 0);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					eteint(i);
-				else if (table[i] == 3)
-					allume(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 251
soft/.metadata/.plugins/org.eclipse.core.resources/.history/41/d0a622a2823500171025a17b13aa5e23

@@ -1,251 +0,0 @@
-/**
- ******************************************************************************
- * File Name          : freertos.c
- * Description        : Code for freertos applications
- ******************************************************************************
- *
- * Copyright (c) 2017 STMicroelectronics International N.V. 
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without 
- * modification, are permitted, provided that the following conditions are met:
- *
- * 1. Redistribution 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 STMicroelectronics nor the names of other 
- *    contributors to this software may be used to endorse or promote products 
- *    derived from this software without specific written permission.
- * 4. This software, including modifications and/or derivative works of this 
- *    software, must execute solely and exclusively on microcontroller or
- *    microprocessor devices manufactured by or for STMicroelectronics.
- * 5. Redistribution and use of this software other than as permitted under 
- *    this license is void and will automatically terminate your rights under 
- *    this license. 
- *
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
- * SHALL STMICROELECTRONICS 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.
- *
- ******************************************************************************
- */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */
-#include "gpio.h"
-#include "RTC.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12]; //tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i, int Etat);
-void allume(int i, int Etat);
-void PollHeure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-	/* USER CODE BEGIN Init */
-
-	/* USER CODE END Init */
-
-	/* Create the mutex(es) */
-	/* definition and creation of m_table */
-	osMutexDef(m_table);
-	m_tableHandle = osMutexCreate(osMutex(m_table));
-
-	/* definition and creation of m_change */
-	osMutexDef(m_change);
-	m_changeHandle = osMutexCreate(osMutex(m_change));
-
-	/* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-	/* USER CODE END RTOS_MUTEX */
-
-	/* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-	/* USER CODE END RTOS_SEMAPHORES */
-
-	/* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-	/* USER CODE END RTOS_TIMERS */
-
-	/* Create the thread(s) */
-	/* definition and creation of MainTask */
-	osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-	MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-	/* definition and creation of Task20ms */
-	osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-	Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-	/* definition and creation of TaskXms */
-	osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-	TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-	/* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-	/* USER CODE END RTOS_THREADS */
-
-	/* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-	/* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument) {
-
-	/* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		ancienheure = heure;
-		heure = lireRTOS();
-
-		ecrireEprom(heure);
-		if (PollHeure(heure, ancienheure)) {
-			changeHeure(heure);
-		}
-		osDelay(3000);
-		osMutexRelease(m_tableHandle, 0);
-	}
-	/* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument) {
-	/* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			allume(table, 1);
-			eteint(table, 1);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-	/* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument) {
-	/* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			eteint(i, 3);
-			allume(i, 3);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-	/* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i, int Etat) {
-	if (Etat == 1) {
-		if (table[0] == Etat)
-			HAL_GPIO_WritePin(S1_GPIO_Port, S1_Pin, GPIO_PIN_SET);
-		if (table[1] == Etat)
-			HAL_GPIO_WritePin(S2_GPIO_Port, S2_Pin, GPIO_PIN_SET);
-		if (table[2] == Etat)
-			HAL_GPIO_WritePin(S3_GPIO_Port, S3_Pin, GPIO_PIN_SET);
-		if (table[3] == Etat)
-			HAL_GPIO_WritePin(S4_GPIO_Port, S4_Pin, GPIO_PIN_SET);
-		if (table[4] == Etat)
-			HAL_GPIO_WritePin(S5_GPIO_Port, S5_Pin, GPIO_PIN_SET);
-		if (table[5] == Etat)
-			HAL_GPIO_WritePin(S6_GPIO_Port, S6_Pin, GPIO_PIN_SET);
-		if (table[6] == Etat)
-			HAL_GPIO_WritePin(S7_GPIO_Port, S7_Pin, GPIO_PIN_SET);
-		if (table[7] == Etat)
-			HAL_GPIO_WritePin(S8_GPIO_Port, S8_Pin, GPIO_PIN_SET);
-		if (table[8] == Etat)
-			HAL_GPIO_WritePin(S9_GPIO_Port, S9_Pin, GPIO_PIN_SET);
-		if (table[9] == Etat)
-			HAL_GPIO_WritePin(S10_GPIO_Port, S10_Pin, GPIO_PIN_SET);
-		if (table[10] == Etat)
-			HAL_GPIO_WritePin(S11_GPIO_Port, S11_Pin, GPIO_PIN_SET);
-		if (table[11] == Etat)
-			HAL_GPIO_WritePin(S12_GPIO_Port, S12_Pin, GPIO_PIN_SET);
-	}
-}
-
-void eteint(int i, int Etat) {
-if(Etat == 1) {
-	if (table[0]==Etat)
-	HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-	if (table[1]==Etat)
-	HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-	if (table[2]==Etat)
-	HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-	if (table[3]==Etat)
-	HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-	if (table[4]==Etat)
-	HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-	if (table[5]==Etat)
-	HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-	if (table[6]==Etat)
-	HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-	if (table[7]==Etat)
-	HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-	if (table[8]==Etat)
-	HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-	if (table[9]==Etat)
-	HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-	if (table[10]==Etat)
-	HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-	if (table[11]==Etat)
-	HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 87
soft/.metadata/.plugins/org.eclipse.core.resources/.history/4b/d0f0bebb783500171025a17b13aa5e23

@@ -1,87 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : stm32f0xx_hal_msp.c
-  * Description        : This file provides code for the MSP Initialization 
-  *                      and de-Initialization codes.
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-/* Includes ------------------------------------------------------------------*/
-#include "stm32f0xx_hal.h"
-
-extern void Error_Handler(void);
-/* USER CODE BEGIN 0 */
-
-/* USER CODE END 0 */
-/**
-  * Initializes the Global MSP.
-  */
-void HAL_MspInit(void)
-{
-  /* USER CODE BEGIN MspInit 0 */
-
-  /* USER CODE END MspInit 0 */
-
-  __HAL_RCC_SYSCFG_CLK_ENABLE();
-
-  /* System interrupt init*/
-  /* SVC_IRQn interrupt configuration */
-  HAL_NVIC_SetPriority(SVC_IRQn, 0, 0);
-  /* PendSV_IRQn interrupt configuration */
-  HAL_NVIC_SetPriority(PendSV_IRQn, 3, 0);
-  /* SysTick_IRQn interrupt configuration */
-  HAL_NVIC_SetPriority(SysTick_IRQn, 3, 0);
-
-  /* USER CODE BEGIN MspInit 1 */
-
-  /* USER CODE END MspInit 1 */
-}
-
-/* USER CODE BEGIN 1 */
-
-/* USER CODE END 1 */
-
-/**
-  * @}
-  */
-
-/**
-  * @}
-  */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 276
soft/.metadata/.plugins/org.eclipse.core.resources/.history/4f/f02b6ef37c3500171025a17b13aa5e23

@@ -1,276 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i);
-void allume(int i);
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-
-		osDelay(3000);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					eteint(i);
-				else if (table[i] == 3)
-					allume(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 251
soft/.metadata/.plugins/org.eclipse.core.resources/.history/5/505edca6823500171025a17b13aa5e23

@@ -1,251 +0,0 @@
-/**
- ******************************************************************************
- * File Name          : freertos.c
- * Description        : Code for freertos applications
- ******************************************************************************
- *
- * Copyright (c) 2017 STMicroelectronics International N.V. 
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without 
- * modification, are permitted, provided that the following conditions are met:
- *
- * 1. Redistribution 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 STMicroelectronics nor the names of other 
- *    contributors to this software may be used to endorse or promote products 
- *    derived from this software without specific written permission.
- * 4. This software, including modifications and/or derivative works of this 
- *    software, must execute solely and exclusively on microcontroller or
- *    microprocessor devices manufactured by or for STMicroelectronics.
- * 5. Redistribution and use of this software other than as permitted under 
- *    this license is void and will automatically terminate your rights under 
- *    this license. 
- *
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
- * SHALL STMICROELECTRONICS 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.
- *
- ******************************************************************************
- */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */
-#include "gpio.h"
-#include "RTC.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12]; //tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i, int Etat);
-void allume(int i, int Etat);
-void PollHeure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-	/* USER CODE BEGIN Init */
-
-	/* USER CODE END Init */
-
-	/* Create the mutex(es) */
-	/* definition and creation of m_table */
-	osMutexDef(m_table);
-	m_tableHandle = osMutexCreate(osMutex(m_table));
-
-	/* definition and creation of m_change */
-	osMutexDef(m_change);
-	m_changeHandle = osMutexCreate(osMutex(m_change));
-
-	/* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-	/* USER CODE END RTOS_MUTEX */
-
-	/* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-	/* USER CODE END RTOS_SEMAPHORES */
-
-	/* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-	/* USER CODE END RTOS_TIMERS */
-
-	/* Create the thread(s) */
-	/* definition and creation of MainTask */
-	osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-	MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-	/* definition and creation of Task20ms */
-	osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-	Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-	/* definition and creation of TaskXms */
-	osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-	TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-	/* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-	/* USER CODE END RTOS_THREADS */
-
-	/* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-	/* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument) {
-
-	/* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		ancienheure = heure;
-		heure = lireRTOS();
-
-		ecrireEprom(heure);
-		if (PollHeure(heure, ancienheure)) {
-			changeHeure(heure);
-		}
-		osDelay(3000);
-		osMutexRelease(m_tableHandle, 0);
-	}
-	/* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument) {
-	/* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			allume(table, 1);
-			eteint(table, 1);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-	/* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument) {
-	/* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			eteint(i, 3);
-			allume(i, 3);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-	/* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i, int Etat) {
-	if (Etat == 1) {
-		if (table[0] == Etat)
-			HAL_GPIO_WritePin(S1_GPIO_Port, S1_Pin, GPIO_PIN_SET);
-		if (table[1] == Etat)
-			HAL_GPIO_WritePin(S2_GPIO_Port, S2_Pin, GPIO_PIN_SET);
-		if (table[2] == Etat)
-			HAL_GPIO_WritePin(S3_GPIO_Port, S3_Pin, GPIO_PIN_SET);
-		if (table[3] == Etat)
-			HAL_GPIO_WritePin(S4_GPIO_Port, S4_Pin, GPIO_PIN_SET);
-		if (table[4] == Etat)
-			HAL_GPIO_WritePin(S5_GPIO_Port, S5_Pin, GPIO_PIN_SET);
-		if (table[5] == Etat)
-			HAL_GPIO_WritePin(S6_GPIO_Port, S6_Pin, GPIO_PIN_SET);
-		if (table[6] == Etat)
-			HAL_GPIO_WritePin(S7_GPIO_Port, S7_Pin, GPIO_PIN_SET);
-		if (table[7] == Etat)
-			HAL_GPIO_WritePin(S8_GPIO_Port, S8_Pin, GPIO_PIN_SET);
-		if (table[8] == Etat)
-			HAL_GPIO_WritePin(S9_GPIO_Port, S9_Pin, GPIO_PIN_SET);
-		if (table[9] == Etat)
-			HAL_GPIO_WritePin(S10_GPIO_Port, S10_Pin, GPIO_PIN_SET);
-		if (table[10] == Etat)
-			HAL_GPIO_WritePin(S11_GPIO_Port, S11_Pin, GPIO_PIN_SET);
-		if (table[11] == Etat)
-			HAL_GPIO_WritePin(S12_GPIO_Port, S12_Pin, GPIO_PIN_SET);
-	}
-}
-
-void eteint(int i, int Etat) {
-if(Etat == 1) {
-	if (table[0]==Etat)
-	HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-	if (table[1]==Etat)
-	HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-	if (table[2]==Etat)
-	HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-	if (table[3]==Etat)
-	HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-	if (table[4]==Etat)
-	HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-	if (table[5]==Etat)
-	HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-	if (table[6]==Etat)
-	HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-	if (table[7]==Etat)
-	HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-	if (table[8]==Etat)
-	HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-	if (table[9]==Etat)
-	HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-	if (table[10]==Etat)
-	HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-	if (table[11]==Etat)
-	HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 153
soft/.metadata/.plugins/org.eclipse.core.resources/.history/53/d086a6bb783500171025a17b13aa5e23

@@ -1,153 +0,0 @@
-/**
-  ******************************************************************************
-  * @file    stm32f0xx_hal_timebase_TIM.c 
-  * @brief   HAL time base based on the hardware TIM.
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "stm32f0xx_hal.h"
-#include "stm32f0xx_hal_tim.h"
-/** @addtogroup STM32F7xx_HAL_Examples
-  * @{
-  */
-
-/** @addtogroup HAL_TimeBase
-  * @{
-  */ 
-
-/* Private typedef -----------------------------------------------------------*/
-/* Private define ------------------------------------------------------------*/
-/* Private macro -------------------------------------------------------------*/
-/* Private variables ---------------------------------------------------------*/
-TIM_HandleTypeDef        htim1; 
-uint32_t                 uwIncrementState = 0;
-/* Private function prototypes -----------------------------------------------*/
-/* Private functions ---------------------------------------------------------*/
-
-/**
-  * @brief  This function configures the TIM1 as a time base source. 
-  *         The time source is configured  to have 1ms time base with a dedicated 
-  *         Tick interrupt priority. 
-  * @note   This function is called  automatically at the beginning of program after
-  *         reset by HAL_Init() or at any time when clock is configured, by HAL_RCC_ClockConfig(). 
-  * @param  TickPriority: Tick interrupt priorty.
-  * @retval HAL status
-  */
-HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority)
-{
-  RCC_ClkInitTypeDef    clkconfig;
-  uint32_t              uwTimclock = 0;
-  uint32_t              uwPrescalerValue = 0;
-  uint32_t              pFLatency;
-  
-  /*Configure the TIM1 IRQ priority */
-  HAL_NVIC_SetPriority(TIM1_BRK_UP_TRG_COM_IRQn, TickPriority ,0); 
-  
-  /* Enable the TIM1 global Interrupt */
-  HAL_NVIC_EnableIRQ(TIM1_BRK_UP_TRG_COM_IRQn); 
-  
-  /* Enable TIM1 clock */
-  __HAL_RCC_TIM1_CLK_ENABLE();
-  
-  /* Get clock configuration */
-  HAL_RCC_GetClockConfig(&clkconfig, &pFLatency);
-  
-  /* Compute TIM1 clock */
-  uwTimclock = HAL_RCC_GetPCLK1Freq();
-   
-  /* Compute the prescaler value to have TIM1 counter clock equal to 1MHz */
-  uwPrescalerValue = (uint32_t) ((uwTimclock / 1000000) - 1);
-  
-  /* Initialize TIM1 */
-  htim1.Instance = TIM1;
-  
-  /* Initialize TIMx peripheral as follow:
-  + Period = [(TIM1CLK/1000) - 1]. to have a (1/1000) s time base.
-  + Prescaler = (uwTimclock/1000000 - 1) to have a 1MHz counter clock.
-  + ClockDivision = 0
-  + Counter direction = Up
-  */
-  htim1.Init.Period = (1000000 / 1000) - 1;
-  htim1.Init.Prescaler = uwPrescalerValue;
-  htim1.Init.ClockDivision = 0;
-  htim1.Init.CounterMode = TIM_COUNTERMODE_UP;
-  if(HAL_TIM_Base_Init(&htim1) == HAL_OK)
-  {
-    /* Start the TIM time Base generation in interrupt mode */
-    return HAL_TIM_Base_Start_IT(&htim1);
-  }
-  
-  /* Return function status */
-  return HAL_ERROR;
-}
-
-/**
-  * @brief  Suspend Tick increment.
-  * @note   Disable the tick increment by disabling TIM1 update interrupt.
-  * @param  None
-  * @retval None
-  */
-void HAL_SuspendTick(void)
-{
-  /* Disable TIM1 update Interrupt */
-  __HAL_TIM_DISABLE_IT(&htim1, TIM_IT_UPDATE);                                                  
-}
-
-/**
-  * @brief  Resume Tick increment.
-  * @note   Enable the tick increment by Enabling TIM1 update interrupt.
-  * @param  None
-  * @retval None
-  */
-void HAL_ResumeTick(void)
-{
-  /* Enable TIM1 Update interrupt */
-  __HAL_TIM_ENABLE_IT(&htim1, TIM_IT_UPDATE);
-}
-
-/**
-  * @}
-  */ 
-
-/**
-  * @}
-  */ 
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 233
soft/.metadata/.plugins/org.eclipse.core.resources/.history/55/804f1363823500171025a17b13aa5e23

@@ -1,233 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-#include "RTC.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i, int Etat);
-void allume(int i, int Etat);
-void PollHeure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		ancienheure = heure;
-		heure=lireRTOS();
-
-		ecrireEprom(heure);
-		if(PollHeure(heure, ancienheure)){
-			changeHeure(heure);
-		}
-		osDelay(3000);
-		osMutexRelease(m_tableHandle, 0);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			allume(table,1);
-			eteint(table,1);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			eteint(i,3);
-			allume(i,3);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i, int Etat){
-	if(Etat == 1){
-		if (table[0]==1)
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		if (table[1]==1)
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		if (table[2]==1)
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		if (table[3]==1)
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		if (table[4]==1)
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		if (table[5]==1)
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		if (table[6]==1)
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		if (table[7]==1)
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		if (table[8]==1)
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		if (table[9]==1)
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		if (table[10]==1)
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		if (table[11]==1)
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-	}
-	else if (Etat == 3){
-
-	}
-
-}
-
-void eteint(int i){
-
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 288
soft/.metadata/.plugins/org.eclipse.core.resources/.history/5b/90ff1b267e3500171025a17b13aa5e23

@@ -1,288 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-#include "RTOS.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i);
-void allume(int i);
-void changeheure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		ancienheure = heure;
-		heure=lireRTOS();
-
-		ecrireEprom(heure);
-		heureChange(heure, ancienheure);
-		osDelay(3000);
-		osMutexRelease(m_tableHandle, 0);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					eteint(i);
-				else if (table[i] == 3)
-					allume(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 118
soft/.metadata/.plugins/org.eclipse.core.resources/.history/5f/30192091823500171025a17b13aa5e23

@@ -1,118 +0,0 @@
-/**
-  ******************************************************************************
-  * @file    stm32f0xx_it.c
-  * @brief   Interrupt Service Routines.
-  ******************************************************************************
-  *
-  * COPYRIGHT(c) 2017 STMicroelectronics
-  *
-  * 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 STMicroelectronics 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.
-  *
-  ******************************************************************************
-  */
-/* Includes ------------------------------------------------------------------*/
-#include "stm32f0xx_hal.h"
-#include "stm32f0xx.h"
-#include "stm32f0xx_it.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN 0 */
-
-/* USER CODE END 0 */
-
-/* External variables --------------------------------------------------------*/
-
-extern TIM_HandleTypeDef htim1;
-
-/******************************************************************************/
-/*            Cortex-M0 Processor Interruption and Exception Handlers         */ 
-/******************************************************************************/
-
-/**
-* @brief This function handles Non maskable interrupt.
-*/
-void NMI_Handler(void)
-{
-  /* USER CODE BEGIN NonMaskableInt_IRQn 0 */
-
-  /* USER CODE END NonMaskableInt_IRQn 0 */
-  /* USER CODE BEGIN NonMaskableInt_IRQn 1 */
-
-  /* USER CODE END NonMaskableInt_IRQn 1 */
-}
-
-/**
-* @brief This function handles Hard fault interrupt.
-*/
-void HardFault_Handler(void)
-{
-  /* USER CODE BEGIN HardFault_IRQn 0 */
-
-  /* USER CODE END HardFault_IRQn 0 */
-  while (1)
-  {
-  }
-  /* USER CODE BEGIN HardFault_IRQn 1 */
-
-  /* USER CODE END HardFault_IRQn 1 */
-}
-
-/**
-* @brief This function handles System tick timer.
-*/
-void SysTick_Handler(void)
-{
-  /* USER CODE BEGIN SysTick_IRQn 0 */
-
-  /* USER CODE END SysTick_IRQn 0 */
-  osSystickHandler();
-  /* USER CODE BEGIN SysTick_IRQn 1 */
-
-  /* USER CODE END SysTick_IRQn 1 */
-}
-
-/******************************************************************************/
-/* STM32F0xx Peripheral Interrupt Handlers                                    */
-/* Add here the Interrupt Handlers for the used peripherals.                  */
-/* For the available peripheral interrupt handler names,                      */
-/* please refer to the startup file (startup_stm32f0xx.s).                    */
-/******************************************************************************/
-
-/**
-* @brief This function handles TIM1 break, update, trigger and commutation interrupts.
-*/
-void TIM1_BRK_UP_TRG_COM_IRQHandler(void)
-{
-  /* USER CODE BEGIN TIM1_BRK_UP_TRG_COM_IRQn 0 */
-
-  /* USER CODE END TIM1_BRK_UP_TRG_COM_IRQn 0 */
-  HAL_TIM_IRQHandler(&htim1);
-  /* USER CODE BEGIN TIM1_BRK_UP_TRG_COM_IRQn 1 */
-
-  /* USER CODE END TIM1_BRK_UP_TRG_COM_IRQn 1 */
-}
-
-/* USER CODE BEGIN 1 */
-
-/* USER CODE END 1 */
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 251
soft/.metadata/.plugins/org.eclipse.core.resources/.history/6/20ca06b9823500171025a17b13aa5e23

@@ -1,251 +0,0 @@
-/**
- ******************************************************************************
- * File Name          : freertos.c
- * Description        : Code for freertos applications
- ******************************************************************************
- *
- * Copyright (c) 2017 STMicroelectronics International N.V. 
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without 
- * modification, are permitted, provided that the following conditions are met:
- *
- * 1. Redistribution 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 STMicroelectronics nor the names of other 
- *    contributors to this software may be used to endorse or promote products 
- *    derived from this software without specific written permission.
- * 4. This software, including modifications and/or derivative works of this 
- *    software, must execute solely and exclusively on microcontroller or
- *    microprocessor devices manufactured by or for STMicroelectronics.
- * 5. Redistribution and use of this software other than as permitted under 
- *    this license is void and will automatically terminate your rights under 
- *    this license. 
- *
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
- * SHALL STMICROELECTRONICS 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.
- *
- ******************************************************************************
- */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */
-#include "gpio.h"
-#include "RTC.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12]; //tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i, int Etat);
-void allume(int i, int Etat);
-void PollHeure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-	/* USER CODE BEGIN Init */
-
-	/* USER CODE END Init */
-
-	/* Create the mutex(es) */
-	/* definition and creation of m_table */
-	osMutexDef(m_table);
-	m_tableHandle = osMutexCreate(osMutex(m_table));
-
-	/* definition and creation of m_change */
-	osMutexDef(m_change);
-	m_changeHandle = osMutexCreate(osMutex(m_change));
-
-	/* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-	/* USER CODE END RTOS_MUTEX */
-
-	/* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-	/* USER CODE END RTOS_SEMAPHORES */
-
-	/* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-	/* USER CODE END RTOS_TIMERS */
-
-	/* Create the thread(s) */
-	/* definition and creation of MainTask */
-	osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-	MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-	/* definition and creation of Task20ms */
-	osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-	Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-	/* definition and creation of TaskXms */
-	osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-	TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-	/* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-	/* USER CODE END RTOS_THREADS */
-
-	/* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-	/* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument) {
-
-	/* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		ancienheure = heure;
-		heure = lireRTOS();
-
-		ecrireEprom(heure);
-		if (PollHeure(heure, ancienheure)) {
-			changeHeure(heure);
-		}
-		osDelay(3000);
-		osMutexRelease(m_tableHandle, 0);
-	}
-	/* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument) {
-	/* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			allume(table, 1);
-			eteint(table, 1);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-	/* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument) {
-	/* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			eteint(i, 3);
-			allume(i, 3);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-	/* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i, int Etat) {
-	if (Etat == 1) {
-		if (table[0] == Etat)
-			HAL_GPIO_WritePin(S1_GPIO_Port, S1_Pin, GPIO_PIN_SET);
-		if (table[1] == Etat)
-			HAL_GPIO_WritePin(S2_GPIO_Port, S2_Pin, GPIO_PIN_SET);
-		if (table[2] == Etat)
-			HAL_GPIO_WritePin(S3_GPIO_Port, S3_Pin, GPIO_PIN_SET);
-		if (table[3] == Etat)
-			HAL_GPIO_WritePin(S4_GPIO_Port, S4_Pin, GPIO_PIN_SET);
-		if (table[4] == Etat)
-			HAL_GPIO_WritePin(S5_GPIO_Port, S5_Pin, GPIO_PIN_SET);
-		if (table[5] == Etat)
-			HAL_GPIO_WritePin(S6_GPIO_Port, S6_Pin, GPIO_PIN_SET);
-		if (table[6] == Etat)
-			HAL_GPIO_WritePin(S7_GPIO_Port, S7_Pin, GPIO_PIN_SET);
-		if (table[7] == Etat)
-			HAL_GPIO_WritePin(S8_GPIO_Port, S8_Pin, GPIO_PIN_SET);
-		if (table[8] == Etat)
-			HAL_GPIO_WritePin(S9_GPIO_Port, S9_Pin, GPIO_PIN_SET);
-		if (table[9] == Etat)
-			HAL_GPIO_WritePin(S10_GPIO_Port, S10_Pin, GPIO_PIN_SET);
-		if (table[10] == Etat)
-			HAL_GPIO_WritePin(S11_GPIO_Port, S11_Pin, GPIO_PIN_SET);
-		if (table[11] == Etat)
-			HAL_GPIO_WritePin(S12_GPIO_Port, S12_Pin, GPIO_PIN_SET);
-	}
-}
-
-void eteint(int i, int Etat) {
-	if (Etat == 1) {
-		if (table[0] == Etat)
-			HAL_GPIO_WritePin(S1_GPIO_Port, S1_Pin, GPIO_PIN_RESET);
-		if (table[1] == Etat)
-			HAL_GPIO_WritePin(S2_GPIO_Port, S2_Pin, GPIO_PIN_RESET);
-		if (table[2] == Etat)
-			HAL_GPIO_WritePin(S3_GPIO_Port, S3_Pin, GPIO_PIN_RESET);
-		if (table[3] == Etat)
-			HAL_GPIO_WritePin(S4_GPIO_Port, S4_Pin, GPIO_PIN_RESET);
-		if (table[4] == Etat)
-			HAL_GPIO_WritePin(S5_GPIO_Port, S5_Pin, GPIO_PIN_RESET);
-		if (table[5] == Etat)
-			HAL_GPIO_WritePin(S6_GPIO_Port, S6_Pin, GPIO_PIN_RESET);
-		if (table[6] == Etat)
-			HAL_GPIO_WritePin(S7_GPIO_Port, S7_Pin, GPIO_PIN_RESET);
-		if (table[7] == Etat)
-			HAL_GPIO_WritePin(S8_GPIO_Port, S8_Pin, GPIO_PIN_RESET);
-		if (table[8] == Etat)
-			HAL_GPIO_WritePin(S9_GPIO_Port, S9_Pin, GPIO_PIN_RESET);
-		if (table[9] == Etat)
-			HAL_GPIO_WritePin(S10_GPIO_Port, S10_Pin, GPIO_PIN_RESET);
-		if (table[10] == Etat)
-			HAL_GPIO_WritePin(S11_GPIO_Port, S11_Pin, GPIO_PIN_RESET);
-		if (table[11] == Etat)
-			HAL_GPIO_WritePin(S12_GPIO_Port, S12_Pin, GPIO_PIN_RESET);
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 178
soft/.metadata/.plugins/org.eclipse.core.resources/.history/64/7075099c793500171025a17b13aa5e23

@@ -1,178 +0,0 @@
-/**
- ******************************************************************************
- * File Name          : freertos.c
- * Description        : Code for freertos applications
- ******************************************************************************
- *
- * Copyright (c) 2017 STMicroelectronics International N.V. 
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without 
- * modification, are permitted, provided that the following conditions are met:
- *
- * 1. Redistribution 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 STMicroelectronics nor the names of other 
- *    contributors to this software may be used to endorse or promote products 
- *    derived from this software without specific written permission.
- * 4. This software, including modifications and/or derivative works of this 
- *    software, must execute solely and exclusively on microcontroller or
- *    microprocessor devices manufactured by or for STMicroelectronics.
- * 5. Redistribution and use of this software other than as permitted under 
- *    this license is void and will automatically terminate your rights under 
- *    this license. 
- *
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
- * SHALL STMICROELECTRONICS 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.
- *
- ******************************************************************************
- */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */
-
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId myMutex01Handle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-	/* USER CODE BEGIN Init */
-
-	/* USER CODE END Init */
-
-	/* Create the mutex(es) */
-	/* definition and creation of myMutex01 */
-	osMutexDef(myMutex01);
-	myMutex01Handle = osMutexCreate(osMutex(myMutex01));
-
-	/* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-	/* USER CODE END RTOS_MUTEX */
-
-	/* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-	/* USER CODE END RTOS_SEMAPHORES */
-
-	/* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-	/* USER CODE END RTOS_TIMERS */
-
-	/* Create the thread(s) */
-	/* definition and creation of MainTask */
-	osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-	MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-	/* definition and creation of Task20ms */
-	osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-	Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-	/* definition and creation of TaskXms */
-	osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-	TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-	/* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-	/* USER CODE END RTOS_THREADS */
-
-	/* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-	/* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument) {
-
-	/* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-		osDelay(1);
-	}
-	/* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument) {
-	/* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-
-	}
-	/* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument) {
-	/* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			osMutexWait(myMutex01Handle, 0);
-			if (table[i] == 2)
-				eteint(i);
-			else if (table[i] == 3)
-				allume(i);
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-	}
-	/* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 218
soft/.metadata/.plugins/org.eclipse.core.resources/.history/69/10a256f47a3500171025a17b13aa5e23

@@ -1,218 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId myMutex01Handle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of myMutex01 */
-  osMutexDef(myMutex01);
-  myMutex01Handle = osMutexCreate(osMutex(myMutex01));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-		osDelay(1);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			if (table[i] == 2)
-				eteint(i);
-			else if (table[i] == 3)
-				allume(i);
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		GPIO_
-		break;
-	case 1:
-		break;
-	case 2:
-		break;
-	case 3:
-		break;
-	case 4:
-		break;
-	case 5:
-		break;
-	case 6:
-		break;
-	case 7:
-		break;
-	case 8:
-		break;
-	case 9:
-		break;
-	case 10:
-		break;
-	case 11:
-		break;
-	case 12:
-		break;
-
-}
-}
-
-void eteint(int i){
-
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 268
soft/.metadata/.plugins/org.eclipse.core.resources/.history/69/e0f8d38f7c3500171025a17b13aa5e23

@@ -1,268 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId myMutex01Handle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i);
-void allume(int i);
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of myMutex01 */
-  osMutexDef(myMutex01);
-  myMutex01Handle = osMutexCreate(osMutex(myMutex01));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-		osDelay(1);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			if (table[i] == 2)
-				eteint(i);
-			else if (table[i] == 3)
-				allume(i);
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 0
soft/.metadata/.plugins/org.eclipse.core.resources/.history/72/809d2dfa873500171025a17b13aa5e23


+ 0 - 290
soft/.metadata/.plugins/org.eclipse.core.resources/.history/72/b04a8e5c7e3500171025a17b13aa5e23

@@ -1,290 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-#include "RTOS.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i);
-void allume(int i);
-void changementHeure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		ancienheure = heure;
-		heure=lireRTOS();
-
-		ecrireEprom(heure);
-		if(changementHeure(heure, ancienheure)){
-			changeHeure(heure);
-		}
-		osDelay(3000);
-		osMutexRelease(m_tableHandle, 0);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					eteint(i);
-				else if (table[i] == 3)
-					allume(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 229
soft/.metadata/.plugins/org.eclipse.core.resources/.history/75/0031b3bb783500171025a17b13aa5e23

@@ -1,229 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : main.c
-  * Description        : Main program body
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-/* Includes ------------------------------------------------------------------*/
-#include "main.h"
-#include "stm32f0xx_hal.h"
-#include "cmsis_os.h"
-#include "gpio.h"
-
-/* USER CODE BEGIN Includes */
-
-/* USER CODE END Includes */
-
-/* Private variables ---------------------------------------------------------*/
-
-/* USER CODE BEGIN PV */
-/* Private variables ---------------------------------------------------------*/
-
-/* USER CODE END PV */
-
-/* Private function prototypes -----------------------------------------------*/
-void SystemClock_Config(void);
-void Error_Handler(void);
-void MX_FREERTOS_Init(void);
-
-/* USER CODE BEGIN PFP */
-/* Private function prototypes -----------------------------------------------*/
-
-/* USER CODE END PFP */
-
-/* USER CODE BEGIN 0 */
-
-/* USER CODE END 0 */
-
-int main(void)
-{
-
-  /* USER CODE BEGIN 1 */
-
-  /* USER CODE END 1 */
-
-  /* MCU Configuration----------------------------------------------------------*/
-
-  /* Reset of all peripherals, Initializes the Flash interface and the Systick. */
-  HAL_Init();
-
-  /* Configure the system clock */
-  SystemClock_Config();
-
-  /* Initialize all configured peripherals */
-  MX_GPIO_Init();
-
-  /* USER CODE BEGIN 2 */
-
-  /* USER CODE END 2 */
-
-  /* Call init function for freertos objects (in freertos.c) */
-  MX_FREERTOS_Init();
-
-  /* Start scheduler */
-  osKernelStart();
-  
-  /* We should never get here as control is now taken by the scheduler */
-
-  /* Infinite loop */
-  /* USER CODE BEGIN WHILE */
-  while (1)
-  {
-  /* USER CODE END WHILE */
-
-  /* USER CODE BEGIN 3 */
-
-  }
-  /* USER CODE END 3 */
-
-}
-
-/** System Clock Configuration
-*/
-void SystemClock_Config(void)
-{
-
-  RCC_OscInitTypeDef RCC_OscInitStruct;
-  RCC_ClkInitTypeDef RCC_ClkInitStruct;
-
-    /**Initializes the CPU, AHB and APB busses clocks 
-    */
-  RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
-  RCC_OscInitStruct.HSIState = RCC_HSI_ON;
-  RCC_OscInitStruct.HSICalibrationValue = 16;
-  RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE;
-  if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
-  {
-    Error_Handler();
-  }
-
-    /**Initializes the CPU, AHB and APB busses clocks 
-    */
-  RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
-                              |RCC_CLOCKTYPE_PCLK1;
-  RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_HSI;
-  RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
-  RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1;
-
-  if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_0) != HAL_OK)
-  {
-    Error_Handler();
-  }
-
-    /**Configure the Systick interrupt time 
-    */
-  HAL_SYSTICK_Config(HAL_RCC_GetHCLKFreq()/1000);
-
-    /**Configure the Systick 
-    */
-  HAL_SYSTICK_CLKSourceConfig(SYSTICK_CLKSOURCE_HCLK);
-
-  /* SysTick_IRQn interrupt configuration */
-  HAL_NVIC_SetPriority(SysTick_IRQn, 3, 0);
-}
-
-/* USER CODE BEGIN 4 */
-
-/* USER CODE END 4 */
-
-/**
-  * @brief  Period elapsed callback in non blocking mode
-  * @note   This function is called  when TIM1 interrupt took place, inside
-  * HAL_TIM_IRQHandler(). It makes a direct call to HAL_IncTick() to increment
-  * a global variable "uwTick" used as application time base.
-  * @param  htim : TIM handle
-  * @retval None
-  */
-void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim)
-{
-/* USER CODE BEGIN Callback 0 */
-
-/* USER CODE END Callback 0 */
-  if (htim->Instance == TIM1) {
-    HAL_IncTick();
-  }
-/* USER CODE BEGIN Callback 1 */
-
-/* USER CODE END Callback 1 */
-}
-
-/**
-  * @brief  This function is executed in case of error occurrence.
-  * @param  None
-  * @retval None
-  */
-void Error_Handler(void)
-{
-  /* USER CODE BEGIN Error_Handler */
-  /* User can add his own implementation to report the HAL error return state */
-  while(1) 
-  {
-  }
-  /* USER CODE END Error_Handler */ 
-}
-
-#ifdef USE_FULL_ASSERT
-
-/**
-   * @brief Reports the name of the source file and the source line number
-   * where the assert_param error has occurred.
-   * @param file: pointer to the source file name
-   * @param line: assert_param error line source number
-   * @retval None
-   */
-void assert_failed(uint8_t* file, uint32_t line)
-{
-  /* USER CODE BEGIN 6 */
-  /* User can add his own implementation to report the file name and line number,
-    ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
-  /* USER CODE END 6 */
-
-}
-
-#endif
-
-/**
-  * @}
-  */ 
-
-/**
-  * @}
-*/ 
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 290
soft/.metadata/.plugins/org.eclipse.core.resources/.history/75/10b2cb46803500171025a17b13aa5e23

@@ -1,290 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-#include "RTOS.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i);
-void allume(int i);
-void changementHeure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		ancienheure = heure;
-		heure=lireRTOS();
-
-		ecrireEprom(heure);
-		if(changementHeure(heure, ancienheure)){
-			changeHeure(heure);
-		}
-		osDelay(3000);
-		osMutexRelease(m_tableHandle, 0);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 1)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 1)
-					eteint(i);
-				else if (table[i] == 3)
-					allume(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 275
soft/.metadata/.plugins/org.eclipse.core.resources/.history/77/f08b94ea7c3500171025a17b13aa5e23

@@ -1,275 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i);
-void allume(int i);
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-		osDelay(1);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					eteint(i);
-				else if (table[i] == 3)
-					allume(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(1);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 253
soft/.metadata/.plugins/org.eclipse.core.resources/.history/7a/40f40291823500171025a17b13aa5e23

@@ -1,253 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-#include "RTC.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i, int Etat);
-void allume(int i, int Etat);
-void PollHeure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		ancienheure = heure;
-		heure=lireRTOS();
-
-		ecrireEprom(heure);
-		if(PollHeure(heure, ancienheure)){
-			changeHeure(heure);
-		}
-		osDelay(3000);
-		osMutexRelease(m_tableHandle, 0);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			allume(table,1);
-			eteint(table,1);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			eteint(i,3);
-			allume(i,3);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i, int Etat){
-	if(Etat == 1){
-		if (table[0]==Etat)
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		if (table[1]==Etat)
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		if (table[2]==Etat)
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		if (table[3]==Etat)
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		if (table[4]==Etat)
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		if (table[5]==Etat)
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		if (table[6]==Etat)
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		if (table[7]==Etat)
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		if (table[8]==Etat)
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		if (table[9]==Etat)
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		if (table[10]==Etat)
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		if (table[11]==Etat)
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-	}
-}
-
-void eteint(int i, int Etat){
-		if(Etat == 1){
-			if (table[0]==Etat)
-				HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-			if (table[1]==Etat)
-				HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-			if (table[2]==Etat)
-				HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-			if (table[3]==Etat)
-				HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-			if (table[4]==Etat)
-				HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-			if (table[5]==Etat)
-				HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-			if (table[6]==Etat)
-				HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-			if (table[7]==Etat)
-				HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-			if (table[8]==Etat)
-				HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-			if (table[9]==Etat)
-				HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-			if (table[10]==Etat)
-				HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-			if (table[11]==Etat)
-				HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 163
soft/.metadata/.plugins/org.eclipse.core.resources/.history/8/00c09848773500171025a17b13aa5e23

@@ -1,163 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId myMutex01Handle;
-
-/* USER CODE BEGIN Variables */
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-       
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of myMutex01 */
-  osMutexDef(myMutex01);
-  myMutex01Handle = osMutexCreate(osMutex(myMutex01));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-  /* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-  /* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-  /* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-  /* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-  /* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-  /* Infinite loop */
-  for(;;)
-  {
-    osDelay(1);
-  }
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-  /* Infinite loop */
-  for(;;)
-  {
-    osDelay(1);
-  }
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-  /* Infinite loop */
-  for(;;)
-  {
-    osDelay(1);
-  }
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-     
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 170
soft/.metadata/.plugins/org.eclipse.core.resources/.history/80/90ef1b7c793500171025a17b13aa5e23

@@ -1,170 +0,0 @@
-/**
- ******************************************************************************
- * File Name          : freertos.c
- * Description        : Code for freertos applications
- ******************************************************************************
- *
- * Copyright (c) 2017 STMicroelectronics International N.V. 
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without 
- * modification, are permitted, provided that the following conditions are met:
- *
- * 1. Redistribution 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 STMicroelectronics nor the names of other 
- *    contributors to this software may be used to endorse or promote products 
- *    derived from this software without specific written permission.
- * 4. This software, including modifications and/or derivative works of this 
- *    software, must execute solely and exclusively on microcontroller or
- *    microprocessor devices manufactured by or for STMicroelectronics.
- * 5. Redistribution and use of this software other than as permitted under 
- *    this license is void and will automatically terminate your rights under 
- *    this license. 
- *
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
- * SHALL STMICROELECTRONICS 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.
- *
- ******************************************************************************
- */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */
-
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId myMutex01Handle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-	/* USER CODE BEGIN Init */
-
-	/* USER CODE END Init */
-
-	/* Create the mutex(es) */
-	/* definition and creation of myMutex01 */
-	osMutexDef(myMutex01);
-	myMutex01Handle = osMutexCreate(osMutex(myMutex01));
-
-	/* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-	/* USER CODE END RTOS_MUTEX */
-
-	/* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-	/* USER CODE END RTOS_SEMAPHORES */
-
-	/* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-	/* USER CODE END RTOS_TIMERS */
-
-	/* Create the thread(s) */
-	/* definition and creation of MainTask */
-	osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-	MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-	/* definition and creation of Task20ms */
-	osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-	Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-	/* definition and creation of TaskXms */
-	osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-	TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-	/* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-	/* USER CODE END RTOS_THREADS */
-
-	/* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-	/* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument) {
-
-	/* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-		osDelay(1);
-	}
-	/* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument) {
-	/* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (change){
-		osMutexWait(myMutex01Handle, 0);
-
-		osMutexWait(myMutex01Handle, 0);
-		osDelay(1);
-		}
-
-	}
-	/* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument) {
-	/* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;){
-		if (change){
-		osMutexWait(myMutex01Handle, 0);
-
-		osMutexWait(myMutex01Handle, 0);
-		osDelay(1);
-		}
-	}
-	/* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 282
soft/.metadata/.plugins/org.eclipse.core.resources/.history/81/b0921a8b803500171025a17b13aa5e23

@@ -1,282 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-#include "RTC.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i);
-void allume(int i);
-void PollHeure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		ancienheure = heure;
-		heure=lireRTOS();
-
-		ecrireEprom(heure);
-		if(PollHeure(heure, ancienheure)){
-			changeHeure(heure);
-		}
-		osDelay(3000);
-		osMutexRelease(m_tableHandle, 0);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			allume(table,1);
-			eteint(table,1);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			eteint(i,3);
-			allume(i,3);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 250
soft/.metadata/.plugins/org.eclipse.core.resources/.history/83/8097cf95823500171025a17b13aa5e23

@@ -1,250 +0,0 @@
-/**
- ******************************************************************************
- * File Name          : freertos.c
- * Description        : Code for freertos applications
- ******************************************************************************
- *
- * Copyright (c) 2017 STMicroelectronics International N.V. 
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without 
- * modification, are permitted, provided that the following conditions are met:
- *
- * 1. Redistribution 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 STMicroelectronics nor the names of other 
- *    contributors to this software may be used to endorse or promote products 
- *    derived from this software without specific written permission.
- * 4. This software, including modifications and/or derivative works of this 
- *    software, must execute solely and exclusively on microcontroller or
- *    microprocessor devices manufactured by or for STMicroelectronics.
- * 5. Redistribution and use of this software other than as permitted under 
- *    this license is void and will automatically terminate your rights under 
- *    this license. 
- *
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
- * SHALL STMICROELECTRONICS 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.
- *
- ******************************************************************************
- */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */
-#include "gpio.h"
-#include "RTC.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12]; //tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i, int Etat);
-void allume(int i, int Etat);
-void PollHeure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-	/* USER CODE BEGIN Init */
-
-	/* USER CODE END Init */
-
-	/* Create the mutex(es) */
-	/* definition and creation of m_table */
-	osMutexDef(m_table);
-	m_tableHandle = osMutexCreate(osMutex(m_table));
-
-	/* definition and creation of m_change */
-	osMutexDef(m_change);
-	m_changeHandle = osMutexCreate(osMutex(m_change));
-
-	/* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-	/* USER CODE END RTOS_MUTEX */
-
-	/* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-	/* USER CODE END RTOS_SEMAPHORES */
-
-	/* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-	/* USER CODE END RTOS_TIMERS */
-
-	/* Create the thread(s) */
-	/* definition and creation of MainTask */
-	osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-	MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-	/* definition and creation of Task20ms */
-	osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-	Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-	/* definition and creation of TaskXms */
-	osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-	TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-	/* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-	/* USER CODE END RTOS_THREADS */
-
-	/* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-	/* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument) {
-
-	/* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		ancienheure = heure;
-		heure = lireRTOS();
-
-		ecrireEprom(heure);
-		if (PollHeure(heure, ancienheure)) {
-			changeHeure(heure);
-		}
-		osDelay(3000);
-		osMutexRelease(m_tableHandle, 0);
-	}
-	/* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument) {
-	/* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			allume(table, 1);
-			eteint(table, 1);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-	/* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument) {
-	/* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			eteint(i, 3);
-			allume(i, 3);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-	/* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i, int Etat) {
-	if (Etat == 1) {
-		if (table[0] == Etat)
-			HAL_GPIO_WritePin(S1_GPIO_Port, S1_Pin, GPIO_PIN_SET);
-		if (table[1] == Etat)
-			HAL_GPIO_WritePin(S2_GPIO_Port, S2_Pin, GPIO_PIN_SET);
-		if (table[2] == Etat)
-			HAL_GPIO_WritePin(S3_GPIO_Port, S3_Pin, GPIO_PIN_SET);
-		if (table[3] == Etat)
-			HAL_GPIO_WritePin(S4_GPIO_Port, S4_Pin, GPIO_PIN_SET);
-		if (table[4] == Etat)
-			HAL_GPIO_WritePin(S5_GPIO_Port, S5_Pin, GPIO_PIN_SET);
-		if (table[5] == Etat)
-			HAL_GPIO_WritePin(S6_GPIO_Port, S6_Pin, GPIO_PIN_SET);
-		if (table[6] == Etat)
-			HAL_GPIO_WritePin(S7_GPIO_Port, S7_Pin, GPIO_PIN_SET);
-		if (table[7] == Etat)
-			HAL_GPIO_WritePin(S8_GPIO_Port, S8_Pin, GPIO_PIN_SET);
-		if (table[8] == Etat)
-			HAL_GPIO_WritePin(S9_GPIO_Port, S9_Pin, GPIO_PIN_SET);
-		if (table[9] == Etat)
-			HAL_GPIO_WritePin(S10_GPIO_Port, S10_Pin, GPIO_PIN_SET);
-		if (table[10] == Etat)
-			HAL_GPIO_WritePin(S11_GPIO_Port, S11_Pin, GPIO_PIN_SET);
-		if (table[11] == Etat)
-			HAL_GPIO_WritePin(S12_GPIO_Port, S12_Pin, GPIO_PIN_SET);
-	}
-}
-
-void eteint(int i, int Etat) {
-if(Etat == 1) {
-	if (table[0]==Etat)
-	HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-	if (table[1]==Etat)
-	HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-	if (table[2]==Etat)
-	HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-	if (table[3]==Etat)
-	HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-	if (table[4]==Etat)
-	HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-	if (table[5]==Etat)
-	HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-	if (table[6]==Etat)
-	HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-	if (table[7]==Etat)
-	HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-	if (table[8]==Etat)
-	HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-	if (table[9]==Etat)
-	HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-	if (table[10]==Etat)
-	HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-	if (table[11]==Etat)
-	HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 123
soft/.metadata/.plugins/org.eclipse.core.resources/.history/84/d0f91291823500171025a17b13aa5e23

@@ -1,123 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : gpio.c
-  * Description        : This file provides code for the configuration
-  *                      of all used GPIO pins.
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "gpio.h"
-/* USER CODE BEGIN 0 */
-
-/* USER CODE END 0 */
-
-/*----------------------------------------------------------------------------*/
-/* Configure GPIO                                                             */
-/*----------------------------------------------------------------------------*/
-/* USER CODE BEGIN 1 */
-
-/* USER CODE END 1 */
-
-/** Configure pins as 
-        * Analog 
-        * Input 
-        * Output
-        * EVENT_OUT
-        * EXTI
-*/
-void MX_GPIO_Init(void)
-{
-
-  GPIO_InitTypeDef GPIO_InitStruct;
-
-  /* GPIO Ports Clock Enable */
-  __HAL_RCC_GPIOC_CLK_ENABLE();
-  __HAL_RCC_GPIOF_CLK_ENABLE();
-  __HAL_RCC_GPIOA_CLK_ENABLE();
-  __HAL_RCC_GPIOB_CLK_ENABLE();
-
-  /*Configure GPIO pin Output Level */
-  HAL_GPIO_WritePin(GPIOC, S8_Pin|S9_Pin|S10_Pin, GPIO_PIN_RESET);
-
-  /*Configure GPIO pin Output Level */
-  HAL_GPIO_WritePin(GPIOF, S11_Pin|S12_Pin, GPIO_PIN_RESET);
-
-  /*Configure GPIO pin Output Level */
-  HAL_GPIO_WritePin(GPIOB, S1_Pin|S2_Pin|S3_Pin|S4_Pin 
-                          |S5_Pin|S6_Pin|S7_Pin, GPIO_PIN_RESET);
-
-  /*Configure GPIO pins : PCPin PCPin PCPin */
-  GPIO_InitStruct.Pin = S8_Pin|S9_Pin|S10_Pin;
-  GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
-  GPIO_InitStruct.Pull = GPIO_NOPULL;
-  GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
-  HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
-
-  /*Configure GPIO pins : PFPin PFPin */
-  GPIO_InitStruct.Pin = S11_Pin|S12_Pin;
-  GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
-  GPIO_InitStruct.Pull = GPIO_NOPULL;
-  GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
-  HAL_GPIO_Init(GPIOF, &GPIO_InitStruct);
-
-  /*Configure GPIO pins : PBPin PBPin PBPin PBPin 
-                           PBPin PBPin PBPin */
-  GPIO_InitStruct.Pin = S1_Pin|S2_Pin|S3_Pin|S4_Pin 
-                          |S5_Pin|S6_Pin|S7_Pin;
-  GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
-  GPIO_InitStruct.Pull = GPIO_NOPULL;
-  GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
-  HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
-
-}
-
-/* USER CODE BEGIN 2 */
-
-/* USER CODE END 2 */
-
-/**
-  * @}
-  */
-
-/**
-  * @}
-  */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 282
soft/.metadata/.plugins/org.eclipse.core.resources/.history/91/80ffb6c5803500171025a17b13aa5e23

@@ -1,282 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-#include "RTC.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i, int Etat);
-void allume(int i, int Etat);
-void PollHeure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		ancienheure = heure;
-		heure=lireRTOS();
-
-		ecrireEprom(heure);
-		if(PollHeure(heure, ancienheure)){
-			changeHeure(heure);
-		}
-		osDelay(3000);
-		osMutexRelease(m_tableHandle, 0);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			allume(table,1);
-			eteint(table,1);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			eteint(i,3);
-			allume(i,3);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i, int Etat){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 277
soft/.metadata/.plugins/org.eclipse.core.resources/.history/94/806829117d3500171025a17b13aa5e23

@@ -1,277 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i);
-void allume(int i);
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-
-		osDelay(3000);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					eteint(i);
-				else if (table[i] == 3)
-					allume(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 284
soft/.metadata/.plugins/org.eclipse.core.resources/.history/97/d045bbe8813500171025a17b13aa5e23

@@ -1,284 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-#include "RTC.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i, int Etat);
-void allume(int i, int Etat);
-void PollHeure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		ancienheure = heure;
-		heure=lireRTOS();
-
-		ecrireEprom(heure);
-		if(PollHeure(heure, ancienheure)){
-			changeHeure(heure);
-		}
-		osDelay(3000);
-		osMutexRelease(m_tableHandle, 0);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			allume(table,1);
-			eteint(table,1);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			eteint(i,3);
-			allume(i,3);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i, int Etat){
-	if(Etat == 1 || Etat == 2){
-		switch(i){
-			case 0:
-				HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-				break;
-			case 1:
-				HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-				break;
-			case 2:
-				HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-				break;
-			case 3:
-				HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-				break;
-			case 4:
-				HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-				break;
-			case 5:
-				HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-				break;
-			case 6:
-				HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-				break;
-			case 7:
-				HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-				break;
-			case 8:
-				HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-				break;
-			case 9:
-				HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-				break;
-			case 10:
-				HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-				break;
-			case 11:
-				HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-				break;
-			default:
-				break;
-		}
-	}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 215
soft/.metadata/.plugins/org.eclipse.core.resources/.history/99/307c99f9793500171025a17b13aa5e23

@@ -1,215 +0,0 @@
-/**
- ******************************************************************************
- * File Name          : freertos.c
- * Description        : Code for freertos applications
- ******************************************************************************
- *
- * Copyright (c) 2017 STMicroelectronics International N.V. 
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without 
- * modification, are permitted, provided that the following conditions are met:
- *
- * 1. Redistribution 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 STMicroelectronics nor the names of other 
- *    contributors to this software may be used to endorse or promote products 
- *    derived from this software without specific written permission.
- * 4. This software, including modifications and/or derivative works of this 
- *    software, must execute solely and exclusively on microcontroller or
- *    microprocessor devices manufactured by or for STMicroelectronics.
- * 5. Redistribution and use of this software other than as permitted under 
- *    this license is void and will automatically terminate your rights under 
- *    this license. 
- *
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
- * SHALL STMICROELECTRONICS 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.
- *
- ******************************************************************************
- */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */
-
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId myMutex01Handle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-	/* USER CODE BEGIN Init */
-
-	/* USER CODE END Init */
-
-	/* Create the mutex(es) */
-	/* definition and creation of myMutex01 */
-	osMutexDef(myMutex01);
-	myMutex01Handle = osMutexCreate(osMutex(myMutex01));
-
-	/* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-	/* USER CODE END RTOS_MUTEX */
-
-	/* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-	/* USER CODE END RTOS_SEMAPHORES */
-
-	/* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-	/* USER CODE END RTOS_TIMERS */
-
-	/* Create the thread(s) */
-	/* definition and creation of MainTask */
-	osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-	MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-	/* definition and creation of Task20ms */
-	osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-	Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-	/* definition and creation of TaskXms */
-	osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-	TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-	/* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-	/* USER CODE END RTOS_THREADS */
-
-	/* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-	/* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument) {
-
-	/* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-		osDelay(1);
-	}
-	/* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument) {
-	/* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-
-	}
-	/* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument) {
-	/* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			if (table[i] == 2)
-				eteint(i);
-			else if (table[i] == 3)
-				allume(i);
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-	}
-	/* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-
-		break;
-	case 1:
-		break;
-	case 2:
-		break;
-	case 3:
-		break;
-	case 4:
-		break;
-	case 5:
-		break;
-	case 6:
-		break;
-	case 7:
-		break;
-	case 8:
-		break;
-	case 9:
-		break;
-	case 10:
-		break;
-	case 11:
-		break;
-	case 12:
-		break;
-
-}
-}
-
-void eteint(int i){
-
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 227
soft/.metadata/.plugins/org.eclipse.core.resources/.history/9f/00c21a91823500171025a17b13aa5e23

@@ -1,227 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : main.c
-  * Description        : Main program body
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-/* Includes ------------------------------------------------------------------*/
-#include "main.h"
-#include "stm32f0xx_hal.h"
-#include "cmsis_os.h"
-#include "gpio.h"
-
-/* USER CODE BEGIN Includes */
-
-/* USER CODE END Includes */
-
-/* Private variables ---------------------------------------------------------*/
-
-/* USER CODE BEGIN PV */
-/* Private variables ---------------------------------------------------------*/
-
-/* USER CODE END PV */
-
-/* Private function prototypes -----------------------------------------------*/
-void SystemClock_Config(void);
-void Error_Handler(void);
-void MX_FREERTOS_Init(void);
-
-/* USER CODE BEGIN PFP */
-/* Private function prototypes -----------------------------------------------*/
-
-/* USER CODE END PFP */
-
-/* USER CODE BEGIN 0 */
-
-/* USER CODE END 0 */
-
-int main(void)
-{
-
-  /* USER CODE BEGIN 1 */
-
-  /* USER CODE END 1 */
-
-  /* MCU Configuration----------------------------------------------------------*/
-
-  /* Reset of all peripherals, Initializes the Flash interface and the Systick. */
-  HAL_Init();
-
-  /* Configure the system clock */
-  SystemClock_Config();
-
-  /* Initialize all configured peripherals */
-  MX_GPIO_Init();
-
-  /* USER CODE BEGIN 2 */
-
-  /* USER CODE END 2 */
-
-  /* Call init function for freertos objects (in freertos.c) */
-  MX_FREERTOS_Init();
-
-  /* Start scheduler */
-  osKernelStart();
-  
-  /* We should never get here as control is now taken by the scheduler */
-
-  /* Infinite loop */
-  /* USER CODE BEGIN WHILE */
-	while (1) {
-  /* USER CODE END WHILE */
-
-  /* USER CODE BEGIN 3 */
-
-	}
-  /* USER CODE END 3 */
-
-}
-
-/** System Clock Configuration
-*/
-void SystemClock_Config(void)
-{
-
-  RCC_OscInitTypeDef RCC_OscInitStruct;
-  RCC_ClkInitTypeDef RCC_ClkInitStruct;
-
-    /**Initializes the CPU, AHB and APB busses clocks 
-    */
-  RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
-  RCC_OscInitStruct.HSIState = RCC_HSI_ON;
-  RCC_OscInitStruct.HSICalibrationValue = 16;
-  RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE;
-  if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
-  {
-    Error_Handler();
-  }
-
-    /**Initializes the CPU, AHB and APB busses clocks 
-    */
-  RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
-                              |RCC_CLOCKTYPE_PCLK1;
-  RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_HSI;
-  RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
-  RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1;
-
-  if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_0) != HAL_OK)
-  {
-    Error_Handler();
-  }
-
-    /**Configure the Systick interrupt time 
-    */
-  HAL_SYSTICK_Config(HAL_RCC_GetHCLKFreq()/1000);
-
-    /**Configure the Systick 
-    */
-  HAL_SYSTICK_CLKSourceConfig(SYSTICK_CLKSOURCE_HCLK);
-
-  /* SysTick_IRQn interrupt configuration */
-  HAL_NVIC_SetPriority(SysTick_IRQn, 3, 0);
-}
-
-/* USER CODE BEGIN 4 */
-
-/* USER CODE END 4 */
-
-/**
-  * @brief  Period elapsed callback in non blocking mode
-  * @note   This function is called  when TIM1 interrupt took place, inside
-  * HAL_TIM_IRQHandler(). It makes a direct call to HAL_IncTick() to increment
-  * a global variable "uwTick" used as application time base.
-  * @param  htim : TIM handle
-  * @retval None
-  */
-void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim)
-{
-/* USER CODE BEGIN Callback 0 */
-
-/* USER CODE END Callback 0 */
-  if (htim->Instance == TIM1) {
-    HAL_IncTick();
-  }
-/* USER CODE BEGIN Callback 1 */
-
-/* USER CODE END Callback 1 */
-}
-
-/**
-  * @brief  This function is executed in case of error occurrence.
-  * @param  None
-  * @retval None
-  */
-void Error_Handler(void)
-{
-  /* USER CODE BEGIN Error_Handler */
-	/* User can add his own implementation to report the HAL error return state */
-	while (1) {
-	}
-  /* USER CODE END Error_Handler */ 
-}
-
-#ifdef USE_FULL_ASSERT
-
-/**
-   * @brief Reports the name of the source file and the source line number
-   * where the assert_param error has occurred.
-   * @param file: pointer to the source file name
-   * @param line: assert_param error line source number
-   * @retval None
-   */
-void assert_failed(uint8_t* file, uint32_t line)
-{
-  /* USER CODE BEGIN 6 */
-	/* User can add his own implementation to report the file name and line number,
-	 ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
-  /* USER CODE END 6 */
-
-}
-
-#endif
-
-/**
-  * @}
-  */ 
-
-/**
-  * @}
-*/ 
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 282
soft/.metadata/.plugins/org.eclipse.core.resources/.history/a2/e0674182803500171025a17b13aa5e23

@@ -1,282 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-#include "RTC.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i);
-void allume(int i);
-void PollHeure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		ancienheure = heure;
-		heure=lireRTOS();
-
-		ecrireEprom(heure);
-		if(PollHeure(heure, ancienheure)){
-			changeHeure(heure);
-		}
-		osDelay(3000);
-		osMutexRelease(m_tableHandle, 0);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			allume(table);
-			eteint(table);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			eteint(i);
-			allume(i);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 283
soft/.metadata/.plugins/org.eclipse.core.resources/.history/a4/1072b7e87d3500171025a17b13aa5e23

@@ -1,283 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-#include "RTOS.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i);
-void allume(int i);
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		heure=lireRTOS();
-		ecrireEprom(heure);
-		heureChange(heure);
-		osDelay(3000);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					eteint(i);
-				else if (table[i] == 3)
-					allume(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 168
soft/.metadata/.plugins/org.eclipse.core.resources/.history/a4/d0339fbb783500171025a17b13aa5e23

@@ -1,168 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId myMutex01Handle;
-
-/* USER CODE BEGIN Variables */
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-       
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of myMutex01 */
-  osMutexDef(myMutex01);
-  myMutex01Handle = osMutexCreate(osMutex(myMutex01));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-  /* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-  /* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-  /* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-  /* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-  /* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-  /* Infinite loop */
-  for(;;)
-  {
-    osDelay(1);
-  }
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-  /* Infinite loop */
-  for(;;)
-  {
-	  osMutexWait(myMutex01Handle,0);
-
-
-	  osMutexWait(myMutex01Handle,0);
-	  osDelay(1);
-  }
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-  /* Infinite loop */
-  for(;;)
-
-  {
-    osDelay(1);
-  }
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-     
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 262
soft/.metadata/.plugins/org.eclipse.core.resources/.history/ac/c04d099a7b3500171025a17b13aa5e23

@@ -1,262 +0,0 @@
-/**
- ******************************************************************************
- * File Name          : freertos.c
- * Description        : Code for freertos applications
- ******************************************************************************
- *
- * Copyright (c) 2017 STMicroelectronics International N.V.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted, provided that the following conditions are met:
- *
- * 1. Redistribution 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 STMicroelectronics nor the names of other
- *    contributors to this software may be used to endorse or promote products
- *    derived from this software without specific written permission.
- * 4. This software, including modifications and/or derivative works of this
- *    software, must execute solely and exclusively on microcontroller or
- *    microprocessor devices manufactured by or for STMicroelectronics.
- * 5. Redistribution and use of this software other than as permitted under
- *    this license is void and will automatically terminate your rights under
- *    this license.
- *
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT
- * SHALL STMICROELECTRONICS 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.
- *
- ******************************************************************************
- */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */
-#include "gpio.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId myMutex01Handle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-	/* USER CODE BEGIN Init */
-
-	/* USER CODE END Init */
-
-	/* Create the mutex(es) */
-	/* definition and creation of myMutex01 */
-	osMutexDef(myMutex01);
-	myMutex01Handle = osMutexCreate(osMutex(myMutex01));
-
-	/* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-	/* USER CODE END RTOS_MUTEX */
-
-	/* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-	/* USER CODE END RTOS_SEMAPHORES */
-
-	/* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-	/* USER CODE END RTOS_TIMERS */
-
-	/* Create the thread(s) */
-	/* definition and creation of MainTask */
-	osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-	MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-	/* definition and creation of Task20ms */
-	osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-	Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-	/* definition and creation of TaskXms */
-	osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-	TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-	/* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-	/* USER CODE END RTOS_THREADS */
-
-	/* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-	/* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument) {
-
-	/* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-		osDelay(1);
-	}
-	/* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument) {
-	/* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-
-	}
-	/* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument) {
-	/* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			if (table[i] == 2)
-				eteint(i);
-			else if (table[i] == 3)
-				allume(i);
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-	}
-	/* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-		break;
-	default:
-		break;
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 215
soft/.metadata/.plugins/org.eclipse.core.resources/.history/ae/101617337b3500171025a17b13aa5e23

@@ -1,215 +0,0 @@
-/**
- ******************************************************************************
- * File Name          : freertos.c
- * Description        : Code for freertos applications
- ******************************************************************************
- *
- * Copyright (c) 2017 STMicroelectronics International N.V.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted, provided that the following conditions are met:
- *
- * 1. Redistribution 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 STMicroelectronics nor the names of other
- *    contributors to this software may be used to endorse or promote products
- *    derived from this software without specific written permission.
- * 4. This software, including modifications and/or derivative works of this
- *    software, must execute solely and exclusively on microcontroller or
- *    microprocessor devices manufactured by or for STMicroelectronics.
- * 5. Redistribution and use of this software other than as permitted under
- *    this license is void and will automatically terminate your rights under
- *    this license.
- *
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT
- * SHALL STMICROELECTRONICS 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.
- *
- ******************************************************************************
- */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */
-#include "gpio.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId myMutex01Handle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-	/* USER CODE BEGIN Init */
-
-	/* USER CODE END Init */
-
-	/* Create the mutex(es) */
-	/* definition and creation of myMutex01 */
-	osMutexDef(myMutex01);
-	myMutex01Handle = osMutexCreate(osMutex(myMutex01));
-
-	/* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-	/* USER CODE END RTOS_MUTEX */
-
-	/* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-	/* USER CODE END RTOS_SEMAPHORES */
-
-	/* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-	/* USER CODE END RTOS_TIMERS */
-
-	/* Create the thread(s) */
-	/* definition and creation of MainTask */
-	osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-	MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-	/* definition and creation of Task20ms */
-	osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-	Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-	/* definition and creation of TaskXms */
-	osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-	TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-	/* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-	/* USER CODE END RTOS_THREADS */
-
-	/* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-	/* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument) {
-
-	/* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-		osDelay(1);
-	}
-	/* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument) {
-	/* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-
-	}
-	/* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument) {
-	/* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			if (table[i] == 2)
-				eteint(i);
-			else if (table[i] == 3)
-				allume(i);
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-	}
-	/* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(&);
-		break;
-	case 1:
-		break;
-	case 2:
-		break;
-	case 3:
-		break;
-	case 4:
-		break;
-	case 5:
-		break;
-	case 6:
-		break;
-	case 7:
-		break;
-	case 8:
-		break;
-	case 9:
-		break;
-	case 10:
-		break;
-	case 11:
-		break;
-	case 12:
-		break;
-
-}
-}
-
-void eteint(int i){
-
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 281
soft/.metadata/.plugins/org.eclipse.core.resources/.history/af/40a947b07d3500171025a17b13aa5e23

@@ -1,281 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i);
-void allume(int i);
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		heure=lireRTOS();
-		ecrireEprom(heure);
-		heureChange(heure);
-		osDelay(3000);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					eteint(i);
-				else if (table[i] == 3)
-					allume(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 13
soft/.metadata/.plugins/org.eclipse.core.resources/.history/b4/9085ec10883500171025a17b13aa5e23

@@ -1,13 +0,0 @@
-/*
- * RTC.h
- *
- *  Created on: 10 mai 2017
- *      Author: rcluze
- */
-
-#ifndef RTC_H_
-#define RTC_H_
-
-
-
-#endif /* RTC_H_ */

+ 0 - 286
soft/.metadata/.plugins/org.eclipse.core.resources/.history/b5/d09839027e3500171025a17b13aa5e23

@@ -1,286 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-#include "RTOS.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i);
-void allume(int i);
-void changeheure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		heure=lireRTOS();
-		ecrireEprom(heure);
-		heureChange(heure);
-		osDelay(3000);
-		osMutexRelease(m_tableHandle, 0);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					eteint(i);
-				else if (table[i] == 3)
-					allume(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 215
soft/.metadata/.plugins/org.eclipse.core.resources/.history/b7/5028bf067b3500171025a17b13aa5e23

@@ -1,215 +0,0 @@
-/**
- ******************************************************************************
- * File Name          : freertos.c
- * Description        : Code for freertos applications
- ******************************************************************************
- *
- * Copyright (c) 2017 STMicroelectronics International N.V.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted, provided that the following conditions are met:
- *
- * 1. Redistribution 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 STMicroelectronics nor the names of other
- *    contributors to this software may be used to endorse or promote products
- *    derived from this software without specific written permission.
- * 4. This software, including modifications and/or derivative works of this
- *    software, must execute solely and exclusively on microcontroller or
- *    microprocessor devices manufactured by or for STMicroelectronics.
- * 5. Redistribution and use of this software other than as permitted under
- *    this license is void and will automatically terminate your rights under
- *    this license.
- *
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT
- * SHALL STMICROELECTRONICS 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.
- *
- ******************************************************************************
- */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */
-#include "gpio.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId myMutex01Handle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-	/* USER CODE BEGIN Init */
-
-	/* USER CODE END Init */
-
-	/* Create the mutex(es) */
-	/* definition and creation of myMutex01 */
-	osMutexDef(myMutex01);
-	myMutex01Handle = osMutexCreate(osMutex(myMutex01));
-
-	/* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-	/* USER CODE END RTOS_MUTEX */
-
-	/* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-	/* USER CODE END RTOS_SEMAPHORES */
-
-	/* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-	/* USER CODE END RTOS_TIMERS */
-
-	/* Create the thread(s) */
-	/* definition and creation of MainTask */
-	osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-	MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-	/* definition and creation of Task20ms */
-	osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-	Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-	/* definition and creation of TaskXms */
-	osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-	TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-	/* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-	/* USER CODE END RTOS_THREADS */
-
-	/* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-	/* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument) {
-
-	/* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-		osDelay(1);
-	}
-	/* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument) {
-	/* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-
-	}
-	/* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument) {
-	/* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			if (table[i] == 2)
-				eteint(i);
-			else if (table[i] == 3)
-				allume(i);
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-	}
-	/* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin()
-		break;
-	case 1:
-		break;
-	case 2:
-		break;
-	case 3:
-		break;
-	case 4:
-		break;
-	case 5:
-		break;
-	case 6:
-		break;
-	case 7:
-		break;
-	case 8:
-		break;
-	case 9:
-		break;
-	case 10:
-		break;
-	case 11:
-		break;
-	case 12:
-		break;
-
-}
-}
-
-void eteint(int i){
-
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 127
soft/.metadata/.plugins/org.eclipse.core.resources/.history/b8/f0a8e7a6823500171025a17b13aa5e23

@@ -1,127 +0,0 @@
-/**
- ******************************************************************************
- * File Name          : gpio.c
- * Description        : This file provides code for the configuration
- *                      of all used GPIO pins.
- ******************************************************************************
- *
- * Copyright (c) 2017 STMicroelectronics International N.V. 
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without 
- * modification, are permitted, provided that the following conditions are met:
- *
- * 1. Redistribution 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 STMicroelectronics nor the names of other 
- *    contributors to this software may be used to endorse or promote products 
- *    derived from this software without specific written permission.
- * 4. This software, including modifications and/or derivative works of this 
- *    software, must execute solely and exclusively on microcontroller or
- *    microprocessor devices manufactured by or for STMicroelectronics.
- * 5. Redistribution and use of this software other than as permitted under 
- *    this license is void and will automatically terminate your rights under 
- *    this license. 
- *
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
- * SHALL STMICROELECTRONICS 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.
- *
- ******************************************************************************
- */
-
-/* Includes ------------------------------------------------------------------*/
-#include "gpio.h"
-/* USER CODE BEGIN 0 */
-
-/* USER CODE END 0 */
-
-/*----------------------------------------------------------------------------*/
-/* Configure GPIO                                                             */
-/*----------------------------------------------------------------------------*/
-/* USER CODE BEGIN 1 */
-
-/* USER CODE END 1 */
-
-/** Configure pins as 
- * Analog 
- * Input 
- * Output
- * EVENT_OUT
- * EXTI
- */
-void MX_GPIO_Init(void) {
-
-	GPIO_InitTypeDef GPIO_InitStruct;
-
-	/* GPIO Ports Clock Enable */
-	__HAL_RCC_GPIOC_CLK_ENABLE()
-	;
-	__HAL_RCC_GPIOF_CLK_ENABLE()
-	;
-	__HAL_RCC_GPIOA_CLK_ENABLE()
-	;
-	__HAL_RCC_GPIOB_CLK_ENABLE()
-	;
-
-	/*Configure GPIO pin Output Level */
-	HAL_GPIO_WritePin(GPIOC, S8_Pin | S9_Pin | S10_Pin, GPIO_PIN_RESET);
-
-	/*Configure GPIO pin Output Level */
-	HAL_GPIO_WritePin(GPIOF, S11_Pin | S12_Pin, GPIO_PIN_RESET);
-
-	/*Configure GPIO pin Output Level */
-	HAL_GPIO_WritePin(GPIOB,
-			S1_Pin | S2_Pin | S3_Pin | S4_Pin | S5_Pin | S6_Pin | S7_Pin,
-			GPIO_PIN_RESET);
-
-	/*Configure GPIO pins : PCPin PCPin PCPin */
-	GPIO_InitStruct.Pin = S8_Pin | S9_Pin | S10_Pin;
-	GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
-	GPIO_InitStruct.Pull = GPIO_NOPULL;
-	GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
-	HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
-
-	/*Configure GPIO pins : PFPin PFPin */
-	GPIO_InitStruct.Pin = S11_Pin | S12_Pin;
-	GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
-	GPIO_InitStruct.Pull = GPIO_NOPULL;
-	GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
-	HAL_GPIO_Init(GPIOF, &GPIO_InitStruct);
-
-	/*Configure GPIO pins : PBPin PBPin PBPin PBPin 
-	 PBPin PBPin PBPin */
-	GPIO_InitStruct.Pin = S1_Pin | S2_Pin | S3_Pin | S4_Pin | S5_Pin | S6_Pin
-			| S7_Pin;
-	GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
-	GPIO_InitStruct.Pull = GPIO_NOPULL;
-	GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
-	HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
-
-}
-
-/* USER CODE BEGIN 2 */
-
-/* USER CODE END 2 */
-
-/**
- * @}
- */
-
-/**
- * @}
- */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 263
soft/.metadata/.plugins/org.eclipse.core.resources/.history/b9/50f46bb57b3500171025a17b13aa5e23

@@ -1,263 +0,0 @@
-/**
- ******************************************************************************
- * File Name          : freertos.c
- * Description        : Code for freertos applications
- ******************************************************************************
- *
- * Copyright (c) 2017 STMicroelectronics International N.V.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted, provided that the following conditions are met:
- *
- * 1. Redistribution 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 STMicroelectronics nor the names of other
- *    contributors to this software may be used to endorse or promote products
- *    derived from this software without specific written permission.
- * 4. This software, including modifications and/or derivative works of this
- *    software, must execute solely and exclusively on microcontroller or
- *    microprocessor devices manufactured by or for STMicroelectronics.
- * 5. Redistribution and use of this software other than as permitted under
- *    this license is void and will automatically terminate your rights under
- *    this license.
- *
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT
- * SHALL STMICROELECTRONICS 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.
- *
- ******************************************************************************
- */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */
-#include "gpio.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId myMutex01Handle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i);
-void allume(int i);
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-	/* USER CODE BEGIN Init */
-
-	/* USER CODE END Init */
-
-	/* Create the mutex(es) */
-	/* definition and creation of myMutex01 */
-	osMutexDef(myMutex01);
-	myMutex01Handle = osMutexCreate(osMutex(myMutex01));
-
-	/* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-	/* USER CODE END RTOS_MUTEX */
-
-	/* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-	/* USER CODE END RTOS_SEMAPHORES */
-
-	/* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-	/* USER CODE END RTOS_TIMERS */
-
-	/* Create the thread(s) */
-	/* definition and creation of MainTask */
-	osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-	MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-	/* definition and creation of Task20ms */
-	osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-	Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-	/* definition and creation of TaskXms */
-	osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-	TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-	/* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-	/* USER CODE END RTOS_THREADS */
-
-	/* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-	/* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument) {
-
-	/* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-		osDelay(1);
-	}
-	/* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument) {
-	/* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(20);
-		}
-
-	}
-	/* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument) {
-	/* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			if (table[i] == 2)
-				eteint(i);
-			else if (table[i] == 3)
-				allume(i);
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-	}
-	/* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-		break;
-	default:
-		break;
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 184
soft/.metadata/.plugins/org.eclipse.core.resources/.history/ba/104b9abd793500171025a17b13aa5e23

@@ -1,184 +0,0 @@
-/**
- ******************************************************************************
- * File Name          : freertos.c
- * Description        : Code for freertos applications
- ******************************************************************************
- *
- * Copyright (c) 2017 STMicroelectronics International N.V. 
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without 
- * modification, are permitted, provided that the following conditions are met:
- *
- * 1. Redistribution 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 STMicroelectronics nor the names of other 
- *    contributors to this software may be used to endorse or promote products 
- *    derived from this software without specific written permission.
- * 4. This software, including modifications and/or derivative works of this 
- *    software, must execute solely and exclusively on microcontroller or
- *    microprocessor devices manufactured by or for STMicroelectronics.
- * 5. Redistribution and use of this software other than as permitted under 
- *    this license is void and will automatically terminate your rights under 
- *    this license. 
- *
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
- * SHALL STMICROELECTRONICS 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.
- *
- ******************************************************************************
- */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */
-
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId myMutex01Handle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-	/* USER CODE BEGIN Init */
-
-	/* USER CODE END Init */
-
-	/* Create the mutex(es) */
-	/* definition and creation of myMutex01 */
-	osMutexDef(myMutex01);
-	myMutex01Handle = osMutexCreate(osMutex(myMutex01));
-
-	/* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-	/* USER CODE END RTOS_MUTEX */
-
-	/* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-	/* USER CODE END RTOS_SEMAPHORES */
-
-	/* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-	/* USER CODE END RTOS_TIMERS */
-
-	/* Create the thread(s) */
-	/* definition and creation of MainTask */
-	osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-	MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-	/* definition and creation of Task20ms */
-	osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-	Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-	/* definition and creation of TaskXms */
-	osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-	TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-	/* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-	/* USER CODE END RTOS_THREADS */
-
-	/* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-	/* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument) {
-
-	/* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-		osDelay(1);
-	}
-	/* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument) {
-	/* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-
-	}
-	/* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument) {
-	/* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			osMutexWait(myMutex01Handle, 0);
-			if (table[i] == 2)
-				eteint(i);
-			else if (table[i] == 3)
-				allume(i);
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-	}
-	/* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-
-}
-
-void eteint(int i){
-
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 186
soft/.metadata/.plugins/org.eclipse.core.resources/.history/bc/90fef2f4793500171025a17b13aa5e23

@@ -1,186 +0,0 @@
-/**
- ******************************************************************************
- * File Name          : freertos.c
- * Description        : Code for freertos applications
- ******************************************************************************
- *
- * Copyright (c) 2017 STMicroelectronics International N.V. 
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without 
- * modification, are permitted, provided that the following conditions are met:
- *
- * 1. Redistribution 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 STMicroelectronics nor the names of other 
- *    contributors to this software may be used to endorse or promote products 
- *    derived from this software without specific written permission.
- * 4. This software, including modifications and/or derivative works of this 
- *    software, must execute solely and exclusively on microcontroller or
- *    microprocessor devices manufactured by or for STMicroelectronics.
- * 5. Redistribution and use of this software other than as permitted under 
- *    this license is void and will automatically terminate your rights under 
- *    this license. 
- *
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
- * SHALL STMICROELECTRONICS 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.
- *
- ******************************************************************************
- */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */
-
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId myMutex01Handle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-	/* USER CODE BEGIN Init */
-
-	/* USER CODE END Init */
-
-	/* Create the mutex(es) */
-	/* definition and creation of myMutex01 */
-	osMutexDef(myMutex01);
-	myMutex01Handle = osMutexCreate(osMutex(myMutex01));
-
-	/* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-	/* USER CODE END RTOS_MUTEX */
-
-	/* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-	/* USER CODE END RTOS_SEMAPHORES */
-
-	/* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-	/* USER CODE END RTOS_TIMERS */
-
-	/* Create the thread(s) */
-	/* definition and creation of MainTask */
-	osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-	MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-	/* definition and creation of Task20ms */
-	osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-	Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-	/* definition and creation of TaskXms */
-	osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-	TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-	/* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-	/* USER CODE END RTOS_THREADS */
-
-	/* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-	/* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument) {
-
-	/* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-		osDelay(1);
-	}
-	/* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument) {
-	/* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-
-	}
-	/* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument) {
-	/* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			if (table[i] == 2)
-				eteint(i);
-			else if (table[i] == 3)
-				allume(i);
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-	}
-	/* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-
-}
-
-void eteint(int i){
-
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 165
soft/.metadata/.plugins/org.eclipse.core.resources/.history/bf/c0091e64773500171025a17b13aa5e23

@@ -1,165 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId myMutex01Handle;
-
-/* USER CODE BEGIN Variables */
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-       
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of myMutex01 */
-  osMutexDef(myMutex01);
-  myMutex01Handle = osMutexCreate(osMutex(myMutex01));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-  /* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-  /* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-  /* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-  /* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-  /* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-  /* Infinite loop */
-  for(;;)
-  {
-    osDelay(1);
-  }
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-  /* Infinite loop */
-  for(;;)
-  {
-	  osMutexWait(myMutex01)
-
-    osDelay(1);
-  }
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-  /* Infinite loop */
-  for(;;)
-  {
-    osDelay(1);
-  }
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-     
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 229
soft/.metadata/.plugins/org.eclipse.core.resources/.history/c2/40019a74823500171025a17b13aa5e23

@@ -1,229 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-#include "RTC.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i, int Etat);
-void allume(int i, int Etat);
-void PollHeure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		ancienheure = heure;
-		heure=lireRTOS();
-
-		ecrireEprom(heure);
-		if(PollHeure(heure, ancienheure)){
-			changeHeure(heure);
-		}
-		osDelay(3000);
-		osMutexRelease(m_tableHandle, 0);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			allume(table,1);
-			eteint(table,1);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			eteint(i,3);
-			allume(i,3);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i, int Etat){
-	if(Etat == 1){
-		if (table[0]==Etat)
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		if (table[1]==1)
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		if (table[2]==1)
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		if (table[3]==1)
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		if (table[4]==1)
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		if (table[5]==1)
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		if (table[6]==1)
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		if (table[7]==1)
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		if (table[8]==1)
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		if (table[9]==1)
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		if (table[10]==1)
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		if (table[11]==1)
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-	}
-}
-
-void eteint(int i){
-
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 85
soft/.metadata/.plugins/org.eclipse.core.resources/.history/c9/1005acbb783500171025a17b13aa5e23

@@ -1,85 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : gpio.c
-  * Description        : This file provides code for the configuration
-  *                      of all used GPIO pins.
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "gpio.h"
-/* USER CODE BEGIN 0 */
-
-/* USER CODE END 0 */
-
-/*----------------------------------------------------------------------------*/
-/* Configure GPIO                                                             */
-/*----------------------------------------------------------------------------*/
-/* USER CODE BEGIN 1 */
-
-/* USER CODE END 1 */
-
-/** Configure pins as 
-        * Analog 
-        * Input 
-        * Output
-        * EVENT_OUT
-        * EXTI
-*/
-void MX_GPIO_Init(void)
-{
-
-  /* GPIO Ports Clock Enable */
-  __HAL_RCC_GPIOA_CLK_ENABLE();
-
-}
-
-/* USER CODE BEGIN 2 */
-
-/* USER CODE END 2 */
-
-/**
-  * @}
-  */
-
-/**
-  * @}
-  */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 281
soft/.metadata/.plugins/org.eclipse.core.resources/.history/c9/b08f63c57d3500171025a17b13aa5e23

@@ -1,281 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i);
-void allume(int i);
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		heure=lireRTOS();
-		ecrireEprom(heure);
-		heureChange(heure);
-		osDelay(3000);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					eteint(i);
-				else if (table[i] == 3)
-					allume(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 185
soft/.metadata/.plugins/org.eclipse.core.resources/.history/cb/105084c4793500171025a17b13aa5e23

@@ -1,185 +0,0 @@
-/**
- ******************************************************************************
- * File Name          : freertos.c
- * Description        : Code for freertos applications
- ******************************************************************************
- *
- * Copyright (c) 2017 STMicroelectronics International N.V. 
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without 
- * modification, are permitted, provided that the following conditions are met:
- *
- * 1. Redistribution 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 STMicroelectronics nor the names of other 
- *    contributors to this software may be used to endorse or promote products 
- *    derived from this software without specific written permission.
- * 4. This software, including modifications and/or derivative works of this 
- *    software, must execute solely and exclusively on microcontroller or
- *    microprocessor devices manufactured by or for STMicroelectronics.
- * 5. Redistribution and use of this software other than as permitted under 
- *    this license is void and will automatically terminate your rights under 
- *    this license. 
- *
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
- * SHALL STMICROELECTRONICS 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.
- *
- ******************************************************************************
- */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */
-
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId myMutex01Handle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-	/* USER CODE BEGIN Init */
-
-	/* USER CODE END Init */
-
-	/* Create the mutex(es) */
-	/* definition and creation of myMutex01 */
-	osMutexDef(myMutex01);
-	myMutex01Handle = osMutexCreate(osMutex(myMutex01));
-
-	/* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-	/* USER CODE END RTOS_MUTEX */
-
-	/* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-	/* USER CODE END RTOS_SEMAPHORES */
-
-	/* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-	/* USER CODE END RTOS_TIMERS */
-
-	/* Create the thread(s) */
-	/* definition and creation of MainTask */
-	osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-	MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-	/* definition and creation of Task20ms */
-	osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-	Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-	/* definition and creation of TaskXms */
-	osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-	TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-	/* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-	/* USER CODE END RTOS_THREADS */
-
-	/* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-	/* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument) {
-
-	/* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-		osDelay(1);
-	}
-	/* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument) {
-	/* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-
-	}
-	/* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument) {
-	/* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			osMutexWait(myMutex01Handle, 0);
-			if (table[i] == 2)
-				eteint(i);
-			else if (table[i] == 3)
-				allume(i);
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-	}
-	/* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-
-}
-
-void eteint(int i){
-
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 251
soft/.metadata/.plugins/org.eclipse.core.resources/.history/d4/60bdb6ee873500171025a17b13aa5e23

@@ -1,251 +0,0 @@
-/**
- ******************************************************************************
- * File Name          : freertos.c
- * Description        : Code for freertos applications
- ******************************************************************************
- *
- * Copyright (c) 2017 STMicroelectronics International N.V. 
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without 
- * modification, are permitted, provided that the following conditions are met:
- *
- * 1. Redistribution 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 STMicroelectronics nor the names of other 
- *    contributors to this software may be used to endorse or promote products 
- *    derived from this software without specific written permission.
- * 4. This software, including modifications and/or derivative works of this 
- *    software, must execute solely and exclusively on microcontroller or
- *    microprocessor devices manufactured by or for STMicroelectronics.
- * 5. Redistribution and use of this software other than as permitted under 
- *    this license is void and will automatically terminate your rights under 
- *    this license. 
- *
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
- * SHALL STMICROELECTRONICS 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.
- *
- ******************************************************************************
- */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */
-#include "gpio.h"
-#include "RTC.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12]; //tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i, int Etat);
-void allume(int i, int Etat);
-void PollHeure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-	/* USER CODE BEGIN Init */
-
-	/* USER CODE END Init */
-
-	/* Create the mutex(es) */
-	/* definition and creation of m_table */
-	osMutexDef(m_table);
-	m_tableHandle = osMutexCreate(osMutex(m_table));
-
-	/* definition and creation of m_change */
-	osMutexDef(m_change);
-	m_changeHandle = osMutexCreate(osMutex(m_change));
-
-	/* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-	/* USER CODE END RTOS_MUTEX */
-
-	/* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-	/* USER CODE END RTOS_SEMAPHORES */
-
-	/* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-	/* USER CODE END RTOS_TIMERS */
-
-	/* Create the thread(s) */
-	/* definition and creation of MainTask */
-	osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-	MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-	/* definition and creation of Task20ms */
-	osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-	Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-	/* definition and creation of TaskXms */
-	osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-	TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-	/* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-	/* USER CODE END RTOS_THREADS */
-
-	/* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-	/* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument) {
-
-	/* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		ancienheure = heure;
-		heure = lireRTOS();
-
-		ecrireEprom(heure);
-		if (PollHeure(heure, ancienheure)) {
-			changeHeure(heure);
-		}
-		osDelay(3000);
-		osMutexRelease(m_tableHandle, 0);
-	}
-	/* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument) {
-	/* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			allume(table, 1);
-			eteint(table, 3);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-	/* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument) {
-	/* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			eteint(i, 1);
-			allume(i, 3);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-	/* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i, int Etat) {
-	if (Etat == 1) {
-		if (table[0] == Etat)
-			HAL_GPIO_WritePin(S1_GPIO_Port, S1_Pin, GPIO_PIN_SET);
-		if (table[1] == Etat)
-			HAL_GPIO_WritePin(S2_GPIO_Port, S2_Pin, GPIO_PIN_SET);
-		if (table[2] == Etat)
-			HAL_GPIO_WritePin(S3_GPIO_Port, S3_Pin, GPIO_PIN_SET);
-		if (table[3] == Etat)
-			HAL_GPIO_WritePin(S4_GPIO_Port, S4_Pin, GPIO_PIN_SET);
-		if (table[4] == Etat)
-			HAL_GPIO_WritePin(S5_GPIO_Port, S5_Pin, GPIO_PIN_SET);
-		if (table[5] == Etat)
-			HAL_GPIO_WritePin(S6_GPIO_Port, S6_Pin, GPIO_PIN_SET);
-		if (table[6] == Etat)
-			HAL_GPIO_WritePin(S7_GPIO_Port, S7_Pin, GPIO_PIN_SET);
-		if (table[7] == Etat)
-			HAL_GPIO_WritePin(S8_GPIO_Port, S8_Pin, GPIO_PIN_SET);
-		if (table[8] == Etat)
-			HAL_GPIO_WritePin(S9_GPIO_Port, S9_Pin, GPIO_PIN_SET);
-		if (table[9] == Etat)
-			HAL_GPIO_WritePin(S10_GPIO_Port, S10_Pin, GPIO_PIN_SET);
-		if (table[10] == Etat)
-			HAL_GPIO_WritePin(S11_GPIO_Port, S11_Pin, GPIO_PIN_SET);
-		if (table[11] == Etat)
-			HAL_GPIO_WritePin(S12_GPIO_Port, S12_Pin, GPIO_PIN_SET);
-	}
-}
-
-void eteint(int i, int Etat) {
-	if (Etat == 1) {
-		if (table[0] == Etat)
-			HAL_GPIO_WritePin(S1_GPIO_Port, S1_Pin, GPIO_PIN_RESET);
-		if (table[1] == Etat)
-			HAL_GPIO_WritePin(S2_GPIO_Port, S2_Pin, GPIO_PIN_RESET);
-		if (table[2] == Etat)
-			HAL_GPIO_WritePin(S3_GPIO_Port, S3_Pin, GPIO_PIN_RESET);
-		if (table[3] == Etat)
-			HAL_GPIO_WritePin(S4_GPIO_Port, S4_Pin, GPIO_PIN_RESET);
-		if (table[4] == Etat)
-			HAL_GPIO_WritePin(S5_GPIO_Port, S5_Pin, GPIO_PIN_RESET);
-		if (table[5] == Etat)
-			HAL_GPIO_WritePin(S6_GPIO_Port, S6_Pin, GPIO_PIN_RESET);
-		if (table[6] == Etat)
-			HAL_GPIO_WritePin(S7_GPIO_Port, S7_Pin, GPIO_PIN_RESET);
-		if (table[7] == Etat)
-			HAL_GPIO_WritePin(S8_GPIO_Port, S8_Pin, GPIO_PIN_RESET);
-		if (table[8] == Etat)
-			HAL_GPIO_WritePin(S9_GPIO_Port, S9_Pin, GPIO_PIN_RESET);
-		if (table[9] == Etat)
-			HAL_GPIO_WritePin(S10_GPIO_Port, S10_Pin, GPIO_PIN_RESET);
-		if (table[10] == Etat)
-			HAL_GPIO_WritePin(S11_GPIO_Port, S11_Pin, GPIO_PIN_RESET);
-		if (table[11] == Etat)
-			HAL_GPIO_WritePin(S12_GPIO_Port, S12_Pin, GPIO_PIN_RESET);
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 282
soft/.metadata/.plugins/org.eclipse.core.resources/.history/d7/a0b78a92803500171025a17b13aa5e23

@@ -1,282 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-#include "RTC.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i);
-void allume(int i);
-void PollHeure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		ancienheure = heure;
-		heure=lireRTOS();
-
-		ecrireEprom(heure);
-		if(PollHeure(heure, ancienheure)){
-			changeHeure(heure);
-		}
-		osDelay(3000);
-		osMutexRelease(m_tableHandle, 0);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			allume(table,1);
-			eteint(table,1);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			eteint(i,3);
-			allume(i,3);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i, int Etat){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 118
soft/.metadata/.plugins/org.eclipse.core.resources/.history/d8/9072b9bb783500171025a17b13aa5e23

@@ -1,118 +0,0 @@
-/**
-  ******************************************************************************
-  * @file    stm32f0xx_it.c
-  * @brief   Interrupt Service Routines.
-  ******************************************************************************
-  *
-  * COPYRIGHT(c) 2017 STMicroelectronics
-  *
-  * 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 STMicroelectronics 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.
-  *
-  ******************************************************************************
-  */
-/* Includes ------------------------------------------------------------------*/
-#include "stm32f0xx_hal.h"
-#include "stm32f0xx.h"
-#include "stm32f0xx_it.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN 0 */
-
-/* USER CODE END 0 */
-
-/* External variables --------------------------------------------------------*/
-
-extern TIM_HandleTypeDef htim1;
-
-/******************************************************************************/
-/*            Cortex-M0 Processor Interruption and Exception Handlers         */ 
-/******************************************************************************/
-
-/**
-* @brief This function handles Non maskable interrupt.
-*/
-void NMI_Handler(void)
-{
-  /* USER CODE BEGIN NonMaskableInt_IRQn 0 */
-
-  /* USER CODE END NonMaskableInt_IRQn 0 */
-  /* USER CODE BEGIN NonMaskableInt_IRQn 1 */
-
-  /* USER CODE END NonMaskableInt_IRQn 1 */
-}
-
-/**
-* @brief This function handles Hard fault interrupt.
-*/
-void HardFault_Handler(void)
-{
-  /* USER CODE BEGIN HardFault_IRQn 0 */
-
-  /* USER CODE END HardFault_IRQn 0 */
-  while (1)
-  {
-  }
-  /* USER CODE BEGIN HardFault_IRQn 1 */
-
-  /* USER CODE END HardFault_IRQn 1 */
-}
-
-/**
-* @brief This function handles System tick timer.
-*/
-void SysTick_Handler(void)
-{
-  /* USER CODE BEGIN SysTick_IRQn 0 */
-
-  /* USER CODE END SysTick_IRQn 0 */
-  osSystickHandler();
-  /* USER CODE BEGIN SysTick_IRQn 1 */
-
-  /* USER CODE END SysTick_IRQn 1 */
-}
-
-/******************************************************************************/
-/* STM32F0xx Peripheral Interrupt Handlers                                    */
-/* Add here the Interrupt Handlers for the used peripherals.                  */
-/* For the available peripheral interrupt handler names,                      */
-/* please refer to the startup file (startup_stm32f0xx.s).                    */
-/******************************************************************************/
-
-/**
-* @brief This function handles TIM1 break, update, trigger and commutation interrupts.
-*/
-void TIM1_BRK_UP_TRG_COM_IRQHandler(void)
-{
-  /* USER CODE BEGIN TIM1_BRK_UP_TRG_COM_IRQn 0 */
-
-  /* USER CODE END TIM1_BRK_UP_TRG_COM_IRQn 0 */
-  HAL_TIM_IRQHandler(&htim1);
-  /* USER CODE BEGIN TIM1_BRK_UP_TRG_COM_IRQn 1 */
-
-  /* USER CODE END TIM1_BRK_UP_TRG_COM_IRQn 1 */
-}
-
-/* USER CODE BEGIN 1 */
-
-/* USER CODE END 1 */
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 214
soft/.metadata/.plugins/org.eclipse.core.resources/.history/e2/10cf9ff7793500171025a17b13aa5e23

@@ -1,214 +0,0 @@
-/**
- ******************************************************************************
- * File Name          : freertos.c
- * Description        : Code for freertos applications
- ******************************************************************************
- *
- * Copyright (c) 2017 STMicroelectronics International N.V. 
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without 
- * modification, are permitted, provided that the following conditions are met:
- *
- * 1. Redistribution 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 STMicroelectronics nor the names of other 
- *    contributors to this software may be used to endorse or promote products 
- *    derived from this software without specific written permission.
- * 4. This software, including modifications and/or derivative works of this 
- *    software, must execute solely and exclusively on microcontroller or
- *    microprocessor devices manufactured by or for STMicroelectronics.
- * 5. Redistribution and use of this software other than as permitted under 
- *    this license is void and will automatically terminate your rights under 
- *    this license. 
- *
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
- * SHALL STMICROELECTRONICS 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.
- *
- ******************************************************************************
- */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */
-
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId myMutex01Handle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-	/* USER CODE BEGIN Init */
-
-	/* USER CODE END Init */
-
-	/* Create the mutex(es) */
-	/* definition and creation of myMutex01 */
-	osMutexDef(myMutex01);
-	myMutex01Handle = osMutexCreate(osMutex(myMutex01));
-
-	/* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-	/* USER CODE END RTOS_MUTEX */
-
-	/* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-	/* USER CODE END RTOS_SEMAPHORES */
-
-	/* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-	/* USER CODE END RTOS_TIMERS */
-
-	/* Create the thread(s) */
-	/* definition and creation of MainTask */
-	osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-	MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-	/* definition and creation of Task20ms */
-	osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-	Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-	/* definition and creation of TaskXms */
-	osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-	TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-	/* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-	/* USER CODE END RTOS_THREADS */
-
-	/* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-	/* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument) {
-
-	/* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-		osDelay(1);
-	}
-	/* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument) {
-	/* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-
-	}
-	/* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument) {
-	/* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			if (table[i] == 2)
-				eteint(i);
-			else if (table[i] == 3)
-				allume(i);
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-	}
-	/* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		break;
-	case 1:
-		break;
-	case 2:
-		break;
-	case 3:
-		break;
-	case 4:
-		break;
-	case 5:
-		break;
-	case 6:
-		break;
-	case 7:
-		break;
-	case 8:
-		break;
-	case 9:
-		break;
-	case 10:
-		break;
-	case 11:
-		break;
-	case 12:
-		break;
-
-}
-}
-
-void eteint(int i){
-
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 168
soft/.metadata/.plugins/org.eclipse.core.resources/.history/e4/a099f704793500171025a17b13aa5e23

@@ -1,168 +0,0 @@
-/**
- ******************************************************************************
- * File Name          : freertos.c
- * Description        : Code for freertos applications
- ******************************************************************************
- *
- * Copyright (c) 2017 STMicroelectronics International N.V. 
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without 
- * modification, are permitted, provided that the following conditions are met:
- *
- * 1. Redistribution 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 STMicroelectronics nor the names of other 
- *    contributors to this software may be used to endorse or promote products 
- *    derived from this software without specific written permission.
- * 4. This software, including modifications and/or derivative works of this 
- *    software, must execute solely and exclusively on microcontroller or
- *    microprocessor devices manufactured by or for STMicroelectronics.
- * 5. Redistribution and use of this software other than as permitted under 
- *    this license is void and will automatically terminate your rights under 
- *    this license. 
- *
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
- * SHALL STMICROELECTRONICS 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.
- *
- ******************************************************************************
- */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */
-
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId myMutex01Handle;
-
-/* USER CODE BEGIN Variables */
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-	/* USER CODE BEGIN Init */
-
-	/* USER CODE END Init */
-
-	/* Create the mutex(es) */
-	/* definition and creation of myMutex01 */
-	osMutexDef(myMutex01);
-	myMutex01Handle = osMutexCreate(osMutex(myMutex01));
-
-	/* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-	/* USER CODE END RTOS_MUTEX */
-
-	/* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-	/* USER CODE END RTOS_SEMAPHORES */
-
-	/* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-	/* USER CODE END RTOS_TIMERS */
-
-	/* Create the thread(s) */
-	/* definition and creation of MainTask */
-	osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-	MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-	/* definition and creation of Task20ms */
-	osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-	Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-	/* definition and creation of TaskXms */
-	osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-	TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-	/* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-	/* USER CODE END RTOS_THREADS */
-
-	/* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-	/* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument) {
-
-	/* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-		osDelay(1);
-	}
-	/* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument) {
-	/* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (change){
-		osMutexWait(myMutex01Handle, 0);
-
-		osMutexWait(myMutex01Handle, 0);
-		osDelay(1);
-		}
-
-	}
-	/* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument) {
-	/* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;){
-		if (change){
-		osMutexWait(myMutex01Handle, 0);
-
-		osMutexWait(myMutex01Handle, 0);
-		osDelay(1);
-		}
-	}
-	/* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 275
soft/.metadata/.plugins/org.eclipse.core.resources/.history/ee/e048b7de7c3500171025a17b13aa5e23

@@ -1,275 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i);
-void allume(int i);
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-		osDelay(1);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_table, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(m_table, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_table, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					eteint(i);
-				else if (table[i] == 3)
-					allume(i);
-			}
-			osMutexWait(m_table, 0);
-			osDelay(1);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 245
soft/.metadata/.plugins/org.eclipse.core.resources/.history/f/4008744d823500171025a17b13aa5e23

@@ -1,245 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-#include "RTC.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i, int Etat);
-void allume(int i, int Etat);
-void PollHeure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		ancienheure = heure;
-		heure=lireRTOS();
-
-		ecrireEprom(heure);
-		if(PollHeure(heure, ancienheure)){
-			changeHeure(heure);
-		}
-		osDelay(3000);
-		osMutexRelease(m_tableHandle, 0);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			allume(table,1);
-			eteint(table,1);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			eteint(i,3);
-			allume(i,3);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i, int Etat){
-	if(Etat == 1){
-		if (table[0]==1)
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-
-		if (table[1]==1)
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-
-		if (table[2]==1)
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-
-		if (table[3]==1)
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-
-		if (table[4]==1)
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-
-		if (table[5]==1)
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-
-		if (table[6]==1)
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-
-		if (table[7]==1)
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-
-		if (table[8]==1)
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-
-		if (table[9]==1)
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-
-		if (table[10]==1)
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		if (table[11]==1)
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-
-		}
-	}
-	else if (Etat == 3){
-
-	}
-
-}
-
-void eteint(int i){
-
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 277
soft/.metadata/.plugins/org.eclipse.core.resources/.history/f0/c0377d9e7d3500171025a17b13aa5e23

@@ -1,277 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i);
-void allume(int i);
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-
-		osDelay(3000);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					eteint(i);
-				else if (table[i] == 3)
-					allume(i);
-			}
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 167
soft/.metadata/.plugins/org.eclipse.core.resources/.history/f9/408e97b7783500171025a17b13aa5e23

@@ -1,167 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId myMutex01Handle;
-
-/* USER CODE BEGIN Variables */
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-       
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of myMutex01 */
-  osMutexDef(myMutex01);
-  myMutex01Handle = osMutexCreate(osMutex(myMutex01));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-  /* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-  /* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-  /* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-  /* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-  /* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-  /* Infinite loop */
-  for(;;)
-  {
-    osDelay(1);
-  }
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-  /* Infinite loop */
-  for(;;)
-  {
-	  osMutexWait(myMutex01Handle,0);
-
-
-	  osMutexWait(myMutex01Handle,0);
-    osDelay(1);
-  }
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-  /* Infinite loop */
-  for(;;)
-  {
-    osDelay(1);
-  }
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-     
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 296
soft/.metadata/.plugins/org.eclipse.core.resources/.history/fa/004231f1813500171025a17b13aa5e23

@@ -1,296 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-#include "RTC.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i, int Etat);
-void allume(int i, int Etat);
-void PollHeure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		ancienheure = heure;
-		heure=lireRTOS();
-
-		ecrireEprom(heure);
-		if(PollHeure(heure, ancienheure)){
-			changeHeure(heure);
-		}
-		osDelay(3000);
-		osMutexRelease(m_tableHandle, 0);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			allume(table,1);
-			eteint(table,1);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			eteint(i,3);
-			allume(i,3);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i, int Etat){
-	if(Etat == 1)
-		switch(i){
-			case 0:
-				if (table[0]==1)
-					HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-				break;
-			case 1:
-				if (table[1]==1)
-					HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-				break;
-			case 2:
-				if (table[2]==1)
-					HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-				break;
-			case 3:
-				if (table[3]==1)
-					HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-				break;
-			case 4:
-				if (table[4]==1)
-					HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-				break;
-			case 5:
-				if (table[5]==1)
-					HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-				break;
-			case 6:
-				if (table[6]==1)
-					HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-				break;
-			case 7:
-				if (table[7]==1)
-					HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-				break;
-			case 8:
-				if (table[8]==1)
-					HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-				break;
-			case 9:
-				if (table[9]==1)
-					HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-				break;
-			case 10:
-				if (table[10]==1)
-					HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-				break;
-			case 11:
-				if (table[11]==1)
-					HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-				break;
-			default:
-				break;
-		}
-	}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 225
soft/.metadata/.plugins/org.eclipse.core.resources/.history/fb/201d43727b3500171025a17b13aa5e23

@@ -1,225 +0,0 @@
-/**
- ******************************************************************************
- * File Name          : freertos.c
- * Description        : Code for freertos applications
- ******************************************************************************
- *
- * Copyright (c) 2017 STMicroelectronics International N.V.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted, provided that the following conditions are met:
- *
- * 1. Redistribution 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 STMicroelectronics nor the names of other
- *    contributors to this software may be used to endorse or promote products
- *    derived from this software without specific written permission.
- * 4. This software, including modifications and/or derivative works of this
- *    software, must execute solely and exclusively on microcontroller or
- *    microprocessor devices manufactured by or for STMicroelectronics.
- * 5. Redistribution and use of this software other than as permitted under
- *    this license is void and will automatically terminate your rights under
- *    this license.
- *
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT
- * SHALL STMICROELECTRONICS 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.
- *
- ******************************************************************************
- */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */
-#include "gpio.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId myMutex01Handle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-	/* USER CODE BEGIN Init */
-
-	/* USER CODE END Init */
-
-	/* Create the mutex(es) */
-	/* definition and creation of myMutex01 */
-	osMutexDef(myMutex01);
-	myMutex01Handle = osMutexCreate(osMutex(myMutex01));
-
-	/* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-	/* USER CODE END RTOS_MUTEX */
-
-	/* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-	/* USER CODE END RTOS_SEMAPHORES */
-
-	/* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-	/* USER CODE END RTOS_TIMERS */
-
-	/* Create the thread(s) */
-	/* definition and creation of MainTask */
-	osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-	MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-	/* definition and creation of Task20ms */
-	osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-	Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-	/* definition and creation of TaskXms */
-	osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-	TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-	/* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-	/* USER CODE END RTOS_THREADS */
-
-	/* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-	/* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument) {
-
-	/* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-		osDelay(1);
-	}
-	/* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument) {
-	/* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-
-	}
-	/* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument) {
-	/* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			if (table[i] == 2)
-				eteint(i);
-			else if (table[i] == 3)
-				allume(i);
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-	}
-	/* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 2:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 3:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 4:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 5:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 6:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 7:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 8:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 9:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 10:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 11:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	default:
-		break;
-}
-}
-
-void eteint(int i){
-
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 296
soft/.metadata/.plugins/org.eclipse.core.resources/.history/fb/70d29941823500171025a17b13aa5e23

@@ -1,296 +0,0 @@
-/**
-  ******************************************************************************
-  * File Name          : freertos.c
-  * Description        : Code for freertos applications
-  ******************************************************************************
-  *
-  * Copyright (c) 2017 STMicroelectronics International N.V. 
-  * All rights reserved.
-  *
-  * Redistribution and use in source and binary forms, with or without 
-  * modification, are permitted, provided that the following conditions are met:
-  *
-  * 1. Redistribution 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 STMicroelectronics nor the names of other 
-  *    contributors to this software may be used to endorse or promote products 
-  *    derived from this software without specific written permission.
-  * 4. This software, including modifications and/or derivative works of this 
-  *    software, must execute solely and exclusively on microcontroller or
-  *    microprocessor devices manufactured by or for STMicroelectronics.
-  * 5. Redistribution and use of this software other than as permitted under 
-  *    this license is void and will automatically terminate your rights under 
-  *    this license. 
-  *
-  * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" 
-  * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT 
-  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
-  * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
-  * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT 
-  * SHALL STMICROELECTRONICS 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.
-  *
-  ******************************************************************************
-  */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */     
-#include "gpio.h"
-#include "RTC.h"
-#include "Eprom.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId m_tableHandle;
-osMutexId m_changeHandle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-uint8_t Xms; // temps
-uint32_t heure;
-uint32_t ancienheure;
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-void eteint(int i, int Etat);
-void allume(int i, int Etat);
-void PollHeure();
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-  /* USER CODE BEGIN Init */
-
-  /* USER CODE END Init */
-
-  /* Create the mutex(es) */
-  /* definition and creation of m_table */
-  osMutexDef(m_table);
-  m_tableHandle = osMutexCreate(osMutex(m_table));
-
-  /* definition and creation of m_change */
-  osMutexDef(m_change);
-  m_changeHandle = osMutexCreate(osMutex(m_change));
-
-  /* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-  /* USER CODE END RTOS_MUTEX */
-
-  /* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-  /* USER CODE END RTOS_SEMAPHORES */
-
-  /* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-  /* USER CODE END RTOS_TIMERS */
-
-  /* Create the thread(s) */
-  /* definition and creation of MainTask */
-  osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-  MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-  /* definition and creation of Task20ms */
-  osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-  Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-  /* definition and creation of TaskXms */
-  osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-  TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-  /* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-  /* USER CODE END RTOS_THREADS */
-
-  /* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-  /* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument)
-{
-
-  /* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	initialisation();
-	for (;;) {
-		osMutexWait(m_tableHandle, 0);
-		ancienheure = heure;
-		heure=lireRTOS();
-
-		ecrireEprom(heure);
-		if(PollHeure(heure, ancienheure)){
-			changeHeure(heure);
-		}
-		osDelay(3000);
-		osMutexRelease(m_tableHandle, 0);
-	}
-  /* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument)
-{
-  /* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			allume(table,1);
-			eteint(table,1);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(20);
-		}
-
-	}
-  /* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument)
-{
-  /* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(m_tableHandle, 0);
-			eteint(i,3);
-			allume(i,3);
-			osMutexWait(m_tableHandle, 0);
-			osDelay(Xms);
-		}
-	}
-  /* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i, int Etat){
-	if(Etat == 1){
-		switch(i){
-			case 0:
-				if (table[0]==1)
-					HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-				break;
-			case 1:
-				if (table[1]==1)
-					HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_SET);
-				break;
-			case 2:
-				if (table[2]==1)
-					HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_SET);
-				break;
-			case 3:
-				if (table[3]==1)
-					HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_SET);
-				break;
-			case 4:
-				if (table[4]==1)
-					HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_SET);
-				break;
-			case 5:
-				if (table[5]==1)
-					HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_SET);
-				break;
-			case 6:
-				if (table[6]==1)
-					HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_SET);
-				break;
-			case 7:
-				if (table[7]==1)
-					HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_SET);
-				break;
-			case 8:
-				if (table[8]==1)
-					HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_SET);
-				break;
-			case 9:
-				if (table[9]==1)
-					HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_SET);
-				break;
-			case 10:
-				if (table[10]==1)
-					HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_SET);
-				break;
-			case 11:
-				if (table[11]==1)
-					HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_SET);
-				break;
-			default:
-				break;
-		}
-	}
-}
-
-void eteint(int i){
-	switch(i){
-		case 0:
-			HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_RESET);
-			break;
-		case 1:
-			HAL_GPIO_WritePin(S2_GPIO_Port,S2_Pin,GPIO_PIN_RESET);
-			break;
-		case 2:
-			HAL_GPIO_WritePin(S3_GPIO_Port,S3_Pin,GPIO_PIN_RESET);
-			break;
-		case 3:
-			HAL_GPIO_WritePin(S4_GPIO_Port,S4_Pin,GPIO_PIN_RESET);
-			break;
-		case 4:
-			HAL_GPIO_WritePin(S5_GPIO_Port,S5_Pin,GPIO_PIN_RESET);
-			break;
-		case 5:
-			HAL_GPIO_WritePin(S6_GPIO_Port,S6_Pin,GPIO_PIN_RESET);
-			break;
-		case 6:
-			HAL_GPIO_WritePin(S7_GPIO_Port,S7_Pin,GPIO_PIN_RESET);
-			break;
-		case 7:
-			HAL_GPIO_WritePin(S8_GPIO_Port,S8_Pin,GPIO_PIN_RESET);
-			break;
-		case 8:
-			HAL_GPIO_WritePin(S9_GPIO_Port,S9_Pin,GPIO_PIN_RESET);
-			break;
-		case 9:
-			HAL_GPIO_WritePin(S10_GPIO_Port,S10_Pin,GPIO_PIN_RESET);
-			break;
-		case 10:
-			HAL_GPIO_WritePin(S11_GPIO_Port,S11_Pin,GPIO_PIN_RESET);
-			break;
-		case 11:
-			HAL_GPIO_WritePin(S12_GPIO_Port,S12_Pin,GPIO_PIN_RESET);
-			break;
-		default:
-			break;
-	}
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0 - 215
soft/.metadata/.plugins/org.eclipse.core.resources/.history/ff/d07407477b3500171025a17b13aa5e23

@@ -1,215 +0,0 @@
-/**
- ******************************************************************************
- * File Name          : freertos.c
- * Description        : Code for freertos applications
- ******************************************************************************
- *
- * Copyright (c) 2017 STMicroelectronics International N.V.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted, provided that the following conditions are met:
- *
- * 1. Redistribution 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 STMicroelectronics nor the names of other
- *    contributors to this software may be used to endorse or promote products
- *    derived from this software without specific written permission.
- * 4. This software, including modifications and/or derivative works of this
- *    software, must execute solely and exclusively on microcontroller or
- *    microprocessor devices manufactured by or for STMicroelectronics.
- * 5. Redistribution and use of this software other than as permitted under
- *    this license is void and will automatically terminate your rights under
- *    this license.
- *
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT
- * SHALL STMICROELECTRONICS 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.
- *
- ******************************************************************************
- */
-
-/* Includes ------------------------------------------------------------------*/
-#include "FreeRTOS.h"
-#include "task.h"
-#include "cmsis_os.h"
-
-/* USER CODE BEGIN Includes */
-#include "gpio.h"
-/* USER CODE END Includes */
-
-/* Variables -----------------------------------------------------------------*/
-osThreadId MainTaskHandle;
-osThreadId Task20msHandle;
-osThreadId TaskXmsHandle;
-osMutexId myMutex01Handle;
-
-/* USER CODE BEGIN Variables */
-int8_t g_change; // variable globale savoir si il y a du changement
-uint8_t table[12];//tableau des changement au cours de cette heure;
-
-/* USER CODE END Variables */
-
-/* Function prototypes -------------------------------------------------------*/
-void f_MainTask(void const * argument);
-void f_20ms(void const * argument);
-void f_xms(void const * argument);
-
-void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
-
-/* USER CODE BEGIN FunctionPrototypes */
-
-/* USER CODE END FunctionPrototypes */
-
-/* Hook prototypes */
-
-/* Init FreeRTOS */
-
-void MX_FREERTOS_Init(void) {
-	/* USER CODE BEGIN Init */
-
-	/* USER CODE END Init */
-
-	/* Create the mutex(es) */
-	/* definition and creation of myMutex01 */
-	osMutexDef(myMutex01);
-	myMutex01Handle = osMutexCreate(osMutex(myMutex01));
-
-	/* USER CODE BEGIN RTOS_MUTEX */
-	/* add mutexes, ... */
-	/* USER CODE END RTOS_MUTEX */
-
-	/* USER CODE BEGIN RTOS_SEMAPHORES */
-	/* add semaphores, ... */
-	/* USER CODE END RTOS_SEMAPHORES */
-
-	/* USER CODE BEGIN RTOS_TIMERS */
-	/* start timers, add new ones, ... */
-	/* USER CODE END RTOS_TIMERS */
-
-	/* Create the thread(s) */
-	/* definition and creation of MainTask */
-	osThreadDef(MainTask, f_MainTask, osPriorityNormal, 0, 128);
-	MainTaskHandle = osThreadCreate(osThread(MainTask), NULL);
-
-	/* definition and creation of Task20ms */
-	osThreadDef(Task20ms, f_20ms, osPriorityHigh, 0, 128);
-	Task20msHandle = osThreadCreate(osThread(Task20ms), NULL);
-
-	/* definition and creation of TaskXms */
-	osThreadDef(TaskXms, f_xms, osPriorityHigh, 0, 128);
-	TaskXmsHandle = osThreadCreate(osThread(TaskXms), NULL);
-
-	/* USER CODE BEGIN RTOS_THREADS */
-	/* add threads, ... */
-	/* USER CODE END RTOS_THREADS */
-
-	/* USER CODE BEGIN RTOS_QUEUES */
-	/* add queues, ... */
-	/* USER CODE END RTOS_QUEUES */
-}
-
-/* f_MainTask function */
-void f_MainTask(void const * argument) {
-
-	/* USER CODE BEGIN f_MainTask */
-	/* Infinite loop */
-	for (;;) {
-		osDelay(1);
-	}
-	/* USER CODE END f_MainTask */
-}
-
-/* f_20ms function */
-void f_20ms(void const * argument) {
-	/* USER CODE BEGIN f_20ms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			for (i = 0; i < 12; i++) {
-				if (table[i] == 2)
-					allume(i);
-				else if (table[i] == 3)
-					eteint(i);
-			}
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-
-	}
-	/* USER CODE END f_20ms */
-}
-
-/* f_xms function */
-void f_xms(void const * argument) {
-	/* USER CODE BEGIN f_xms */
-	/* Infinite loop */
-	for (;;) {
-		if (g_change) {
-			int i;
-			osMutexWait(myMutex01Handle, 0);
-			if (table[i] == 2)
-				eteint(i);
-			else if (table[i] == 3)
-				allume(i);
-			osMutexWait(myMutex01Handle, 0);
-			osDelay(1);
-		}
-	}
-	/* USER CODE END f_xms */
-}
-
-/* USER CODE BEGIN Application */
-void allume(int i){
-switch(i){
-	case 0:
-		HAL_GPIO_WritePin(S1_GPIO_Port,S1_Pin,GPIO_PIN_SET);
-		break;
-	case 1:
-		break;
-	case 2:
-		break;
-	case 3:
-		break;
-	case 4:
-		break;
-	case 5:
-		break;
-	case 6:
-		break;
-	case 7:
-		break;
-	case 8:
-		break;
-	case 9:
-		break;
-	case 10:
-		break;
-	case 11:
-		break;
-	case 12:
-		break;
-
-}
-}
-
-void eteint(int i){
-
-}
-/* USER CODE END Application */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

BIN
soft/.metadata/.plugins/org.eclipse.core.resources/.projects/Controle/.indexes/1/ce/ce/c5/ae/properties.index


BIN
soft/.metadata/.plugins/org.eclipse.core.resources/.projects/Controle/.indexes/c4/history.index


BIN
soft/.metadata/.plugins/org.eclipse.core.resources/.projects/Controle/.indexes/c4/properties.index


BIN
soft/.metadata/.plugins/org.eclipse.core.resources/.projects/Controle/.indexes/properties.index


BIN
soft/.metadata/.plugins/org.eclipse.core.resources/.projects/Controle/.markers.snap


BIN
soft/.metadata/.plugins/org.eclipse.core.resources/.projects/Controle/.syncinfo.snap


+ 0 - 3
soft/.metadata/.plugins/org.eclipse.core.resources/.projects/Controle/org.eclipse.egit.core/GitProjectData.properties

@@ -1,3 +0,0 @@
-#GitProjectData
-#Wed May 10 13:14:53 CEST 2017
-.gitdir=../../.git

BIN
soft/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.markers.snap


BIN
soft/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.syncinfo.snap


BIN
soft/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index


BIN
soft/.metadata/.plugins/org.eclipse.core.resources/.root/.markers.snap


BIN
soft/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources


BIN
soft/.metadata/.plugins/org.eclipse.core.resources/0.snap


+ 0 - 2
soft/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prj-Controle.prefs

@@ -1,2 +0,0 @@
-eclipse.preferences.version=1
-indexer/preferenceScope=0

Неке датотеке нису приказане због велике количине промена