Browse Source

Version du moniteur proche de la version finale, petits bugs corrigés dans le testeur du superviseur

Sébastien DI MERCURIO 5 years ago
parent
commit
3476b91f5e
100 changed files with 0 additions and 23170 deletions
  1. BIN
      incubateur/1_ARUCO.pdf
  2. 0
    11
      incubateur/Aruco_opencv_python/.idea/Aruco_opencv.iml
  3. 0
    7
      incubateur/Aruco_opencv_python/.idea/misc.xml
  4. 0
    8
      incubateur/Aruco_opencv_python/.idea/modules.xml
  5. 0
    546
      incubateur/Aruco_opencv_python/.idea/workspace.xml
  6. BIN
      incubateur/Aruco_opencv_python/__pycache__/calibrate.cpython-35.pyc
  7. 0
    15
      incubateur/Aruco_opencv_python/aruco_create.py
  8. 0
    34
      incubateur/Aruco_opencv_python/aruco_detection.py
  9. 0
    35
      incubateur/Aruco_opencv_python/calibrate.py
  10. 0
    21
      incubateur/Aruco_opencv_python/getCalibrationImage.py
  11. BIN
      incubateur/Aruco_opencv_python/img_aruco/aruco_1.jpg
  12. BIN
      incubateur/Aruco_opencv_python/img_aruco/aruco_10.jpg
  13. BIN
      incubateur/Aruco_opencv_python/img_aruco/aruco_11.jpg
  14. BIN
      incubateur/Aruco_opencv_python/img_aruco/aruco_2.jpg
  15. BIN
      incubateur/Aruco_opencv_python/img_aruco/aruco_3.jpg
  16. BIN
      incubateur/Aruco_opencv_python/img_aruco/aruco_4.jpg
  17. BIN
      incubateur/Aruco_opencv_python/img_aruco/aruco_5.jpg
  18. BIN
      incubateur/Aruco_opencv_python/img_aruco/aruco_6.jpg
  19. BIN
      incubateur/Aruco_opencv_python/img_aruco/aruco_7.jpg
  20. BIN
      incubateur/Aruco_opencv_python/img_aruco/aruco_8.jpg
  21. BIN
      incubateur/Aruco_opencv_python/img_aruco/aruco_9.jpg
  22. BIN
      incubateur/Aruco_opencv_python/img_calibrate/calibration_1.jpg
  23. BIN
      incubateur/Aruco_opencv_python/img_calibrate/calibration_10.jpg
  24. BIN
      incubateur/Aruco_opencv_python/img_calibrate/calibration_11.jpg
  25. BIN
      incubateur/Aruco_opencv_python/img_calibrate/calibration_12.jpg
  26. BIN
      incubateur/Aruco_opencv_python/img_calibrate/calibration_13.jpg
  27. BIN
      incubateur/Aruco_opencv_python/img_calibrate/calibration_14.jpg
  28. BIN
      incubateur/Aruco_opencv_python/img_calibrate/calibration_15.jpg
  29. BIN
      incubateur/Aruco_opencv_python/img_calibrate/calibration_2.jpg
  30. BIN
      incubateur/Aruco_opencv_python/img_calibrate/calibration_3.jpg
  31. BIN
      incubateur/Aruco_opencv_python/img_calibrate/calibration_4.jpg
  32. BIN
      incubateur/Aruco_opencv_python/img_calibrate/calibration_5.jpg
  33. BIN
      incubateur/Aruco_opencv_python/img_calibrate/calibration_6.jpg
  34. BIN
      incubateur/Aruco_opencv_python/img_calibrate/calibration_7.jpg
  35. BIN
      incubateur/Aruco_opencv_python/img_calibrate/calibration_8.jpg
  36. BIN
      incubateur/Aruco_opencv_python/img_calibrate/calibration_9.jpg
  37. 0
    138
      incubateur/Aruco_opencv_python/opengl_opencv.py
  38. BIN
      incubateur/aruco_generer.pdf
  39. 0
    6
      incubateur/dumby_rtos2/Lisez-moi
  40. 0
    13
      incubateur/dumby_rtos2/dumby2/.mxproject
  41. 0
    10511
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103x6.h
  42. 0
    238
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
  43. 0
    116
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
  44. 0
    332
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f100xb.s
  45. 0
    363
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f100xe.s
  46. 0
    295
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f101x6.s
  47. 0
    305
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f101xb.s
  48. 0
    343
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f101xe.s
  49. 0
    355
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f101xg.s
  50. 0
    302
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f102x6.s
  51. 0
    312
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f102xb.s
  52. 0
    314
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f103x6.s
  53. 0
    324
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f103xb.s
  54. 0
    373
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f103xe.s
  55. 0
    373
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f103xg.s
  56. 0
    381
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f105xc.s
  57. 0
    385
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f107xc.s
  58. 0
    422
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f100xb.s
  59. 0
    464
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f100xe.s
  60. 0
    337
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f101x6.s
  61. 0
    353
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f101xb.s
  62. 0
    438
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f101xe.s
  63. 0
    454
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f101xg.s
  64. 0
    345
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f102x6.s
  65. 0
    361
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f102xb.s
  66. 0
    363
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f103x6.s
  67. 0
    379
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f103xb.s
  68. 0
    485
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f103xe.s
  69. 0
    482
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f103xg.s
  70. 0
    476
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f105xc.s
  71. 0
    487
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f107xc.s
  72. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f100xb_flash.icf
  73. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f100xb_sram.icf
  74. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f100xe_flash.icf
  75. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f100xe_sram.icf
  76. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f101x6_flash.icf
  77. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f101x6_sram.icf
  78. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f101xb_flash.icf
  79. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f101xb_sram.icf
  80. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f101xe_flash.icf
  81. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f101xe_sram.icf
  82. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f101xg_flash.icf
  83. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f101xg_sram.icf
  84. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f102x6_flash.icf
  85. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f102x6_sram.icf
  86. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f102xb_flash.icf
  87. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f102xb_sram.icf
  88. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f103x6_flash.icf
  89. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f103x6_sram.icf
  90. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f103xb_flash.icf
  91. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f103xb_sram.icf
  92. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f103xe_flash.icf
  93. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f103xe_sram.icf
  94. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f103xg_flash.icf
  95. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f103xg_sram.icf
  96. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f105xc_flash.icf
  97. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f105xc_sram.icf
  98. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f107xc_flash.icf
  99. 0
    31
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/linker/stm32f107xc_sram.icf
  100. 0
    0
      incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f100xb.s

BIN
incubateur/1_ARUCO.pdf View File


+ 0
- 11
incubateur/Aruco_opencv_python/.idea/Aruco_opencv.iml View File

@@ -1,11 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<module type="PYTHON_MODULE" version="4">
3
-  <component name="NewModuleRootManager">
4
-    <content url="file://$MODULE_DIR$" />
5
-    <orderEntry type="inheritedJdk" />
6
-    <orderEntry type="sourceFolder" forTests="false" />
7
-  </component>
8
-  <component name="TestRunnerService">
9
-    <option name="PROJECT_TEST_RUNNER" value="Unittests" />
10
-  </component>
11
-</module>

+ 0
- 7
incubateur/Aruco_opencv_python/.idea/misc.xml View File

@@ -1,7 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project version="4">
3
-  <component name="JavaScriptSettings">
4
-    <option name="languageLevel" value="ES6" />
5
-  </component>
6
-  <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.5" project-jdk-type="Python SDK" />
7
-</project>

+ 0
- 8
incubateur/Aruco_opencv_python/.idea/modules.xml View File

@@ -1,8 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project version="4">
3
-  <component name="ProjectModuleManager">
4
-    <modules>
5
-      <module fileurl="file://$PROJECT_DIR$/.idea/Aruco_opencv.iml" filepath="$PROJECT_DIR$/.idea/Aruco_opencv.iml" />
6
-    </modules>
7
-  </component>
8
-</project>

+ 0
- 546
incubateur/Aruco_opencv_python/.idea/workspace.xml View File

@@ -1,546 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project version="4">
3
-  <component name="ChangeListManager">
4
-    <list default="true" id="47ca631b-dc62-4446-a33d-e49bb58e0642" name="Default" comment="" />
5
-    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
6
-    <option name="TRACKING_ENABLED" value="true" />
7
-    <option name="SHOW_DIALOG" value="false" />
8
-    <option name="HIGHLIGHT_CONFLICTS" value="true" />
9
-    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
10
-    <option name="LAST_RESOLUTION" value="IGNORE" />
11
-  </component>
12
-  <component name="CoverageDataManager">
13
-    <SUITE FILE_PATH="coverage/Aruco_opencv$opengl_opencv.coverage" NAME="opengl_opencv Coverage Results" MODIFIED="1524744453708" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
14
-    <SUITE FILE_PATH="coverage/Aruco_opencv$camera_calibration.coverage" NAME="camera_calibration Coverage Results" MODIFIED="1524665271117" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
15
-    <SUITE FILE_PATH="coverage/Aruco_opencv$calibrate.coverage" NAME="calibrate Coverage Results" MODIFIED="1530281069792" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
16
-    <SUITE FILE_PATH="coverage/Aruco_opencv$opencv_opengl.coverage" NAME="opencv_opengl Coverage Results" MODIFIED="1524734429270" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
17
-    <SUITE FILE_PATH="coverage/Aruco_opencv$aruco_create.coverage" NAME="aruco_create Coverage Results" MODIFIED="1524673519668" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
18
-    <SUITE FILE_PATH="coverage/Aruco_opencv$aruco_detection.coverage" NAME="aruco_detection Coverage Results" MODIFIED="1530282416329" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
19
-    <SUITE FILE_PATH="coverage/Aruco_opencv$getCalibrationImage.coverage" NAME="getCalibrationImage Coverage Results" MODIFIED="1530282201001" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
20
-  </component>
21
-  <component name="FileEditorManager">
22
-    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
23
-      <file leaf-file-name="aruco_detection.py" pinned="false" current-in-tab="true">
24
-        <entry file="file://$PROJECT_DIR$/aruco_detection.py">
25
-          <provider selected="true" editor-type-id="text-editor">
26
-            <state relative-caret-position="315">
27
-              <caret line="21" column="17" lean-forward="true" selection-start-line="21" selection-start-column="17" selection-end-line="21" selection-end-column="17" />
28
-              <folding>
29
-                <element signature="e#0#16#0" expanded="true" />
30
-              </folding>
31
-            </state>
32
-          </provider>
33
-        </entry>
34
-      </file>
35
-      <file leaf-file-name="aruco_create.py" pinned="false" current-in-tab="false">
36
-        <entry file="file://$PROJECT_DIR$/aruco_create.py">
37
-          <provider selected="true" editor-type-id="text-editor">
38
-            <state relative-caret-position="120">
39
-              <caret line="8" column="9" selection-start-line="8" selection-start-column="9" selection-end-line="15" />
40
-              <folding>
41
-                <element signature="e#0#16#0" expanded="true" />
42
-              </folding>
43
-            </state>
44
-          </provider>
45
-        </entry>
46
-      </file>
47
-      <file leaf-file-name="aruco_11.jpg" pinned="false" current-in-tab="false">
48
-        <entry file="file://$PROJECT_DIR$/img_aruco/aruco_11.jpg">
49
-          <provider selected="true" editor-type-id="images" />
50
-        </entry>
51
-      </file>
52
-      <file leaf-file-name="aruco_10.jpg" pinned="false" current-in-tab="false">
53
-        <entry file="file://$PROJECT_DIR$/img_aruco/aruco_10.jpg">
54
-          <provider selected="true" editor-type-id="images" />
55
-        </entry>
56
-      </file>
57
-      <file leaf-file-name="aruco_8.jpg" pinned="false" current-in-tab="false">
58
-        <entry file="file://$PROJECT_DIR$/img_aruco/aruco_8.jpg">
59
-          <provider selected="true" editor-type-id="images" />
60
-        </entry>
61
-      </file>
62
-      <file leaf-file-name="calibrate.py" pinned="false" current-in-tab="false">
63
-        <entry file="file://$PROJECT_DIR$/calibrate.py">
64
-          <provider selected="true" editor-type-id="text-editor">
65
-            <state relative-caret-position="480">
66
-              <caret line="34" column="47" lean-forward="true" selection-start-line="34" selection-start-column="47" selection-end-line="34" selection-end-column="47" />
67
-            </state>
68
-          </provider>
69
-        </entry>
70
-      </file>
71
-      <file leaf-file-name="opengl_opencv.py" pinned="false" current-in-tab="false">
72
-        <entry file="file://$PROJECT_DIR$/opengl_opencv.py">
73
-          <provider selected="true" editor-type-id="text-editor">
74
-            <state relative-caret-position="592">
75
-              <caret line="72" column="20" selection-start-line="72" selection-start-column="20" selection-end-line="72" selection-end-column="20" />
76
-            </state>
77
-          </provider>
78
-        </entry>
79
-      </file>
80
-      <file leaf-file-name="getCalibrationImage.py" pinned="false" current-in-tab="false">
81
-        <entry file="file://$PROJECT_DIR$/getCalibrationImage.py">
82
-          <provider selected="true" editor-type-id="text-editor">
83
-            <state relative-caret-position="315">
84
-              <caret line="21" selection-start-line="21" selection-end-line="21" />
85
-            </state>
86
-          </provider>
87
-        </entry>
88
-      </file>
89
-      <file leaf-file-name="calibration_1.jpg" pinned="false" current-in-tab="false">
90
-        <entry file="file://$PROJECT_DIR$/img_calibrate/calibration_1.jpg">
91
-          <provider selected="true" editor-type-id="images" />
92
-        </entry>
93
-      </file>
94
-      <file leaf-file-name="calibration_6.jpg" pinned="false" current-in-tab="false">
95
-        <entry file="file://$PROJECT_DIR$/img_calibrate/calibration_6.jpg">
96
-          <provider selected="true" editor-type-id="images" />
97
-        </entry>
98
-      </file>
99
-    </leaf>
100
-  </component>
101
-  <component name="FileTemplateManagerImpl">
102
-    <option name="RECENT_TEMPLATES">
103
-      <list>
104
-        <option value="Python Script" />
105
-      </list>
106
-    </option>
107
-  </component>
108
-  <component name="FindInProjectRecents">
109
-    <findStrings>
110
-      <find>ret</find>
111
-      <find>criteria</find>
112
-      <find>720</find>
113
-      <find>cv2array</find>
114
-      <find>init</find>
115
-      <find>idle</find>
116
-      <find>fl</find>
117
-      <find>flip</find>
118
-    </findStrings>
119
-  </component>
120
-  <component name="IdeDocumentHistory">
121
-    <option name="CHANGED_PATHS">
122
-      <list>
123
-        <option value="$PROJECT_DIR$/camera_calibration.py" />
124
-        <option value="$PROJECT_DIR$/calibrate.py" />
125
-        <option value="$PROJECT_DIR$/img_calibrate/drawCube.py" />
126
-        <option value="$PROJECT_DIR$/drawCube.py" />
127
-        <option value="$PROJECT_DIR$/opencv_opengl.py" />
128
-        <option value="$PROJECT_DIR$/aruco_create.py" />
129
-        <option value="$PROJECT_DIR$/opengl_opencv.py" />
130
-        <option value="$PROJECT_DIR$/getCalibrationImage.py" />
131
-        <option value="$PROJECT_DIR$/aruco_detection.py" />
132
-      </list>
133
-    </option>
134
-  </component>
135
-  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
136
-  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
137
-  <component name="JsGulpfileManager">
138
-    <detection-done>true</detection-done>
139
-    <sorting>DEFINITION_ORDER</sorting>
140
-  </component>
141
-  <component name="NodePackageJsonFileManager">
142
-    <packageJsonPaths />
143
-  </component>
144
-  <component name="ProjectFrameBounds" extendedState="6">
145
-    <option name="x" value="1926" />
146
-    <option name="y" value="24" />
147
-    <option name="width" value="1914" />
148
-    <option name="height" value="1032" />
149
-  </component>
150
-  <component name="ProjectView">
151
-    <navigator proportions="" version="1">
152
-      <foldersAlwaysOnTop value="true" />
153
-    </navigator>
154
-    <panes>
155
-      <pane id="Scope" />
156
-      <pane id="ProjectPane">
157
-        <subPane>
158
-          <expand>
159
-            <path>
160
-              <item name="Aruco_opencv" type="b2602c69:ProjectViewProjectNode" />
161
-              <item name="Aruco_opencv" type="462c0819:PsiDirectoryNode" />
162
-            </path>
163
-            <path>
164
-              <item name="Aruco_opencv" type="b2602c69:ProjectViewProjectNode" />
165
-              <item name="Aruco_opencv" type="462c0819:PsiDirectoryNode" />
166
-              <item name="img_calibrate" type="462c0819:PsiDirectoryNode" />
167
-            </path>
168
-          </expand>
169
-          <select />
170
-        </subPane>
171
-      </pane>
172
-    </panes>
173
-  </component>
174
-  <component name="PropertiesComponent">
175
-    <property name="WebServerToolWindowFactoryState" value="false" />
176
-    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
177
-    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
178
-    <property name="settings.editor.selected.configurable" value="configurable.group.tools" />
179
-  </component>
180
-  <component name="RecentsManager">
181
-    <key name="CopyFile.RECENT_KEYS">
182
-      <recent name="$PROJECT_DIR$" />
183
-    </key>
184
-  </component>
185
-  <component name="RunDashboard">
186
-    <option name="ruleStates">
187
-      <list>
188
-        <RuleState>
189
-          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
190
-        </RuleState>
191
-        <RuleState>
192
-          <option name="name" value="StatusDashboardGroupingRule" />
193
-        </RuleState>
194
-      </list>
195
-    </option>
196
-  </component>
197
-  <component name="RunManager" selected="Python.aruco_detection">
198
-    <configuration name="aruco_detection" type="PythonConfigurationType" factoryName="Python" temporary="true">
199
-      <module name="Aruco_opencv" />
200
-      <option name="INTERPRETER_OPTIONS" value="" />
201
-      <option name="PARENT_ENVS" value="true" />
202
-      <envs>
203
-        <env name="PYTHONUNBUFFERED" value="1" />
204
-      </envs>
205
-      <option name="SDK_HOME" value="" />
206
-      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
207
-      <option name="IS_MODULE_SDK" value="true" />
208
-      <option name="ADD_CONTENT_ROOTS" value="true" />
209
-      <option name="ADD_SOURCE_ROOTS" value="true" />
210
-      <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
211
-      <option name="SCRIPT_NAME" value="$PROJECT_DIR$/aruco_detection.py" />
212
-      <option name="PARAMETERS" value="" />
213
-      <option name="SHOW_COMMAND_LINE" value="false" />
214
-      <option name="EMULATE_TERMINAL" value="false" />
215
-      <option name="MODULE_MODE" value="false" />
216
-    </configuration>
217
-    <configuration name="calibrate" type="PythonConfigurationType" factoryName="Python" temporary="true">
218
-      <module name="Aruco_opencv" />
219
-      <option name="INTERPRETER_OPTIONS" value="" />
220
-      <option name="PARENT_ENVS" value="true" />
221
-      <envs>
222
-        <env name="PYTHONUNBUFFERED" value="1" />
223
-      </envs>
224
-      <option name="SDK_HOME" value="" />
225
-      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
226
-      <option name="IS_MODULE_SDK" value="true" />
227
-      <option name="ADD_CONTENT_ROOTS" value="true" />
228
-      <option name="ADD_SOURCE_ROOTS" value="true" />
229
-      <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
230
-      <option name="SCRIPT_NAME" value="$PROJECT_DIR$/calibrate.py" />
231
-      <option name="PARAMETERS" value="" />
232
-      <option name="SHOW_COMMAND_LINE" value="false" />
233
-      <option name="EMULATE_TERMINAL" value="false" />
234
-      <option name="MODULE_MODE" value="false" />
235
-    </configuration>
236
-    <configuration name="getCalibrationImage" type="PythonConfigurationType" factoryName="Python" temporary="true">
237
-      <module name="Aruco_opencv" />
238
-      <option name="INTERPRETER_OPTIONS" value="" />
239
-      <option name="PARENT_ENVS" value="true" />
240
-      <envs>
241
-        <env name="PYTHONUNBUFFERED" value="1" />
242
-      </envs>
243
-      <option name="SDK_HOME" value="" />
244
-      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
245
-      <option name="IS_MODULE_SDK" value="true" />
246
-      <option name="ADD_CONTENT_ROOTS" value="true" />
247
-      <option name="ADD_SOURCE_ROOTS" value="true" />
248
-      <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
249
-      <option name="SCRIPT_NAME" value="$PROJECT_DIR$/getCalibrationImage.py" />
250
-      <option name="PARAMETERS" value="" />
251
-      <option name="SHOW_COMMAND_LINE" value="false" />
252
-      <option name="EMULATE_TERMINAL" value="false" />
253
-      <option name="MODULE_MODE" value="false" />
254
-    </configuration>
255
-    <configuration name="opencv_opengl" type="PythonConfigurationType" factoryName="Python" temporary="true">
256
-      <module name="Aruco_opencv" />
257
-      <option name="INTERPRETER_OPTIONS" value="" />
258
-      <option name="PARENT_ENVS" value="true" />
259
-      <envs>
260
-        <env name="PYTHONUNBUFFERED" value="1" />
261
-      </envs>
262
-      <option name="SDK_HOME" value="" />
263
-      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
264
-      <option name="IS_MODULE_SDK" value="true" />
265
-      <option name="ADD_CONTENT_ROOTS" value="true" />
266
-      <option name="ADD_SOURCE_ROOTS" value="true" />
267
-      <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
268
-      <option name="SCRIPT_NAME" value="$PROJECT_DIR$/opencv_opengl.py" />
269
-      <option name="PARAMETERS" value="" />
270
-      <option name="SHOW_COMMAND_LINE" value="false" />
271
-      <option name="EMULATE_TERMINAL" value="false" />
272
-      <option name="MODULE_MODE" value="false" />
273
-    </configuration>
274
-    <configuration name="opengl_opencv" type="PythonConfigurationType" factoryName="Python" temporary="true">
275
-      <module name="Aruco_opencv" />
276
-      <option name="INTERPRETER_OPTIONS" value="" />
277
-      <option name="PARENT_ENVS" value="true" />
278
-      <envs>
279
-        <env name="PYTHONUNBUFFERED" value="1" />
280
-      </envs>
281
-      <option name="SDK_HOME" value="" />
282
-      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
283
-      <option name="IS_MODULE_SDK" value="true" />
284
-      <option name="ADD_CONTENT_ROOTS" value="true" />
285
-      <option name="ADD_SOURCE_ROOTS" value="true" />
286
-      <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
287
-      <option name="SCRIPT_NAME" value="$PROJECT_DIR$/opengl_opencv.py" />
288
-      <option name="PARAMETERS" value="" />
289
-      <option name="SHOW_COMMAND_LINE" value="false" />
290
-      <option name="EMULATE_TERMINAL" value="false" />
291
-      <option name="MODULE_MODE" value="false" />
292
-    </configuration>
293
-    <list>
294
-      <item itemvalue="Python.aruco_detection" />
295
-      <item itemvalue="Python.getCalibrationImage" />
296
-      <item itemvalue="Python.opencv_opengl" />
297
-      <item itemvalue="Python.opengl_opencv" />
298
-      <item itemvalue="Python.calibrate" />
299
-    </list>
300
-    <recent_temporary>
301
-      <list>
302
-        <item itemvalue="Python.aruco_detection" />
303
-        <item itemvalue="Python.getCalibrationImage" />
304
-        <item itemvalue="Python.calibrate" />
305
-        <item itemvalue="Python.opengl_opencv" />
306
-        <item itemvalue="Python.opencv_opengl" />
307
-      </list>
308
-    </recent_temporary>
309
-  </component>
310
-  <component name="SvnConfiguration">
311
-    <configuration />
312
-  </component>
313
-  <component name="TaskManager">
314
-    <task active="true" id="Default" summary="Default task">
315
-      <changelist id="47ca631b-dc62-4446-a33d-e49bb58e0642" name="Default" comment="" />
316
-      <created>1524648559812</created>
317
-      <option name="number" value="Default" />
318
-      <option name="presentableId" value="Default" />
319
-      <updated>1524648559812</updated>
320
-    </task>
321
-    <servers />
322
-  </component>
323
-  <component name="ToolWindowManager">
324
-    <frame x="1919" y="24" width="1922" height="1033" extended-state="6" />
325
-    <layout>
326
-      <window_info anchor="bottom" id="TODO" order="6" />
327
-      <window_info anchor="bottom" id="Event Log" order="7" side_tool="true" />
328
-      <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
329
-      <window_info anchor="bottom" id="Run" order="2" weight="0.29913607" />
330
-      <window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" />
331
-      <window_info anchor="bottom" id="Python Console" order="7" />
332
-      <window_info anchor="bottom" id="Terminal" order="7" />
333
-      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.18177083" />
334
-      <window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
335
-      <window_info anchor="right" id="Database" order="3" />
336
-      <window_info anchor="right" id="SciView" order="3" weight="0.3296875" />
337
-      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
338
-      <window_info anchor="bottom" id="Debug" order="3" weight="0.39956802" />
339
-      <window_info id="Favorites" order="2" side_tool="true" />
340
-      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
341
-      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
342
-      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
343
-      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
344
-      <window_info anchor="bottom" id="Message" order="0" />
345
-      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
346
-      <window_info anchor="bottom" id="Find" order="1" weight="0.32937366" />
347
-    </layout>
348
-  </component>
349
-  <component name="TypeScriptGeneratedFilesManager">
350
-    <option name="version" value="1" />
351
-  </component>
352
-  <component name="VcsContentAnnotationSettings">
353
-    <option name="myLimit" value="2678400000" />
354
-  </component>
355
-  <component name="XDebuggerManager">
356
-    <breakpoint-manager>
357
-      <option name="time" value="24" />
358
-    </breakpoint-manager>
359
-  </component>
360
-  <component name="editorHistoryManager">
361
-    <entry file="file://$PROJECT_DIR$/aruco_detection.py">
362
-      <provider selected="true" editor-type-id="text-editor">
363
-        <state relative-caret-position="375">
364
-          <caret line="27" lean-forward="true" selection-start-line="27" selection-end-line="27" />
365
-          <folding>
366
-            <element signature="e#0#16#0" expanded="true" />
367
-          </folding>
368
-        </state>
369
-      </provider>
370
-    </entry>
371
-    <entry file="file://$PROJECT_DIR$/aruco_create.py">
372
-      <provider selected="true" editor-type-id="text-editor">
373
-        <state relative-caret-position="135">
374
-          <caret line="10" column="17" selection-start-line="10" selection-start-column="17" selection-end-line="10" selection-end-column="17" />
375
-          <folding>
376
-            <element signature="e#0#16#0" expanded="true" />
377
-          </folding>
378
-        </state>
379
-      </provider>
380
-    </entry>
381
-    <entry file="file://$PROJECT_DIR$/aruco_detection.py">
382
-      <provider selected="true" editor-type-id="text-editor">
383
-        <state relative-caret-position="375">
384
-          <caret line="27" lean-forward="true" selection-start-line="27" selection-end-line="27" />
385
-          <folding>
386
-            <element signature="e#0#16#0" expanded="true" />
387
-          </folding>
388
-        </state>
389
-      </provider>
390
-    </entry>
391
-    <entry file="file://$PROJECT_DIR$/aruco_create.py">
392
-      <provider selected="true" editor-type-id="text-editor">
393
-        <state relative-caret-position="135">
394
-          <caret line="10" column="17" selection-start-line="10" selection-start-column="17" selection-end-line="10" selection-end-column="17" />
395
-          <folding>
396
-            <element signature="e#0#16#0" expanded="true" />
397
-          </folding>
398
-        </state>
399
-      </provider>
400
-    </entry>
401
-    <entry file="file://$PROJECT_DIR$/aruco_detection.py">
402
-      <provider selected="true" editor-type-id="text-editor">
403
-        <state relative-caret-position="375">
404
-          <caret line="27" lean-forward="true" selection-start-line="27" selection-end-line="27" />
405
-          <folding>
406
-            <element signature="e#0#16#0" expanded="true" />
407
-          </folding>
408
-        </state>
409
-      </provider>
410
-    </entry>
411
-    <entry file="file://$PROJECT_DIR$/aruco_create.py">
412
-      <provider selected="true" editor-type-id="text-editor">
413
-        <state relative-caret-position="135">
414
-          <caret line="10" column="17" lean-forward="true" selection-start-line="10" selection-start-column="17" selection-end-line="10" selection-end-column="17" />
415
-          <folding>
416
-            <element signature="e#0#16#0" expanded="true" />
417
-          </folding>
418
-        </state>
419
-      </provider>
420
-    </entry>
421
-    <entry file="file://$PROJECT_DIR$/aruco_detection.py">
422
-      <provider selected="true" editor-type-id="text-editor">
423
-        <state relative-caret-position="90">
424
-          <caret line="8" column="15" selection-start-line="8" selection-start-column="15" selection-end-line="8" selection-end-column="15" />
425
-          <folding>
426
-            <element signature="e#0#16#0" expanded="true" />
427
-          </folding>
428
-        </state>
429
-      </provider>
430
-    </entry>
431
-    <entry file="file://$PROJECT_DIR$/drawCube.py" />
432
-    <entry file="file://$PROJECT_DIR$/img_aruco/aruco_4.jpg">
433
-      <provider selected="true" editor-type-id="images" />
434
-    </entry>
435
-    <entry file="file://$PROJECT_DIR$/img_calibrate/calibration_15.jpg">
436
-      <provider selected="true" editor-type-id="images" />
437
-    </entry>
438
-    <entry file="file://$PROJECT_DIR$/img_calibrate/calibration_14.jpg">
439
-      <provider selected="true" editor-type-id="images" />
440
-    </entry>
441
-    <entry file="file://$PROJECT_DIR$/img_calibrate/calibration_8.jpg">
442
-      <provider selected="true" editor-type-id="images" />
443
-    </entry>
444
-    <entry file="file://$PROJECT_DIR$/img_calibrate/calibration_10.jpg">
445
-      <provider selected="true" editor-type-id="images" />
446
-    </entry>
447
-    <entry file="file://$PROJECT_DIR$/img_calibrate/calibration_3.jpg">
448
-      <provider selected="true" editor-type-id="images" />
449
-    </entry>
450
-    <entry file="file://$PROJECT_DIR$/img_calibrate/calibration_2.jpg">
451
-      <provider selected="true" editor-type-id="images" />
452
-    </entry>
453
-    <entry file="file://$PROJECT_DIR$/img_calibrate/calibration_11.jpg">
454
-      <provider selected="true" editor-type-id="images" />
455
-    </entry>
456
-    <entry file="file://$PROJECT_DIR$/img_calibrate/calibration_13.jpg">
457
-      <provider selected="true" editor-type-id="images" />
458
-    </entry>
459
-    <entry file="file://$PROJECT_DIR$/img_calibrate/calibration_12.jpg">
460
-      <provider selected="true" editor-type-id="images" />
461
-    </entry>
462
-    <entry file="file://$PROJECT_DIR$/img_calibrate/calibration_7.jpg">
463
-      <provider selected="true" editor-type-id="images" />
464
-    </entry>
465
-    <entry file="file://$PROJECT_DIR$/img_calibrate/calibration_4.jpg">
466
-      <provider selected="true" editor-type-id="images" />
467
-    </entry>
468
-    <entry file="file://$PROJECT_DIR$/img_calibrate/calibration_5.jpg">
469
-      <provider selected="true" editor-type-id="images" />
470
-    </entry>
471
-    <entry file="file://$PROJECT_DIR$/img_calibrate/calibration_9.jpg">
472
-      <provider selected="true" editor-type-id="images" />
473
-    </entry>
474
-    <entry file="file://$PROJECT_DIR$/img_aruco/aruco_3.jpg">
475
-      <provider selected="true" editor-type-id="images" />
476
-    </entry>
477
-    <entry file="file://$PROJECT_DIR$/img_aruco/aruco_1.jpg">
478
-      <provider selected="true" editor-type-id="images" />
479
-    </entry>
480
-    <entry file="file://$PROJECT_DIR$/img_aruco/aruco_2.jpg">
481
-      <provider selected="true" editor-type-id="images" />
482
-    </entry>
483
-    <entry file="file://$PROJECT_DIR$/img_aruco/aruco_7.jpg">
484
-      <provider selected="true" editor-type-id="images" />
485
-    </entry>
486
-    <entry file="file://$PROJECT_DIR$/img_aruco/aruco_5.jpg">
487
-      <provider selected="true" editor-type-id="images" />
488
-    </entry>
489
-    <entry file="file://$PROJECT_DIR$/img_aruco/aruco_8.jpg">
490
-      <provider selected="true" editor-type-id="images" />
491
-    </entry>
492
-    <entry file="file://$PROJECT_DIR$/img_aruco/aruco_10.jpg">
493
-      <provider selected="true" editor-type-id="images" />
494
-    </entry>
495
-    <entry file="file://$PROJECT_DIR$/img_aruco/aruco_11.jpg">
496
-      <provider selected="true" editor-type-id="images" />
497
-    </entry>
498
-    <entry file="file://$PROJECT_DIR$/aruco_create.py">
499
-      <provider selected="true" editor-type-id="text-editor">
500
-        <state relative-caret-position="120">
501
-          <caret line="8" column="9" selection-start-line="8" selection-start-column="9" selection-end-line="15" />
502
-          <folding>
503
-            <element signature="e#0#16#0" expanded="true" />
504
-          </folding>
505
-        </state>
506
-      </provider>
507
-    </entry>
508
-    <entry file="file://$PROJECT_DIR$/opengl_opencv.py">
509
-      <provider selected="true" editor-type-id="text-editor">
510
-        <state relative-caret-position="592">
511
-          <caret line="72" column="20" selection-start-line="72" selection-start-column="20" selection-end-line="72" selection-end-column="20" />
512
-        </state>
513
-      </provider>
514
-    </entry>
515
-    <entry file="file://$PROJECT_DIR$/getCalibrationImage.py">
516
-      <provider selected="true" editor-type-id="text-editor">
517
-        <state relative-caret-position="315">
518
-          <caret line="21" selection-start-line="21" selection-end-line="21" />
519
-        </state>
520
-      </provider>
521
-    </entry>
522
-    <entry file="file://$PROJECT_DIR$/img_calibrate/calibration_1.jpg">
523
-      <provider selected="true" editor-type-id="images" />
524
-    </entry>
525
-    <entry file="file://$PROJECT_DIR$/img_calibrate/calibration_6.jpg">
526
-      <provider selected="true" editor-type-id="images" />
527
-    </entry>
528
-    <entry file="file://$PROJECT_DIR$/calibrate.py">
529
-      <provider selected="true" editor-type-id="text-editor">
530
-        <state relative-caret-position="480">
531
-          <caret line="34" column="47" lean-forward="true" selection-start-line="34" selection-start-column="47" selection-end-line="34" selection-end-column="47" />
532
-        </state>
533
-      </provider>
534
-    </entry>
535
-    <entry file="file://$PROJECT_DIR$/aruco_detection.py">
536
-      <provider selected="true" editor-type-id="text-editor">
537
-        <state relative-caret-position="315">
538
-          <caret line="21" column="17" lean-forward="true" selection-start-line="21" selection-start-column="17" selection-end-line="21" selection-end-column="17" />
539
-          <folding>
540
-            <element signature="e#0#16#0" expanded="true" />
541
-          </folding>
542
-        </state>
543
-      </provider>
544
-    </entry>
545
-  </component>
546
-</project>

BIN
incubateur/Aruco_opencv_python/__pycache__/calibrate.cpython-35.pyc View File


+ 0
- 15
incubateur/Aruco_opencv_python/aruco_create.py View File

@@ -1,15 +0,0 @@
1
-import cv2 as cv
2
-import cv2.aruco as aruco
3
-
4
-'''
5
-    drawMarker(...)
6
-        drawMarker(dictionary, id, sidePixels[, img[, borderBits]]) -> img
7
-'''
8
-
9
-aruco_dict = aruco.Dictionary_get(aruco.DICT_4X4_50) # Un aruco est composé d'une bande noire et d'un code en blanc et noir
10
-                                                     #4x4 indique la partie ou sera généré le code (blanc et noir donc).
11
-print(aruco_dict)
12
-
13
-for aruco_id in range(1,12):
14
-    img = aruco.drawMarker(aruco_dict, aruco_id, 200)
15
-    cv.imwrite("./img_aruco/aruco_"+str(aruco_id)+".jpg", img)

+ 0
- 34
incubateur/Aruco_opencv_python/aruco_detection.py View File

@@ -1,34 +0,0 @@
1
-import cv2 as cv
2
-import cv2.aruco as aruco
3
-from calibrate import calculareCameraCalibration
4
-
5
-cap = cv.VideoCapture(0)
6
-ret, mtx, dist, rvecs, tvecs = calculareCameraCalibration()
7
-parameters = aruco.DetectorParameters_create()
8
-aruco_dict = aruco.Dictionary_get(aruco.DICT_4X4_50)
9
-drawAxis = True
10
-
11
-while (True):
12
-
13
-    ret, frame = cap.read()
14
-    gray = cv.cvtColor(frame, cv.COLOR_BGR2GRAY)
15
-
16
-    corners, ids, rejectedImgPoints = aruco.detectMarkers(gray, aruco_dict, parameters=parameters)
17
-
18
-    frame = aruco.drawDetectedMarkers(frame, corners, ids)
19
-    rvecs, tvecs, _ = aruco.estimatePoseSingleMarkers(corners, 0.05, mtx, dist)
20
-    if ids is not None:
21
-        for idx, marker in enumerate(ids):
22
-            print(corners[idx][0]) #Affiche les coordonée tout les coins Top Left
23
-            try:
24
-                if drawAxis is True:
25
-                    aruco.drawAxis(frame, mtx,dist,rvecs[idx], tvecs[idx], 0.1)
26
-            except:
27
-                print(" Erreur calcul des axes")
28
-
29
-    cv.imshow('frame', frame)
30
-    if cv.waitKey(1) & 0xFF == ord('q'):
31
-        break
32
-
33
-cap.release()
34
-cv.destroyAllWindows()

+ 0
- 35
incubateur/Aruco_opencv_python/calibrate.py View File

@@ -1,35 +0,0 @@
1
-import numpy as np
2
-import cv2
3
-import glob
4
-
5
-
6
-def calculareCameraCalibration():
7
-    # termination criteria
8
-    criteria = (cv2.TERM_CRITERIA_EPS + cv2.TERM_CRITERIA_MAX_ITER, 23, 0.001)
9
-
10
-    # prepare object points, like (0,0,0), (1,0,0), (2,0,0) ....,(6,5,0)
11
-    objp = np.zeros((6*7,3), np.float32)
12
-    objp[:,:2] = np.mgrid[0:7,0:6].T.reshape(-1,2)
13
-
14
-    # Arrays to store object points and image points from all the images.
15
-    objpoints = [] # 3d point in real world space
16
-    imgpoints = [] # 2d points in image plane.
17
-
18
-    images = glob.glob('./img_calibrate/*.jpg')
19
-
20
-    for fname in images:
21
-        img = cv2.imread(fname)
22
-        gray = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)
23
-
24
-        # Find the chess board corners
25
-        ret, corners = cv2.findChessboardCorners(gray, (7,6),None)
26
-
27
-        # If found, add object points, image points (after refining them)
28
-        if ret == True:
29
-            objpoints.append(objp)
30
-
31
-            corners2 = cv2.cornerSubPix(gray,corners,(11,11),(-1,-1),criteria)
32
-            imgpoints.append(corners2)
33
-
34
-            ret, mtx, dist, rvecs, tvecs = cv2.calibrateCamera(objpoints, imgpoints, gray.shape[::-1], None, None)
35
-            return ret, mtx, dist, rvecs, tvecs

+ 0
- 21
incubateur/Aruco_opencv_python/getCalibrationImage.py View File

@@ -1,21 +0,0 @@
1
-import cv2
2
-
3
-
4
-cap = cv2.VideoCapture(0)
5
-nbrImage = 0
6
-while nbrImage < 15:
7
-    ret, img = cap.read()
8
-    gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
9
-
10
-    # Find the chess board corners
11
-    ret, corners = cv2.findChessboardCorners(gray, (7,6),None)
12
-
13
-    # If found, add object points, image points (after refining them)
14
-    if ret == True:
15
-        nbrImage = nbrImage+1
16
-        cv2.imwrite("./img_calibrate/calibration_" + str(nbrImage) + ".jpg", img)
17
-        cv2.putText(img, 'Image ' + str(nbrImage) + ' /15', (5, 30), cv2.FONT_HERSHEY_SIMPLEX, 0.5, (255, 255, 255), 2, cv2.LINE_AA)
18
-        cv2.imshow('img',img)
19
-        cv2.waitKey(1000)
20
-
21
-cv2.destroyAllWindows()

BIN
incubateur/Aruco_opencv_python/img_aruco/aruco_1.jpg View File


BIN
incubateur/Aruco_opencv_python/img_aruco/aruco_10.jpg View File


BIN
incubateur/Aruco_opencv_python/img_aruco/aruco_11.jpg View File


BIN
incubateur/Aruco_opencv_python/img_aruco/aruco_2.jpg View File


BIN
incubateur/Aruco_opencv_python/img_aruco/aruco_3.jpg View File


BIN
incubateur/Aruco_opencv_python/img_aruco/aruco_4.jpg View File


BIN
incubateur/Aruco_opencv_python/img_aruco/aruco_5.jpg View File


BIN
incubateur/Aruco_opencv_python/img_aruco/aruco_6.jpg View File


BIN
incubateur/Aruco_opencv_python/img_aruco/aruco_7.jpg View File


BIN
incubateur/Aruco_opencv_python/img_aruco/aruco_8.jpg View File


BIN
incubateur/Aruco_opencv_python/img_aruco/aruco_9.jpg View File


BIN
incubateur/Aruco_opencv_python/img_calibrate/calibration_1.jpg View File


BIN
incubateur/Aruco_opencv_python/img_calibrate/calibration_10.jpg View File


BIN
incubateur/Aruco_opencv_python/img_calibrate/calibration_11.jpg View File


BIN
incubateur/Aruco_opencv_python/img_calibrate/calibration_12.jpg View File


BIN
incubateur/Aruco_opencv_python/img_calibrate/calibration_13.jpg View File


BIN
incubateur/Aruco_opencv_python/img_calibrate/calibration_14.jpg View File


BIN
incubateur/Aruco_opencv_python/img_calibrate/calibration_15.jpg View File


BIN
incubateur/Aruco_opencv_python/img_calibrate/calibration_2.jpg View File


BIN
incubateur/Aruco_opencv_python/img_calibrate/calibration_3.jpg View File


BIN
incubateur/Aruco_opencv_python/img_calibrate/calibration_4.jpg View File


BIN
incubateur/Aruco_opencv_python/img_calibrate/calibration_5.jpg View File


BIN
incubateur/Aruco_opencv_python/img_calibrate/calibration_6.jpg View File


BIN
incubateur/Aruco_opencv_python/img_calibrate/calibration_7.jpg View File


BIN
incubateur/Aruco_opencv_python/img_calibrate/calibration_8.jpg View File


BIN
incubateur/Aruco_opencv_python/img_calibrate/calibration_9.jpg View File


+ 0
- 138
incubateur/Aruco_opencv_python/opengl_opencv.py View File

@@ -1,138 +0,0 @@
1
-import cv2
2
-from OpenGL.GL import *
3
-from OpenGL.GLU import *
4
-from OpenGL.GLUT import *
5
-import numpy as np
6
-import sys
7
-
8
-# window dimensions
9
-width = 1280
10
-height = 720
11
-nRange = 1.0
12
-
13
-global capture
14
-capture = None
15
-
16
-
17
-def cv2array(im):
18
-    h, w, c = im.shape
19
-    a = np.fromstring(
20
-        im.tostring(),
21
-        dtype=im.dtype,
22
-        count=w * h * c)
23
-    a.shape = (h, w, c)
24
-    return a
25
-
26
-
27
-def init():
28
-    # glclearcolor (r, g, b, alpha)
29
-    glClearColor(0.0, 0.0, 0.0, 1.0)
30
-
31
-    glutDisplayFunc(display)
32
-    glutReshapeFunc(reshape)
33
-    glutKeyboardFunc(keyboard)
34
-    glutIdleFunc(idle)
35
-
36
-
37
-def idle():
38
-    # capture next frame
39
-
40
-    global capture
41
-    _, image = capture.read()
42
-
43
-    cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
44
-    # you must convert the image to array for glTexImage2D to work
45
-    # maybe there is a faster way that I don't know about yet...
46
-
47
-    # print image_arr
48
-
49
-    # Create Texture
50
-    glTexImage2D(GL_TEXTURE_2D,
51
-                 0,
52
-                 GL_RGB,
53
-                 1280, 720,
54
-                 0,
55
-                 GL_RGB,
56
-                 GL_UNSIGNED_BYTE,
57
-                 image)
58
-    cv2.imshow('frame', image)
59
-    glutPostRedisplay()
60
-
61
-
62
-def display():
63
-    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT)
64
-    glEnable(GL_TEXTURE_2D)
65
-    # glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT)
66
-    # glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT)
67
-    # glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_DECAL)
68
-    # this one is necessary with texture2d for some reason
69
-    glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST)
70
-
71
-    # Set Projection Matrix
72
-    glMatrixMode(GL_PROJECTION)
73
-    glLoadIdentity()
74
-    gluOrtho2D(0, width, 0, height)
75
-
76
-    # Switch to Model View Matrix
77
-    glMatrixMode(GL_MODELVIEW)
78
-    glLoadIdentity()
79
-
80
-    # Draw textured Quads
81
-    glBegin(GL_QUADS)
82
-    glTexCoord2f(0.0, 0.0)
83
-    glVertex2f(0.0, 0.0)
84
-    glTexCoord2f(1.0, 0.0)
85
-    glVertex2f(width, 0.0)
86
-    glTexCoord2f(1.0, 1.0)
87
-    glVertex2f(width, height)
88
-    glTexCoord2f(0.0, 1.0)
89
-    glVertex2f(0.0, height)
90
-    glEnd()
91
-
92
-    glFlush()
93
-    glutSwapBuffers()
94
-
95
-
96
-def reshape(w, h):
97
-    if h == 0:
98
-        h = 1
99
-
100
-    glViewport(0, 0, w, h)
101
-    glMatrixMode(GL_PROJECTION)
102
-
103
-    glLoadIdentity()
104
-    # allows for reshaping the window without distoring shape
105
-
106
-    if w <= h:
107
-        glOrtho(-nRange, nRange, -nRange * h / w, nRange * h / w, -nRange, nRange)
108
-    else:
109
-        glOrtho(-nRange * w / h, nRange * w / h, -nRange, nRange, -nRange, nRange)
110
-
111
-    glMatrixMode(GL_MODELVIEW)
112
-    glLoadIdentity()
113
-
114
-
115
-def keyboard(key, x, y):
116
-    global anim
117
-    if key == chr(27):
118
-        sys.exit()
119
-
120
-
121
-def main():
122
-    global capture
123
-    # start openCV capturefromCAM
124
-    capture = cv2.VideoCapture(0)
125
-    print(capture)
126
-    capture.set(3, 1280)
127
-    capture.set(4, 720)
128
-    glutInit(sys.argv)
129
-    glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH)
130
-    glutInitWindowSize(width, height)
131
-    glutInitWindowPosition(100, 100)
132
-    glutCreateWindow("OpenGL + OpenCV")
133
-
134
-    init()
135
-    glutMainLoop()
136
-
137
-
138
-main()

BIN
incubateur/aruco_generer.pdf View File


+ 0
- 6
incubateur/dumby_rtos2/Lisez-moi View File

@@ -1,6 +0,0 @@
1
-D'aprés mes souvenir :
2
-- Asservissement complétement pourrave
3
-- Architecture globalement correcte
4
-- Reprendre la façon de recevoir des messages pour que ça colle avec la norme 802.15.4
5
-	J'essayais de lire avec une DMA (taille fixe) mais la norme fait bouger la taille en ajoutant 
6
-	parfois des caractéres d'échapement

+ 0
- 13
incubateur/dumby_rtos2/dumby2/.mxproject View File

@@ -1,13 +0,0 @@
1
-[PreviousGenFiles]
2
-HeaderPath=D:/Users/senaneuc/Documents/dumby_rtos2/dumby2/Inc
3
-HeaderFiles=FreeRTOSConfig.h;stm32f1xx_it.h;stm32f1xx_hal_conf.h;main.h;gpio.h;adc.h;dma.h;tim.h;usart.h;
4
-SourcePath=D:/Users/senaneuc/Documents/dumby_rtos2/dumby2/Src
5
-SourceFiles=freertos.c;stm32f1xx_it.c;stm32f1xx_hal_msp.c;stm32f1xx_hal_timebase_TIM.c;main.c;gpio.c;adc.c;dma.c;tim.c;usart.c;
6
-
7
-[PreviousLibFiles]
8
-LibFiles=Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h;Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h;Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3/portmacro.h;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c;Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c;Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3/port.c;Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h;Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h;Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h;Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/system_stm32f1xx.c;Middlewares/Third_Party/FreeRTOS/Source/include/croutine.h;Middlewares/Third_Party/FreeRTOS/Source/include/deprecated_definitions.h;Middlewares/Third_Party/FreeRTOS/Source/include/event_groups.h;Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h;Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOSConfig_template.h;Middlewares/Third_Party/FreeRTOS/Source/include/list.h;Middlewares/Third_Party/FreeRTOS/Source/include/mpu_prototypes.h;Middlewares/Third_Party/FreeRTOS/Source/include/mpu_wrappers.h;Middlewares/Third_Party/FreeRTOS/Source/include/portable.h;Middlewares/Third_Party/FreeRTOS/Source/include/projdefs.h;Middlewares/Third_Party/FreeRTOS/Source/include/queue.h;Middlewares/Third_Party/FreeRTOS/Source/include/semphr.h;Middlewares/Third_Party/FreeRTOS/Source/include/StackMacros.h;Middlewares/Third_Party/FreeRTOS/Source/include/task.h;Middlewares/Third_Party/FreeRTOS/Source/include/timers.h;Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.h;Middlewares/Third_Party/FreeRTOS/Source/croutine.c;Middlewares/Third_Party/FreeRTOS/Source/event_groups.c;Middlewares/Third_Party/FreeRTOS/Source/list.c;Middlewares/Third_Party/FreeRTOS/Source/queue.c;Middlewares/Third_Party/FreeRTOS/Source/tasks.c;Middlewares/Third_Party/FreeRTOS/Source/timers.c;Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.c;Drivers/CMSIS/Include/arm_common_tables.h;Drivers/CMSIS/Include/arm_const_structs.h;Drivers/CMSIS/Include/arm_math.h;Drivers/CMSIS/Include/cmsis_armcc.h;Drivers/CMSIS/Include/cmsis_armcc_V6.h;Drivers/CMSIS/Include/cmsis_gcc.h;Drivers/CMSIS/Include/core_cm0.h;Drivers/CMSIS/Include/core_cm0plus.h;Drivers/CMSIS/Include/core_cm3.h;Drivers/CMSIS/Include/core_cm4.h;Drivers/CMSIS/Include/core_cm7.h;Drivers/CMSIS/Include/core_cmFunc.h;Drivers/CMSIS/Include/core_cmInstr.h;Drivers/CMSIS/Include/core_cmSimd.h;Drivers/CMSIS/Include/core_sc000.h;Drivers/CMSIS/Include/core_sc300.h;
9
-
10
-[PreviousUsedKeilFiles]
11
-SourceFiles=..\Src\main.c;..\Src\gpio.c;..\Src\adc.c;..\Src\dma.c;..\Src\freertos.c;..\Src\tim.c;..\Src\usart.c;..\Src\stm32f1xx_it.c;..\Src\stm32f1xx_hal_msp.c;..\Src\stm32f1xx_hal_timebase_TIM.c;../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c;../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c;../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c;../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c;../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c;../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c;../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c;../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c;../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c;../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c;../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c;../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c;../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c;../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c;../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c;../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c;../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3/port.c;../Middlewares/Third_Party/FreeRTOS/Source/croutine.c;../Middlewares/Third_Party/FreeRTOS/Source/event_groups.c;../Middlewares/Third_Party/FreeRTOS/Source/list.c;../Middlewares/Third_Party/FreeRTOS/Source/queue.c;../Middlewares/Third_Party/FreeRTOS/Source/tasks.c;../Middlewares/Third_Party/FreeRTOS/Source/timers.c;../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.c;../Src/system_stm32f1xx.c;../Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/system_stm32f1xx.c;../Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f103xb.s;../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c;../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3/port.c;../Middlewares/Third_Party/FreeRTOS/Source/croutine.c;../Middlewares/Third_Party/FreeRTOS/Source/event_groups.c;../Middlewares/Third_Party/FreeRTOS/Source/list.c;../Middlewares/Third_Party/FreeRTOS/Source/queue.c;../Middlewares/Third_Party/FreeRTOS/Source/tasks.c;../Middlewares/Third_Party/FreeRTOS/Source/timers.c;../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.c;
12
-HeaderPath=..\Drivers\STM32F1xx_HAL_Driver\Inc;..\Drivers\STM32F1xx_HAL_Driver\Inc\Legacy;..\Middlewares\Third_Party\FreeRTOS\Source\portable\RVDS\ARM_CM3;..\Drivers\CMSIS\Device\ST\STM32F1xx\Include;..\Middlewares\Third_Party\FreeRTOS\Source\include;..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS;..\Drivers\CMSIS\Include;..\Inc;
13
-

+ 0
- 10511
incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103x6.h
File diff suppressed because it is too large
View File


+ 0
- 238
incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h View File

@@ -1,238 +0,0 @@
1
-/**
2
-  ******************************************************************************
3
-  * @file    stm32f1xx.h
4
-  * @author  MCD Application Team
5
-  * @version V4.2.0
6
-  * @date    31-March-2017
7
-  * @brief   CMSIS STM32F1xx Device Peripheral Access Layer Header File. 
8
-  *
9
-  *          The file is the unique include file that the application programmer
10
-  *          is using in the C source code, usually in main.c. This file contains:
11
-  *            - Configuration section that allows to select:
12
-  *              - The STM32F1xx device used in the target application
13
-  *              - To use or not the peripheral’s drivers in application code(i.e. 
14
-  *                code will be based on direct access to peripheral’s registers 
15
-  *                rather than drivers API), this option is controlled by 
16
-  *                "#define USE_HAL_DRIVER"
17
-  *  
18
-  ******************************************************************************
19
-  * @attention
20
-  *
21
-  * <h2><center>&copy; COPYRIGHT(c) 2017 STMicroelectronics</center></h2>
22
-  *
23
-  * Redistribution and use in source and binary forms, with or without modification,
24
-  * are permitted provided that the following conditions are met:
25
-  *   1. Redistributions of source code must retain the above copyright notice,
26
-  *      this list of conditions and the following disclaimer.
27
-  *   2. Redistributions in binary form must reproduce the above copyright notice,
28
-  *      this list of conditions and the following disclaimer in the documentation
29
-  *      and/or other materials provided with the distribution.
30
-  *   3. Neither the name of STMicroelectronics nor the names of its contributors
31
-  *      may be used to endorse or promote products derived from this software
32
-  *      without specific prior written permission.
33
-  *
34
-  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
35
-  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
36
-  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
37
-  * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
38
-  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
39
-  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
40
-  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
41
-  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
42
-  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
43
-  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
44
-  *
45
-  ******************************************************************************
46
-  */
47
-
48
-/** @addtogroup CMSIS
49
-  * @{
50
-  */
51
-
52
-/** @addtogroup stm32f1xx
53
-  * @{
54
-  */
55
-    
56
-#ifndef __STM32F1XX_H
57
-#define __STM32F1XX_H
58
-
59
-#ifdef __cplusplus
60
- extern "C" {
61
-#endif /* __cplusplus */
62
-  
63
-/** @addtogroup Library_configuration_section
64
-  * @{
65
-  */
66
-
67
-/**
68
-  * @brief STM32 Family
69
-  */
70
-#if !defined (STM32F1)
71
-#define STM32F1
72
-#endif /* STM32F1 */
73
-
74
-/* Uncomment the line below according to the target STM32L device used in your 
75
-   application 
76
-  */
77
-
78
-#if !defined (STM32F100xB) && !defined (STM32F100xE) && !defined (STM32F101x6) && \
79
-    !defined (STM32F101xB) && !defined (STM32F101xE) && !defined (STM32F101xG) && !defined (STM32F102x6) && !defined (STM32F102xB) && !defined (STM32F103x6) && \
80
-    !defined (STM32F103xB) && !defined (STM32F103xE) && !defined (STM32F103xG) && !defined (STM32F105xC) && !defined (STM32F107xC)
81
-  /* #define STM32F100xB  */   /*!< STM32F100C4, STM32F100R4, STM32F100C6, STM32F100R6, STM32F100C8, STM32F100R8, STM32F100V8, STM32F100CB, STM32F100RB and STM32F100VB */
82
-  /* #define STM32F100xE */    /*!< STM32F100RC, STM32F100VC, STM32F100ZC, STM32F100RD, STM32F100VD, STM32F100ZD, STM32F100RE, STM32F100VE and STM32F100ZE */
83
-  /* #define STM32F101x6  */   /*!< STM32F101C4, STM32F101R4, STM32F101T4, STM32F101C6, STM32F101R6 and STM32F101T6 Devices */
84
-  /* #define STM32F101xB  */   /*!< STM32F101C8, STM32F101R8, STM32F101T8, STM32F101V8, STM32F101CB, STM32F101RB, STM32F101TB and STM32F101VB */
85
-  /* #define STM32F101xE */    /*!< STM32F101RC, STM32F101VC, STM32F101ZC, STM32F101RD, STM32F101VD, STM32F101ZD, STM32F101RE, STM32F101VE and STM32F101ZE */ 
86
-  /* #define STM32F101xG  */   /*!< STM32F101RF, STM32F101VF, STM32F101ZF, STM32F101RG, STM32F101VG and STM32F101ZG */
87
-  /* #define STM32F102x6 */    /*!< STM32F102C4, STM32F102R4, STM32F102C6 and STM32F102R6 */
88
-  /* #define STM32F102xB  */   /*!< STM32F102C8, STM32F102R8, STM32F102CB and STM32F102RB */
89
-  /* #define STM32F103x6  */   /*!< STM32F103C4, STM32F103R4, STM32F103T4, STM32F103C6, STM32F103R6 and STM32F103T6 */
90
-  /* #define STM32F103xB  */   /*!< STM32F103C8, STM32F103R8, STM32F103T8, STM32F103V8, STM32F103CB, STM32F103RB, STM32F103TB and STM32F103VB */
91
-  /* #define STM32F103xE */    /*!< STM32F103RC, STM32F103VC, STM32F103ZC, STM32F103RD, STM32F103VD, STM32F103ZD, STM32F103RE, STM32F103VE and STM32F103ZE */
92
-  /* #define STM32F103xG  */   /*!< STM32F103RF, STM32F103VF, STM32F103ZF, STM32F103RG, STM32F103VG and STM32F103ZG */
93
-  /* #define STM32F105xC */    /*!< STM32F105R8, STM32F105V8, STM32F105RB, STM32F105VB, STM32F105RC and STM32F105VC */
94
-  /* #define STM32F107xC  */   /*!< STM32F107RB, STM32F107VB, STM32F107RC and STM32F107VC */  
95
-#endif
96
-
97
-/*  Tip: To avoid modifying this file each time you need to switch between these
98
-        devices, you can define the device in your toolchain compiler preprocessor.
99
-  */
100
-  
101
-#if !defined  (USE_HAL_DRIVER)
102
-/**
103
- * @brief Comment the line below if you will not use the peripherals drivers.
104
-   In this case, these drivers will not be included and the application code will 
105
-   be based on direct access to peripherals registers 
106
-   */
107
-  /*#define USE_HAL_DRIVER */
108
-#endif /* USE_HAL_DRIVER */
109
-
110
-/**
111
-  * @brief CMSIS Device version number V4.2.0
112
-  */
113
-#define __STM32F1_CMSIS_VERSION_MAIN   (0x04) /*!< [31:24] main version */
114
-#define __STM32F1_CMSIS_VERSION_SUB1   (0x02) /*!< [23:16] sub1 version */
115
-#define __STM32F1_CMSIS_VERSION_SUB2   (0x00) /*!< [15:8]  sub2 version */
116
-#define __STM32F1_CMSIS_VERSION_RC     (0x00) /*!< [7:0]  release candidate */ 
117
-#define __STM32F1_CMSIS_VERSION        ((__STM32F1_CMSIS_VERSION_MAIN << 24)\
118
-                                       |(__STM32F1_CMSIS_VERSION_SUB1 << 16)\
119
-                                       |(__STM32F1_CMSIS_VERSION_SUB2 << 8 )\
120
-                                       |(__STM32F1_CMSIS_VERSION_RC))
121
-
122
-/**
123
-  * @}
124
-  */
125
-
126
-/** @addtogroup Device_Included
127
-  * @{
128
-  */
129
-
130
-#if defined(STM32F100xB)
131
-  #include "stm32f100xb.h"
132
-#elif defined(STM32F100xE)
133
-  #include "stm32f100xe.h"
134
-#elif defined(STM32F101x6)
135
-  #include "stm32f101x6.h"
136
-#elif defined(STM32F101xB)
137
-  #include "stm32f101xb.h"
138
-#elif defined(STM32F101xE)
139
-  #include "stm32f101xe.h"
140
-#elif defined(STM32F101xG)
141
-  #include "stm32f101xg.h"
142
-#elif defined(STM32F102x6)
143
-  #include "stm32f102x6.h"
144
-#elif defined(STM32F102xB)
145
-  #include "stm32f102xb.h"
146
-#elif defined(STM32F103x6)
147
-  #include "stm32f103x6.h"
148
-#elif defined(STM32F103xB)
149
-  #include "stm32f103xb.h"
150
-#elif defined(STM32F103xE)
151
-  #include "stm32f103xe.h"
152
-#elif defined(STM32F103xG)
153
-  #include "stm32f103xg.h"
154
-#elif defined(STM32F105xC)
155
-  #include "stm32f105xc.h"
156
-#elif defined(STM32F107xC)
157
-  #include "stm32f107xc.h"
158
-#else
159
- #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)"
160
-#endif
161
-
162
-/**
163
-  * @}
164
-  */
165
-
166
-/** @addtogroup Exported_types
167
-  * @{
168
-  */  
169
-typedef enum 
170
-{
171
-  RESET = 0, 
172
-  SET = !RESET
173
-} FlagStatus, ITStatus;
174
-
175
-typedef enum 
176
-{
177
-  DISABLE = 0, 
178
-  ENABLE = !DISABLE
179
-} FunctionalState;
180
-#define IS_FUNCTIONAL_STATE(STATE) (((STATE) == DISABLE) || ((STATE) == ENABLE))
181
-
182
-typedef enum 
183
-{
184
-  ERROR = 0, 
185
-  SUCCESS = !ERROR
186
-} ErrorStatus;
187
-
188
-/**
189
-  * @}
190
-  */
191
-
192
-
193
-/** @addtogroup Exported_macros
194
-  * @{
195
-  */
196
-#define SET_BIT(REG, BIT)     ((REG) |= (BIT))
197
-
198
-#define CLEAR_BIT(REG, BIT)   ((REG) &= ~(BIT))
199
-
200
-#define READ_BIT(REG, BIT)    ((REG) & (BIT))
201
-
202
-#define CLEAR_REG(REG)        ((REG) = (0x0))
203
-
204
-#define WRITE_REG(REG, VAL)   ((REG) = (VAL))
205
-
206
-#define READ_REG(REG)         ((REG))
207
-
208
-#define MODIFY_REG(REG, CLEARMASK, SETMASK)  WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) | (SETMASK)))
209
-
210
-#define POSITION_VAL(VAL)     (__CLZ(__RBIT(VAL))) 
211
-
212
-
213
-/**
214
-  * @}
215
-  */
216
-
217
-#if defined (USE_HAL_DRIVER)
218
- #include "stm32f1xx_hal.h"
219
-#endif /* USE_HAL_DRIVER */
220
-
221
-
222
-#ifdef __cplusplus
223
-}
224
-#endif /* __cplusplus */
225
-
226
-#endif /* __STM32F1xx_H */
227
-/**
228
-  * @}
229
-  */
230
-
231
-/**
232
-  * @}
233
-  */
234
-  
235
-
236
-
237
-
238
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0
- 116
incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h View File

@@ -1,116 +0,0 @@
1
-/**
2
-  ******************************************************************************
3
-  * @file    system_stm32f10x.h
4
-  * @author  MCD Application Team
5
-  * @version V4.2.0
6
-  * @date    31-March-2017
7
-  * @brief   CMSIS Cortex-M3 Device Peripheral Access Layer System Header File.
8
-  ******************************************************************************
9
-  * @attention
10
-  *
11
-  * <h2><center>&copy; COPYRIGHT(c) 2017 STMicroelectronics</center></h2>
12
-  *
13
-  * Redistribution and use in source and binary forms, with or without modification,
14
-  * are permitted provided that the following conditions are met:
15
-  *   1. Redistributions of source code must retain the above copyright notice,
16
-  *      this list of conditions and the following disclaimer.
17
-  *   2. Redistributions in binary form must reproduce the above copyright notice,
18
-  *      this list of conditions and the following disclaimer in the documentation
19
-  *      and/or other materials provided with the distribution.
20
-  *   3. Neither the name of STMicroelectronics nor the names of its contributors
21
-  *      may be used to endorse or promote products derived from this software
22
-  *      without specific prior written permission.
23
-  *
24
-  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25
-  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26
-  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
27
-  * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
28
-  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29
-  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
30
-  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
31
-  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
32
-  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
33
-  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34
-  *
35
-  ******************************************************************************
36
-  */
37
-
38
-/** @addtogroup CMSIS
39
-  * @{
40
-  */
41
-
42
-/** @addtogroup stm32f10x_system
43
-  * @{
44
-  */  
45
-  
46
-/**
47
-  * @brief Define to prevent recursive inclusion
48
-  */
49
-#ifndef __SYSTEM_STM32F10X_H
50
-#define __SYSTEM_STM32F10X_H
51
-
52
-#ifdef __cplusplus
53
- extern "C" {
54
-#endif 
55
-
56
-/** @addtogroup STM32F10x_System_Includes
57
-  * @{
58
-  */
59
-
60
-/**
61
-  * @}
62
-  */
63
-
64
-
65
-/** @addtogroup STM32F10x_System_Exported_types
66
-  * @{
67
-  */
68
-
69
-extern uint32_t SystemCoreClock;          /*!< System Clock Frequency (Core Clock) */
70
-extern const uint8_t  AHBPrescTable[16U];  /*!< AHB prescalers table values */
71
-extern const uint8_t  APBPrescTable[8U];   /*!< APB prescalers table values */
72
-
73
-/**
74
-  * @}
75
-  */
76
-
77
-/** @addtogroup STM32F10x_System_Exported_Constants
78
-  * @{
79
-  */
80
-
81
-/**
82
-  * @}
83
-  */
84
-
85
-/** @addtogroup STM32F10x_System_Exported_Macros
86
-  * @{
87
-  */
88
-
89
-/**
90
-  * @}
91
-  */
92
-
93
-/** @addtogroup STM32F10x_System_Exported_Functions
94
-  * @{
95
-  */
96
-  
97
-extern void SystemInit(void);
98
-extern void SystemCoreClockUpdate(void);
99
-/**
100
-  * @}
101
-  */
102
-
103
-#ifdef __cplusplus
104
-}
105
-#endif
106
-
107
-#endif /*__SYSTEM_STM32F10X_H */
108
-
109
-/**
110
-  * @}
111
-  */
112
-  
113
-/**
114
-  * @}
115
-  */  
116
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 0
- 332
incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f100xb.s View File

@@ -1,332 +0,0 @@
1
-;******************** (C) COPYRIGHT 2017 STMicroelectronics ********************
2
-;* File Name          : startup_stm32f100xb.s
3
-;* Author             : MCD Application Team
4
-;* Version            : V4.2.0
5
-;* Date               : 31-March-2017
6
-;* Description        : STM32F100xB Devices vector table for MDK-ARM toolchain. 
7
-;*                      This module performs:
8
-;*                      - Set the initial SP
9
-;*                      - Set the initial PC == Reset_Handler
10
-;*                      - Set the vector table entries with the exceptions ISR address
11
-;*                      - Configure the clock system
12
-;*                      - Branches to __main in the C library (which eventually
13
-;*                        calls main()).
14
-;*                      After Reset the Cortex-M3 processor is in Thread mode,
15
-;*                      priority is Privileged, and the Stack is set to Main.
16
-;********************************************************************************
17
-;*
18
-;* <h2><center>&copy; COPYRIGHT(c) 2017 STMicroelectronics</center></h2>
19
-;*
20
-;* Redistribution and use in source and binary forms, with or without modification,
21
-;* are permitted provided that the following conditions are met:
22
-;*   1. Redistributions of source code must retain the above copyright notice,
23
-;*      this list of conditions and the following disclaimer.
24
-;*   2. Redistributions in binary form must reproduce the above copyright notice,
25
-;*      this list of conditions and the following disclaimer in the documentation
26
-;*      and/or other materials provided with the distribution.
27
-;*   3. Neither the name of STMicroelectronics nor the names of its contributors
28
-;*      may be used to endorse or promote products derived from this software
29
-;*      without specific prior written permission.
30
-;*
31
-;* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
32
-;* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
33
-;* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
34
-;* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
35
-;* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
36
-;* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
37
-;* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
38
-;* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
39
-;* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
40
-;* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
41
-; 
42
-;*******************************************************************************
43
-
44
-; Amount of memory (in bytes) allocated for Stack
45
-; Tailor this value to your application needs
46
-; <h> Stack Configuration
47
-;   <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
48
-; </h>
49
-
50
-Stack_Size      EQU     0x00000400
51
-
52
-                AREA    STACK, NOINIT, READWRITE, ALIGN=3
53
-Stack_Mem       SPACE   Stack_Size
54
-__initial_sp
55
-
56
-
57
-; <h> Heap Configuration
58
-;   <o>  Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
59
-; </h>
60
-
61
-Heap_Size       EQU     0x00000200
62
-
63
-                AREA    HEAP, NOINIT, READWRITE, ALIGN=3
64
-__heap_base
65
-Heap_Mem        SPACE   Heap_Size
66
-__heap_limit
67
-
68
-                PRESERVE8
69
-                THUMB
70
-
71
-
72
-; Vector Table Mapped to Address 0 at Reset
73
-                AREA    RESET, DATA, READONLY
74
-                EXPORT  __Vectors
75
-                EXPORT  __Vectors_End
76
-                EXPORT  __Vectors_Size
77
-
78
-__Vectors       DCD     __initial_sp                    ; Top of Stack
79
-                DCD     Reset_Handler                   ; Reset Handler
80
-                DCD     NMI_Handler                     ; NMI Handler
81
-                DCD     HardFault_Handler               ; Hard Fault Handler
82
-                DCD     MemManage_Handler               ; MPU Fault Handler
83
-                DCD     BusFault_Handler                ; Bus Fault Handler
84
-                DCD     UsageFault_Handler              ; Usage Fault Handler
85
-                DCD     0                               ; Reserved
86
-                DCD     0                               ; Reserved
87
-                DCD     0                               ; Reserved
88
-                DCD     0                               ; Reserved
89
-                DCD     SVC_Handler                     ; SVCall Handler
90
-                DCD     DebugMon_Handler                ; Debug Monitor Handler
91
-                DCD     0                               ; Reserved
92
-                DCD     PendSV_Handler                  ; PendSV Handler
93
-                DCD     SysTick_Handler                 ; SysTick Handler
94
-
95
-                ; External Interrupts
96
-                DCD     WWDG_IRQHandler                 ; Window Watchdog
97
-                DCD     PVD_IRQHandler                  ; PVD through EXTI Line detect
98
-                DCD     TAMPER_IRQHandler               ; Tamper
99
-                DCD     RTC_IRQHandler                  ; RTC
100
-                DCD     FLASH_IRQHandler                ; Flash
101
-                DCD     RCC_IRQHandler                  ; RCC
102
-                DCD     EXTI0_IRQHandler                ; EXTI Line 0
103
-                DCD     EXTI1_IRQHandler                ; EXTI Line 1
104
-                DCD     EXTI2_IRQHandler                ; EXTI Line 2
105
-                DCD     EXTI3_IRQHandler                ; EXTI Line 3
106
-                DCD     EXTI4_IRQHandler                ; EXTI Line 4
107
-                DCD     DMA1_Channel1_IRQHandler        ; DMA1 Channel 1
108
-                DCD     DMA1_Channel2_IRQHandler        ; DMA1 Channel 2
109
-                DCD     DMA1_Channel3_IRQHandler        ; DMA1 Channel 3
110
-                DCD     DMA1_Channel4_IRQHandler        ; DMA1 Channel 4
111
-                DCD     DMA1_Channel5_IRQHandler        ; DMA1 Channel 5
112
-                DCD     DMA1_Channel6_IRQHandler        ; DMA1 Channel 6
113
-                DCD     DMA1_Channel7_IRQHandler        ; DMA1 Channel 7
114
-                DCD     ADC1_IRQHandler                 ; ADC1
115
-                DCD     0                               ; Reserved
116
-                DCD     0                               ; Reserved
117
-                DCD     0                               ; Reserved
118
-                DCD     0                               ; Reserved
119
-                DCD     EXTI9_5_IRQHandler              ; EXTI Line 9..5
120
-                DCD     TIM1_BRK_TIM15_IRQHandler       ; TIM1 Break and TIM15
121
-                DCD     TIM1_UP_TIM16_IRQHandler        ; TIM1 Update and TIM16
122
-                DCD     TIM1_TRG_COM_TIM17_IRQHandler   ; TIM1 Trigger and Commutation and TIM17
123
-                DCD     TIM1_CC_IRQHandler              ; TIM1 Capture Compare
124
-                DCD     TIM2_IRQHandler                 ; TIM2
125
-                DCD     TIM3_IRQHandler                 ; TIM3
126
-                DCD     TIM4_IRQHandler                 ; TIM4
127
-                DCD     I2C1_EV_IRQHandler              ; I2C1 Event
128
-                DCD     I2C1_ER_IRQHandler              ; I2C1 Error
129
-                DCD     I2C2_EV_IRQHandler              ; I2C2 Event
130
-                DCD     I2C2_ER_IRQHandler              ; I2C2 Error
131
-                DCD     SPI1_IRQHandler                 ; SPI1
132
-                DCD     SPI2_IRQHandler                 ; SPI2
133
-                DCD     USART1_IRQHandler               ; USART1
134
-                DCD     USART2_IRQHandler               ; USART2
135
-                DCD     USART3_IRQHandler               ; USART3
136
-                DCD     EXTI15_10_IRQHandler            ; EXTI Line 15..10
137
-                DCD     RTC_Alarm_IRQHandler             ; RTC Alarm through EXTI Line
138
-                DCD     CEC_IRQHandler                  ; HDMI-CEC
139
-                DCD     0                               ; Reserved
140
-                DCD     0                               ; Reserved
141
-                DCD     0                               ; Reserved
142
-                DCD     0                               ; Reserved 
143
-                DCD     0                               ; Reserved
144
-                DCD     0                               ; Reserved
145
-                DCD     0                               ; Reserved
146
-                DCD     0                               ; Reserved 
147
-                DCD     0                               ; Reserved
148
-                DCD     0                               ; Reserved
149
-                DCD     0                               ; Reserved
150
-                DCD     TIM6_DAC_IRQHandler             ; TIM6 and DAC underrun
151
-                DCD     TIM7_IRQHandler                 ; TIM7
152
-__Vectors_End
153
-
154
-__Vectors_Size  EQU  __Vectors_End - __Vectors
155
-
156
-                AREA    |.text|, CODE, READONLY
157
-
158
-; Reset handler
159
-Reset_Handler    PROC
160
-                 EXPORT  Reset_Handler             [WEAK]
161
-     IMPORT  __main
162
-     IMPORT  SystemInit
163
-                 LDR     R0, =SystemInit
164
-                 BLX     R0
165
-                 LDR     R0, =__main
166
-                 BX      R0
167
-                 ENDP
168
-
169
-; Dummy Exception Handlers (infinite loops which can be modified)
170
-
171
-NMI_Handler     PROC
172
-                EXPORT  NMI_Handler                      [WEAK]
173
-                B       .
174
-                ENDP
175
-HardFault_Handler\
176
-                PROC
177
-                EXPORT  HardFault_Handler                [WEAK]
178
-                B       .
179
-                ENDP
180
-MemManage_Handler\
181
-                PROC
182
-                EXPORT  MemManage_Handler                [WEAK]
183
-                B       .
184
-                ENDP
185
-BusFault_Handler\
186
-                PROC
187
-                EXPORT  BusFault_Handler                 [WEAK]
188
-                B       .
189
-                ENDP
190
-UsageFault_Handler\
191
-                PROC
192
-                EXPORT  UsageFault_Handler               [WEAK]
193
-                B       .
194
-                ENDP
195
-SVC_Handler     PROC
196
-                EXPORT  SVC_Handler                      [WEAK]
197
-                B       .
198
-                ENDP
199
-DebugMon_Handler\
200
-                PROC
201
-                EXPORT  DebugMon_Handler                 [WEAK]
202
-                B       .
203
-                ENDP
204
-PendSV_Handler  PROC
205
-                EXPORT  PendSV_Handler                   [WEAK]
206
-                B       .
207
-                ENDP
208
-SysTick_Handler PROC
209
-                EXPORT  SysTick_Handler                  [WEAK]
210
-                B       .
211
-                ENDP
212
-
213
-Default_Handler PROC
214
-
215
-                EXPORT  WWDG_IRQHandler                  [WEAK]
216
-                EXPORT  PVD_IRQHandler                   [WEAK]
217
-                EXPORT  TAMPER_IRQHandler                [WEAK]
218
-                EXPORT  RTC_IRQHandler                   [WEAK]
219
-                EXPORT  FLASH_IRQHandler                 [WEAK]
220
-                EXPORT  RCC_IRQHandler                   [WEAK]
221
-                EXPORT  EXTI0_IRQHandler                 [WEAK]
222
-                EXPORT  EXTI1_IRQHandler                 [WEAK]
223
-                EXPORT  EXTI2_IRQHandler                 [WEAK]
224
-                EXPORT  EXTI3_IRQHandler                 [WEAK]
225
-                EXPORT  EXTI4_IRQHandler                 [WEAK]
226
-                EXPORT  DMA1_Channel1_IRQHandler         [WEAK]
227
-                EXPORT  DMA1_Channel2_IRQHandler         [WEAK]
228
-                EXPORT  DMA1_Channel3_IRQHandler         [WEAK]
229
-                EXPORT  DMA1_Channel4_IRQHandler         [WEAK]
230
-                EXPORT  DMA1_Channel5_IRQHandler         [WEAK]
231
-                EXPORT  DMA1_Channel6_IRQHandler         [WEAK]
232
-                EXPORT  DMA1_Channel7_IRQHandler         [WEAK]
233
-                EXPORT  ADC1_IRQHandler                  [WEAK]
234
-                EXPORT  EXTI9_5_IRQHandler               [WEAK]
235
-                EXPORT  TIM1_BRK_TIM15_IRQHandler        [WEAK]
236
-                EXPORT  TIM1_UP_TIM16_IRQHandler         [WEAK]
237
-                EXPORT  TIM1_TRG_COM_TIM17_IRQHandler    [WEAK]
238
-                EXPORT  TIM1_CC_IRQHandler               [WEAK]
239
-                EXPORT  TIM2_IRQHandler                  [WEAK]
240
-                EXPORT  TIM3_IRQHandler                  [WEAK]
241
-                EXPORT  TIM4_IRQHandler                  [WEAK]
242
-                EXPORT  I2C1_EV_IRQHandler               [WEAK]
243
-                EXPORT  I2C1_ER_IRQHandler               [WEAK]
244
-                EXPORT  I2C2_EV_IRQHandler               [WEAK]
245
-                EXPORT  I2C2_ER_IRQHandler               [WEAK]
246
-                EXPORT  SPI1_IRQHandler                  [WEAK]
247
-                EXPORT  SPI2_IRQHandler                  [WEAK]
248
-                EXPORT  USART1_IRQHandler                [WEAK]
249
-                EXPORT  USART2_IRQHandler                [WEAK]
250
-                EXPORT  USART3_IRQHandler                [WEAK]
251
-                EXPORT  EXTI15_10_IRQHandler             [WEAK]
252
-                EXPORT  RTC_Alarm_IRQHandler              [WEAK]
253
-                EXPORT  CEC_IRQHandler                   [WEAK]
254
-                EXPORT  TIM6_DAC_IRQHandler              [WEAK]
255
-                EXPORT  TIM7_IRQHandler                  [WEAK]
256
-
257
-WWDG_IRQHandler
258
-PVD_IRQHandler
259
-TAMPER_IRQHandler
260
-RTC_IRQHandler
261
-FLASH_IRQHandler
262
-RCC_IRQHandler
263
-EXTI0_IRQHandler
264
-EXTI1_IRQHandler
265
-EXTI2_IRQHandler
266
-EXTI3_IRQHandler
267
-EXTI4_IRQHandler
268
-DMA1_Channel1_IRQHandler
269
-DMA1_Channel2_IRQHandler
270
-DMA1_Channel3_IRQHandler
271
-DMA1_Channel4_IRQHandler
272
-DMA1_Channel5_IRQHandler
273
-DMA1_Channel6_IRQHandler
274
-DMA1_Channel7_IRQHandler
275
-ADC1_IRQHandler
276
-EXTI9_5_IRQHandler
277
-TIM1_BRK_TIM15_IRQHandler
278
-TIM1_UP_TIM16_IRQHandler
279
-TIM1_TRG_COM_TIM17_IRQHandler
280
-TIM1_CC_IRQHandler
281
-TIM2_IRQHandler
282
-TIM3_IRQHandler
283
-TIM4_IRQHandler
284
-I2C1_EV_IRQHandler
285
-I2C1_ER_IRQHandler
286
-I2C2_EV_IRQHandler
287
-I2C2_ER_IRQHandler
288
-SPI1_IRQHandler
289
-SPI2_IRQHandler
290
-USART1_IRQHandler
291
-USART2_IRQHandler
292
-USART3_IRQHandler
293
-EXTI15_10_IRQHandler
294
-RTC_Alarm_IRQHandler
295
-CEC_IRQHandler
296
-TIM6_DAC_IRQHandler
297
-TIM7_IRQHandler
298
-                B       .
299
-
300
-                ENDP
301
-
302
-                ALIGN
303
-
304
-;*******************************************************************************
305
-; User Stack and Heap initialization
306
-;*******************************************************************************
307
-                 IF      :DEF:__MICROLIB           
308
-                
309
-                 EXPORT  __initial_sp
310
-                 EXPORT  __heap_base
311
-                 EXPORT  __heap_limit
312
-                
313
-                 ELSE
314
-                
315
-                 IMPORT  __use_two_region_memory
316
-                 EXPORT  __user_initial_stackheap
317
-                 
318
-__user_initial_stackheap
319
-
320
-                 LDR     R0, =  Heap_Mem
321
-                 LDR     R1, =(Stack_Mem + Stack_Size)
322
-                 LDR     R2, = (Heap_Mem +  Heap_Size)
323
-                 LDR     R3, = Stack_Mem
324
-                 BX      LR
325
-
326
-                 ALIGN
327
-
328
-                 ENDIF
329
-
330
-                 END
331
-
332
-;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE*****

+ 0
- 363
incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f100xe.s View File

@@ -1,363 +0,0 @@
1
-;******************** (C) COPYRIGHT 2017 STMicroelectronics ********************
2
-;* File Name          : startup_stm32f100xe.s
3
-;* Author             : MCD Application Team
4
-;* Version            : V4.2.0
5
-;* Date               : 31-March-2017
6
-;* Description        : STM32F100xE Devices vector table for MDK-ARM toolchain. 
7
-;*                      This module performs:
8
-;*                      - Set the initial SP
9
-;*                      - Set the initial PC == Reset_Handler
10
-;*                      - Set the vector table entries with the exceptions ISR address
11
-;*                      - Configure the clock system and also configure the external 
12
-;*                        SRAM mounted on STM32100E-EVAL board to be used as data 
13
-;*                        memory (optional, to be enabled by user)
14
-;*                      - Branches to __main in the C library (which eventually
15
-;*                        calls main()).
16
-;*                      After Reset the Cortex-M3 processor is in Thread mode,
17
-;*                      priority is Privileged, and the Stack is set to Main.
18
-;********************************************************************************
19
-;*
20
-;* <h2><center>&copy; COPYRIGHT(c) 2017 STMicroelectronics</center></h2>
21
-;*
22
-;* Redistribution and use in source and binary forms, with or without modification,
23
-;* are permitted provided that the following conditions are met:
24
-;*   1. Redistributions of source code must retain the above copyright notice,
25
-;*      this list of conditions and the following disclaimer.
26
-;*   2. Redistributions in binary form must reproduce the above copyright notice,
27
-;*      this list of conditions and the following disclaimer in the documentation
28
-;*      and/or other materials provided with the distribution.
29
-;*   3. Neither the name of STMicroelectronics nor the names of its contributors
30
-;*      may be used to endorse or promote products derived from this software
31
-;*      without specific prior written permission.
32
-;*
33
-;* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
34
-;* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
35
-;* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
36
-;* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
37
-;* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
38
-;* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
39
-;* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
40
-;* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
41
-;* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
42
-;* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
43
-; 
44
-;*******************************************************************************
45
-
46
-; Amount of memory (in bytes) allocated for Stack
47
-; Tailor this value to your application needs
48
-; <h> Stack Configuration
49
-;   <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
50
-; </h>
51
-
52
-Stack_Size      EQU     0x00000400
53
-
54
-                AREA    STACK, NOINIT, READWRITE, ALIGN=3
55
-Stack_Mem       SPACE   Stack_Size
56
-__initial_sp
57
-
58
-
59
-; <h> Heap Configuration
60
-;   <o>  Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
61
-; </h>
62
-
63
-Heap_Size       EQU     0x00000200
64
-
65
-                AREA    HEAP, NOINIT, READWRITE, ALIGN=3
66
-__heap_base
67
-Heap_Mem        SPACE   Heap_Size
68
-__heap_limit
69
-
70
-                PRESERVE8
71
-                THUMB
72
-
73
-
74
-; Vector Table Mapped to Address 0 at Reset
75
-                AREA    RESET, DATA, READONLY
76
-                EXPORT  __Vectors
77
-                EXPORT  __Vectors_End
78
-                EXPORT  __Vectors_Size
79
-
80
-__Vectors       DCD     __initial_sp                    ; Top of Stack
81
-                DCD     Reset_Handler                   ; Reset Handler
82
-                DCD     NMI_Handler                     ; NMI Handler
83
-                DCD     HardFault_Handler               ; Hard Fault Handler
84
-                DCD     MemManage_Handler               ; MPU Fault Handler
85
-                DCD     BusFault_Handler                ; Bus Fault Handler
86
-                DCD     UsageFault_Handler              ; Usage Fault Handler
87
-                DCD     0                               ; Reserved
88
-                DCD     0                               ; Reserved
89
-                DCD     0                               ; Reserved
90
-                DCD     0                               ; Reserved
91
-                DCD     SVC_Handler                     ; SVCall Handler
92
-                DCD     DebugMon_Handler                ; Debug Monitor Handler
93
-                DCD     0                               ; Reserved
94
-                DCD     PendSV_Handler                  ; PendSV Handler
95
-                DCD     SysTick_Handler                 ; SysTick Handler
96
-
97
-                ; External Interrupts
98
-                DCD     WWDG_IRQHandler                 ; Window Watchdog
99
-                DCD     PVD_IRQHandler                  ; PVD through EXTI Line detect
100
-                DCD     TAMPER_IRQHandler               ; Tamper
101
-                DCD     RTC_IRQHandler                  ; RTC
102
-                DCD     FLASH_IRQHandler                ; Flash
103
-                DCD     RCC_IRQHandler                  ; RCC
104
-                DCD     EXTI0_IRQHandler                ; EXTI Line 0
105
-                DCD     EXTI1_IRQHandler                ; EXTI Line 1
106
-                DCD     EXTI2_IRQHandler                ; EXTI Line 2
107
-                DCD     EXTI3_IRQHandler                ; EXTI Line 3
108
-                DCD     EXTI4_IRQHandler                ; EXTI Line 4
109
-                DCD     DMA1_Channel1_IRQHandler        ; DMA1 Channel 1
110
-                DCD     DMA1_Channel2_IRQHandler        ; DMA1 Channel 2
111
-                DCD     DMA1_Channel3_IRQHandler        ; DMA1 Channel 3
112
-                DCD     DMA1_Channel4_IRQHandler        ; DMA1 Channel 4
113
-                DCD     DMA1_Channel5_IRQHandler        ; DMA1 Channel 5
114
-                DCD     DMA1_Channel6_IRQHandler        ; DMA1 Channel 6
115
-                DCD     DMA1_Channel7_IRQHandler        ; DMA1 Channel 7
116
-                DCD     ADC1_IRQHandler                 ; ADC1
117
-                DCD     0                               ; Reserved
118
-                DCD     0                               ; Reserved
119
-                DCD     0                               ; Reserved
120
-                DCD     0                               ; Reserved
121
-                DCD     EXTI9_5_IRQHandler              ; EXTI Line 9..5
122
-                DCD     TIM1_BRK_TIM15_IRQHandler       ; TIM1 Break and TIM15
123
-                DCD     TIM1_UP_TIM16_IRQHandler        ; TIM1 Update and TIM16
124
-                DCD     TIM1_TRG_COM_TIM17_IRQHandler   ; TIM1 Trigger and Commutation and TIM17
125
-                DCD     TIM1_CC_IRQHandler              ; TIM1 Capture Compare
126
-                DCD     TIM2_IRQHandler                 ; TIM2
127
-                DCD     TIM3_IRQHandler                 ; TIM3
128
-                DCD     TIM4_IRQHandler                 ; TIM4
129
-                DCD     I2C1_EV_IRQHandler              ; I2C1 Event
130
-                DCD     I2C1_ER_IRQHandler              ; I2C1 Error
131
-                DCD     I2C2_EV_IRQHandler              ; I2C2 Event
132
-                DCD     I2C2_ER_IRQHandler              ; I2C2 Error
133
-                DCD     SPI1_IRQHandler                 ; SPI1
134
-                DCD     SPI2_IRQHandler                 ; SPI2
135
-                DCD     USART1_IRQHandler               ; USART1
136
-                DCD     USART2_IRQHandler               ; USART2
137
-                DCD     USART3_IRQHandler               ; USART3
138
-                DCD     EXTI15_10_IRQHandler            ; EXTI Line 15..10
139
-                DCD     RTC_Alarm_IRQHandler             ; RTC Alarm through EXTI Line
140
-                DCD     CEC_IRQHandler                  ; HDMI CEC
141
-                DCD     TIM12_IRQHandler                ; TIM12
142
-                DCD     TIM13_IRQHandler                ; TIM13 
143
-                DCD     TIM14_IRQHandler                ; TIM14
144
-                DCD     0                               ; Reserved
145
-                DCD     0                               ; Reserved
146
-                DCD     0                               ; Reserved
147
-                DCD     0                               ; Reserved
148
-                DCD     TIM5_IRQHandler                 ; TIM5
149
-                DCD     SPI3_IRQHandler                 ; SPI3
150
-                DCD     UART4_IRQHandler                ; UART4
151
-                DCD     UART5_IRQHandler                ; UART5
152
-                DCD     TIM6_DAC_IRQHandler             ; TIM6 and DAC underrun
153
-                DCD     TIM7_IRQHandler                 ; TIM7
154
-                DCD     DMA2_Channel1_IRQHandler        ; DMA2 Channel1
155
-                DCD     DMA2_Channel2_IRQHandler        ; DMA2 Channel2
156
-                DCD     DMA2_Channel3_IRQHandler        ; DMA2 Channel3
157
-                DCD     DMA2_Channel4_5_IRQHandler      ; DMA2 Channel4 & Channel5
158
-                DCD     DMA2_Channel5_IRQHandler        ; DMA2 Channel5                
159
-__Vectors_End
160
-
161
-__Vectors_Size  EQU  __Vectors_End - __Vectors
162
-
163
-                AREA    |.text|, CODE, READONLY
164
-
165
-; Reset handler
166
-Reset_Handler    PROC
167
-                 EXPORT  Reset_Handler             [WEAK]
168
-     IMPORT  __main
169
-     IMPORT  SystemInit
170
-                 LDR     R0, =SystemInit
171
-                 BLX     R0
172
-                 LDR     R0, =__main
173
-                 BX      R0
174
-                 ENDP
175
-
176
-; Dummy Exception Handlers (infinite loops which can be modified)
177
-
178
-NMI_Handler     PROC
179
-                EXPORT  NMI_Handler                      [WEAK]
180
-                B       .
181
-                ENDP
182
-HardFault_Handler\
183
-                PROC
184
-                EXPORT  HardFault_Handler                [WEAK]
185
-                B       .
186
-                ENDP
187
-MemManage_Handler\
188
-                PROC
189
-                EXPORT  MemManage_Handler                [WEAK]
190
-                B       .
191
-                ENDP
192
-BusFault_Handler\
193
-                PROC
194
-                EXPORT  BusFault_Handler                 [WEAK]
195
-                B       .
196
-                ENDP
197
-UsageFault_Handler\
198
-                PROC
199
-                EXPORT  UsageFault_Handler               [WEAK]
200
-                B       .
201
-                ENDP
202
-SVC_Handler     PROC
203
-                EXPORT  SVC_Handler                      [WEAK]
204
-                B       .
205
-                ENDP
206
-DebugMon_Handler\
207
-                PROC
208
-                EXPORT  DebugMon_Handler                 [WEAK]
209
-                B       .
210
-                ENDP
211
-PendSV_Handler  PROC
212
-                EXPORT  PendSV_Handler                   [WEAK]
213
-                B       .
214
-                ENDP
215
-SysTick_Handler PROC
216
-                EXPORT  SysTick_Handler                  [WEAK]
217
-                B       .
218
-                ENDP
219
-
220
-Default_Handler PROC
221
-
222
-                EXPORT  WWDG_IRQHandler                  [WEAK]
223
-                EXPORT  PVD_IRQHandler                   [WEAK]
224
-                EXPORT  TAMPER_IRQHandler                [WEAK]
225
-                EXPORT  RTC_IRQHandler                   [WEAK]
226
-                EXPORT  FLASH_IRQHandler                 [WEAK]
227
-                EXPORT  RCC_IRQHandler                   [WEAK]
228
-                EXPORT  EXTI0_IRQHandler                 [WEAK]
229
-                EXPORT  EXTI1_IRQHandler                 [WEAK]
230
-                EXPORT  EXTI2_IRQHandler                 [WEAK]
231
-                EXPORT  EXTI3_IRQHandler                 [WEAK]
232
-                EXPORT  EXTI4_IRQHandler                 [WEAK]
233
-                EXPORT  DMA1_Channel1_IRQHandler         [WEAK]
234
-                EXPORT  DMA1_Channel2_IRQHandler         [WEAK]
235
-                EXPORT  DMA1_Channel3_IRQHandler         [WEAK]
236
-                EXPORT  DMA1_Channel4_IRQHandler         [WEAK]
237
-                EXPORT  DMA1_Channel5_IRQHandler         [WEAK]
238
-                EXPORT  DMA1_Channel6_IRQHandler         [WEAK]
239
-                EXPORT  DMA1_Channel7_IRQHandler         [WEAK]
240
-                EXPORT  ADC1_IRQHandler                  [WEAK]
241
-                EXPORT  EXTI9_5_IRQHandler               [WEAK]
242
-                EXPORT  TIM1_BRK_TIM15_IRQHandler        [WEAK]
243
-                EXPORT  TIM1_UP_TIM16_IRQHandler         [WEAK]
244
-                EXPORT  TIM1_TRG_COM_TIM17_IRQHandler    [WEAK]
245
-                EXPORT  TIM1_CC_IRQHandler               [WEAK]
246
-                EXPORT  TIM2_IRQHandler                  [WEAK]
247
-                EXPORT  TIM3_IRQHandler                  [WEAK]
248
-                EXPORT  TIM4_IRQHandler                  [WEAK]
249
-                EXPORT  I2C1_EV_IRQHandler               [WEAK]
250
-                EXPORT  I2C1_ER_IRQHandler               [WEAK]
251
-                EXPORT  I2C2_EV_IRQHandler               [WEAK]
252
-                EXPORT  I2C2_ER_IRQHandler               [WEAK]
253
-                EXPORT  SPI1_IRQHandler                  [WEAK]
254
-                EXPORT  SPI2_IRQHandler                  [WEAK]
255
-                EXPORT  USART1_IRQHandler                [WEAK]
256
-                EXPORT  USART2_IRQHandler                [WEAK]
257
-                EXPORT  USART3_IRQHandler                [WEAK]
258
-                EXPORT  EXTI15_10_IRQHandler             [WEAK]
259
-                EXPORT  RTC_Alarm_IRQHandler             [WEAK]
260
-                EXPORT  CEC_IRQHandler                   [WEAK]
261
-                EXPORT  TIM12_IRQHandler                 [WEAK]
262
-                EXPORT  TIM13_IRQHandler                 [WEAK]
263
-                EXPORT  TIM14_IRQHandler                 [WEAK]
264
-                EXPORT  TIM5_IRQHandler                  [WEAK]
265
-                EXPORT  SPI3_IRQHandler                  [WEAK]
266
-                EXPORT  UART4_IRQHandler                 [WEAK]
267
-                EXPORT  UART5_IRQHandler                 [WEAK]
268
-                EXPORT  TIM6_DAC_IRQHandler              [WEAK]
269
-                EXPORT  TIM7_IRQHandler                  [WEAK]
270
-                EXPORT  DMA2_Channel1_IRQHandler         [WEAK]
271
-                EXPORT  DMA2_Channel2_IRQHandler         [WEAK]
272
-                EXPORT  DMA2_Channel3_IRQHandler         [WEAK]
273
-                EXPORT  DMA2_Channel4_5_IRQHandler       [WEAK]
274
-                EXPORT  DMA2_Channel5_IRQHandler         [WEAK]
275
-
276
-WWDG_IRQHandler
277
-PVD_IRQHandler
278
-TAMPER_IRQHandler
279
-RTC_IRQHandler
280
-FLASH_IRQHandler
281
-RCC_IRQHandler
282
-EXTI0_IRQHandler
283
-EXTI1_IRQHandler
284
-EXTI2_IRQHandler
285
-EXTI3_IRQHandler
286
-EXTI4_IRQHandler
287
-DMA1_Channel1_IRQHandler
288
-DMA1_Channel2_IRQHandler
289
-DMA1_Channel3_IRQHandler
290
-DMA1_Channel4_IRQHandler
291
-DMA1_Channel5_IRQHandler
292
-DMA1_Channel6_IRQHandler
293
-DMA1_Channel7_IRQHandler
294
-ADC1_IRQHandler
295
-EXTI9_5_IRQHandler
296
-TIM1_BRK_TIM15_IRQHandler
297
-TIM1_UP_TIM16_IRQHandler
298
-TIM1_TRG_COM_TIM17_IRQHandler
299
-TIM1_CC_IRQHandler
300
-TIM2_IRQHandler
301
-TIM3_IRQHandler
302
-TIM4_IRQHandler
303
-I2C1_EV_IRQHandler
304
-I2C1_ER_IRQHandler
305
-I2C2_EV_IRQHandler
306
-I2C2_ER_IRQHandler
307
-SPI1_IRQHandler
308
-SPI2_IRQHandler
309
-USART1_IRQHandler
310
-USART2_IRQHandler
311
-USART3_IRQHandler
312
-EXTI15_10_IRQHandler
313
-RTC_Alarm_IRQHandler
314
-CEC_IRQHandler
315
-TIM12_IRQHandler
316
-TIM13_IRQHandler
317
-TIM14_IRQHandler
318
-TIM5_IRQHandler
319
-SPI3_IRQHandler
320
-UART4_IRQHandler
321
-UART5_IRQHandler
322
-TIM6_DAC_IRQHandler
323
-TIM7_IRQHandler
324
-DMA2_Channel1_IRQHandler
325
-DMA2_Channel2_IRQHandler
326
-DMA2_Channel3_IRQHandler
327
-DMA2_Channel4_5_IRQHandler
328
-DMA2_Channel5_IRQHandler
329
-                B       .
330
-
331
-                ENDP
332
-
333
-                ALIGN
334
-
335
-;*******************************************************************************
336
-; User Stack and Heap initialization
337
-;*******************************************************************************
338
-                 IF      :DEF:__MICROLIB           
339
-                
340
-                 EXPORT  __initial_sp
341
-                 EXPORT  __heap_base
342
-                 EXPORT  __heap_limit
343
-                
344
-                 ELSE
345
-                
346
-                 IMPORT  __use_two_region_memory
347
-                 EXPORT  __user_initial_stackheap
348
-                 
349
-__user_initial_stackheap
350
-
351
-                 LDR     R0, =  Heap_Mem
352
-                 LDR     R1, =(Stack_Mem + Stack_Size)
353
-                 LDR     R2, = (Heap_Mem +  Heap_Size)
354
-                 LDR     R3, = Stack_Mem
355
-                 BX      LR
356
-
357
-                 ALIGN
358
-
359
-                 ENDIF
360
-
361
-                 END
362
-
363
-;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE*****

+ 0
- 295
incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f101x6.s View File

@@ -1,295 +0,0 @@
1
-;******************** (C) COPYRIGHT 2017 STMicroelectronics ********************
2
-;* File Name          : startup_stm32f101x6.s
3
-;* Author             : MCD Application Team
4
-;* Version            : V4.2.0
5
-;* Date               : 31-March-2017
6
-;* Description        : STM32F101x6 Devices vector table for MDK-ARM toolchain. 
7
-;*                      This module performs:
8
-;*                      - Set the initial SP
9
-;*                      - Set the initial PC == Reset_Handler
10
-;*                      - Set the vector table entries with the exceptions ISR address
11
-;*                      - Configure the clock system
12
-;*                      - Branches to __main in the C library (which eventually
13
-;*                        calls main()).
14
-;*                      After Reset the Cortex-M3 processor is in Thread mode,
15
-;*                      priority is Privileged, and the Stack is set to Main.
16
-;********************************************************************************
17
-;*
18
-;* <h2><center>&copy; COPYRIGHT(c) 2017 STMicroelectronics</center></h2>
19
-;*
20
-;* Redistribution and use in source and binary forms, with or without modification,
21
-;* are permitted provided that the following conditions are met:
22
-;*   1. Redistributions of source code must retain the above copyright notice,
23
-;*      this list of conditions and the following disclaimer.
24
-;*   2. Redistributions in binary form must reproduce the above copyright notice,
25
-;*      this list of conditions and the following disclaimer in the documentation
26
-;*      and/or other materials provided with the distribution.
27
-;*   3. Neither the name of STMicroelectronics nor the names of its contributors
28
-;*      may be used to endorse or promote products derived from this software
29
-;*      without specific prior written permission.
30
-;*
31
-;* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
32
-;* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
33
-;* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
34
-;* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
35
-;* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
36
-;* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
37
-;* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
38
-;* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
39
-;* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
40
-;* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
41
-; 
42
-;*******************************************************************************
43
-
44
-; Amount of memory (in bytes) allocated for Stack
45
-; Tailor this value to your application needs
46
-; <h> Stack Configuration
47
-;   <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
48
-; </h>
49
-
50
-Stack_Size      EQU     0x00000400
51
-
52
-                AREA    STACK, NOINIT, READWRITE, ALIGN=3
53
-Stack_Mem       SPACE   Stack_Size
54
-__initial_sp
55
-
56
-
57
-; <h> Heap Configuration
58
-;   <o>  Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
59
-; </h>
60
-
61
-Heap_Size       EQU     0x00000200
62
-
63
-                AREA    HEAP, NOINIT, READWRITE, ALIGN=3
64
-__heap_base
65
-Heap_Mem        SPACE   Heap_Size
66
-__heap_limit
67
-
68
-                PRESERVE8
69
-                THUMB
70
-
71
-
72
-; Vector Table Mapped to Address 0 at Reset
73
-                AREA    RESET, DATA, READONLY
74
-                EXPORT  __Vectors
75
-                EXPORT  __Vectors_End
76
-                EXPORT  __Vectors_Size
77
-
78
-__Vectors       DCD     __initial_sp               ; Top of Stack
79
-                DCD     Reset_Handler              ; Reset Handler
80
-                DCD     NMI_Handler                ; NMI Handler
81
-                DCD     HardFault_Handler          ; Hard Fault Handler
82
-                DCD     MemManage_Handler          ; MPU Fault Handler
83
-                DCD     BusFault_Handler           ; Bus Fault Handler
84
-                DCD     UsageFault_Handler         ; Usage Fault Handler
85
-                DCD     0                          ; Reserved
86
-                DCD     0                          ; Reserved
87
-                DCD     0                          ; Reserved
88
-                DCD     0                          ; Reserved
89
-                DCD     SVC_Handler                ; SVCall Handler
90
-                DCD     DebugMon_Handler           ; Debug Monitor Handler
91
-                DCD     0                          ; Reserved
92
-                DCD     PendSV_Handler             ; PendSV Handler
93
-                DCD     SysTick_Handler            ; SysTick Handler
94
-
95
-                ; External Interrupts
96
-                DCD     WWDG_IRQHandler            ; Window Watchdog
97
-                DCD     PVD_IRQHandler             ; PVD through EXTI Line detect
98
-                DCD     TAMPER_IRQHandler          ; Tamper
99
-                DCD     RTC_IRQHandler             ; RTC
100
-                DCD     FLASH_IRQHandler           ; Flash
101
-                DCD     RCC_IRQHandler             ; RCC
102
-                DCD     EXTI0_IRQHandler           ; EXTI Line 0
103
-                DCD     EXTI1_IRQHandler           ; EXTI Line 1
104
-                DCD     EXTI2_IRQHandler           ; EXTI Line 2
105
-                DCD     EXTI3_IRQHandler           ; EXTI Line 3
106
-                DCD     EXTI4_IRQHandler           ; EXTI Line 4
107
-                DCD     DMA1_Channel1_IRQHandler   ; DMA1 Channel 1
108
-                DCD     DMA1_Channel2_IRQHandler   ; DMA1 Channel 2
109
-                DCD     DMA1_Channel3_IRQHandler   ; DMA1 Channel 3
110
-                DCD     DMA1_Channel4_IRQHandler   ; DMA1 Channel 4
111
-                DCD     DMA1_Channel5_IRQHandler   ; DMA1 Channel 5
112
-                DCD     DMA1_Channel6_IRQHandler   ; DMA1 Channel 6
113
-                DCD     DMA1_Channel7_IRQHandler   ; DMA1 Channel 7
114
-                DCD     ADC1_IRQHandler            ; ADC1
115
-                DCD     0                          ; Reserved
116
-                DCD     0                          ; Reserved
117
-                DCD     0                          ; Reserved
118
-                DCD     0                          ; Reserved
119
-                DCD     EXTI9_5_IRQHandler         ; EXTI Line 9..5
120
-                DCD     0                          ; Reserved
121
-                DCD     0                          ; Reserved
122
-                DCD     0                          ; Reserved
123
-                DCD     0                          ; Reserved
124
-                DCD     TIM2_IRQHandler            ; TIM2
125
-                DCD     TIM3_IRQHandler            ; TIM3
126
-                DCD     0                          ; Reserved
127
-                DCD     I2C1_EV_IRQHandler         ; I2C1 Event
128
-                DCD     I2C1_ER_IRQHandler         ; I2C1 Error
129
-                DCD     0                          ; Reserved
130
-                DCD     0                          ; Reserved
131
-                DCD     SPI1_IRQHandler            ; SPI1
132
-                DCD     0                          ; Reserved
133
-                DCD     USART1_IRQHandler          ; USART1
134
-                DCD     USART2_IRQHandler          ; USART2
135
-                DCD     0                          ; Reserved
136
-                DCD     EXTI15_10_IRQHandler       ; EXTI Line 15..10
137
-                DCD     RTC_Alarm_IRQHandler        ; RTC Alarm through EXTI Line
138
-__Vectors_End
139
-
140
-__Vectors_Size  EQU  __Vectors_End - __Vectors
141
-
142
-                AREA    |.text|, CODE, READONLY
143
-
144
-; Reset handler routine
145
-Reset_Handler    PROC
146
-                 EXPORT  Reset_Handler             [WEAK]
147
-     IMPORT  __main
148
-     IMPORT  SystemInit
149
-                 LDR     R0, =SystemInit
150
-                 BLX     R0
151
-                 LDR     R0, =__main
152
-                 BX      R0
153
-                 ENDP
154
-
155
-; Dummy Exception Handlers (infinite loops which can be modified)
156
-
157
-NMI_Handler     PROC
158
-                EXPORT  NMI_Handler                [WEAK]
159
-                B       .
160
-                ENDP
161
-HardFault_Handler\
162
-                PROC
163
-                EXPORT  HardFault_Handler          [WEAK]
164
-                B       .
165
-                ENDP
166
-MemManage_Handler\
167
-                PROC
168
-                EXPORT  MemManage_Handler          [WEAK]
169
-                B       .
170
-                ENDP
171
-BusFault_Handler\
172
-                PROC
173
-                EXPORT  BusFault_Handler           [WEAK]
174
-                B       .
175
-                ENDP
176
-UsageFault_Handler\
177
-                PROC
178
-                EXPORT  UsageFault_Handler         [WEAK]
179
-                B       .
180
-                ENDP
181
-SVC_Handler     PROC
182
-                EXPORT  SVC_Handler                [WEAK]
183
-                B       .
184
-                ENDP
185
-DebugMon_Handler\
186
-                PROC
187
-                EXPORT  DebugMon_Handler           [WEAK]
188
-                B       .
189
-                ENDP
190
-PendSV_Handler  PROC
191
-                EXPORT  PendSV_Handler             [WEAK]
192
-                B       .
193
-                ENDP
194
-SysTick_Handler PROC
195
-                EXPORT  SysTick_Handler            [WEAK]
196
-                B       .
197
-                ENDP
198
-
199
-Default_Handler PROC
200
-
201
-                EXPORT  WWDG_IRQHandler            [WEAK]
202
-                EXPORT  PVD_IRQHandler             [WEAK]
203
-                EXPORT  TAMPER_IRQHandler          [WEAK]
204
-                EXPORT  RTC_IRQHandler             [WEAK]
205
-                EXPORT  FLASH_IRQHandler           [WEAK]
206
-                EXPORT  RCC_IRQHandler             [WEAK]
207
-                EXPORT  EXTI0_IRQHandler           [WEAK]
208
-                EXPORT  EXTI1_IRQHandler           [WEAK]
209
-                EXPORT  EXTI2_IRQHandler           [WEAK]
210
-                EXPORT  EXTI3_IRQHandler           [WEAK]
211
-                EXPORT  EXTI4_IRQHandler           [WEAK]
212
-                EXPORT  DMA1_Channel1_IRQHandler   [WEAK]
213
-                EXPORT  DMA1_Channel2_IRQHandler   [WEAK]
214
-                EXPORT  DMA1_Channel3_IRQHandler   [WEAK]
215
-                EXPORT  DMA1_Channel4_IRQHandler   [WEAK]
216
-                EXPORT  DMA1_Channel5_IRQHandler   [WEAK]
217
-                EXPORT  DMA1_Channel6_IRQHandler   [WEAK]
218
-                EXPORT  DMA1_Channel7_IRQHandler   [WEAK]
219
-                EXPORT  ADC1_IRQHandler            [WEAK]            
220
-                EXPORT  EXTI9_5_IRQHandler         [WEAK]
221
-                EXPORT  TIM2_IRQHandler            [WEAK]
222
-                EXPORT  TIM3_IRQHandler            [WEAK]
223
-                EXPORT  I2C1_EV_IRQHandler         [WEAK]
224
-                EXPORT  I2C1_ER_IRQHandler         [WEAK]
225
-                EXPORT  SPI1_IRQHandler            [WEAK]
226
-                EXPORT  USART1_IRQHandler          [WEAK]
227
-                EXPORT  USART2_IRQHandler          [WEAK]
228
-                EXPORT  EXTI15_10_IRQHandler       [WEAK]
229
-                EXPORT  RTC_Alarm_IRQHandler       [WEAK]
230
-
231
-WWDG_IRQHandler
232
-PVD_IRQHandler
233
-TAMPER_IRQHandler
234
-RTC_IRQHandler
235
-FLASH_IRQHandler
236
-RCC_IRQHandler
237
-EXTI0_IRQHandler
238
-EXTI1_IRQHandler
239
-EXTI2_IRQHandler
240
-EXTI3_IRQHandler
241
-EXTI4_IRQHandler
242
-DMA1_Channel1_IRQHandler
243
-DMA1_Channel2_IRQHandler
244
-DMA1_Channel3_IRQHandler
245
-DMA1_Channel4_IRQHandler
246
-DMA1_Channel5_IRQHandler
247
-DMA1_Channel6_IRQHandler
248
-DMA1_Channel7_IRQHandler
249
-ADC1_IRQHandler
250
-EXTI9_5_IRQHandler
251
-TIM2_IRQHandler
252
-TIM3_IRQHandler
253
-I2C1_EV_IRQHandler
254
-I2C1_ER_IRQHandler
255
-SPI1_IRQHandler
256
-USART1_IRQHandler
257
-USART2_IRQHandler
258
-EXTI15_10_IRQHandler
259
-RTC_Alarm_IRQHandler
260
-
261
-                B       .
262
-
263
-                ENDP
264
-
265
-                ALIGN
266
-
267
-;*******************************************************************************
268
-; User Stack and Heap initialization
269
-;*******************************************************************************
270
-                 IF      :DEF:__MICROLIB
271
-                
272
-                 EXPORT  __initial_sp
273
-                 EXPORT  __heap_base
274
-                 EXPORT  __heap_limit
275
-                
276
-                 ELSE
277
-                
278
-                 IMPORT  __use_two_region_memory
279
-                 EXPORT  __user_initial_stackheap
280
-                 
281
-__user_initial_stackheap
282
-
283
-                 LDR     R0, =  Heap_Mem
284
-                 LDR     R1, =(Stack_Mem + Stack_Size)
285
-                 LDR     R2, = (Heap_Mem +  Heap_Size)
286
-                 LDR     R3, = Stack_Mem
287
-                 BX      LR
288
-
289
-                 ALIGN
290
-
291
-                 ENDIF
292
-
293
-                 END
294
-
295
-;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE*****

+ 0
- 305
incubateur/dumby_rtos2/dumby2/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f101xb.s View File

@@ -1,305 +0,0 @@
1
-;******************** (C) COPYRIGHT 2017 STMicroelectronics ********************
2
-;* File Name          : startup_stm32f101xb.s
3
-;* Author             : MCD Application Team
4
-;* Version            : V4.2.0
5
-;* Date               : 31-March-2017
6
-;* Description        : STM32F101xB Devices vector table for MDK-ARM toolchain. 
7
-;*                      This module performs:
8
-;*                      - Set the initial SP
9
-;*                      - Set the initial PC == Reset_Handler
10
-;*                      - Set the vector table entries with the exceptions ISR address
11
-;*                      - Configure the clock system
12
-;*                      - Branches to __main in the C library (which eventually
13
-;*                        calls main()).
14
-;*                      After Reset the Cortex-M3 processor is in Thread mode,
15
-;*                      priority is Privileged, and the Stack is set to Main.
16
-;********************************************************************************
17
-;*
18
-;* <h2><center>&copy; COPYRIGHT(c) 2017 STMicroelectronics</center></h2>
19
-;*
20
-;* Redistribution and use in source and binary forms, with or without modification,
21
-;* are permitted provided that the following conditions are met:
22
-;*   1. Redistributions of source code must retain the above copyright notice,
23
-;*      this list of conditions and the following disclaimer.
24
-;*   2. Redistributions in binary form must reproduce the above copyright notice,
25
-;*      this list of conditions and the following disclaimer in the documentation
26
-;*      and/or other materials provided with the distribution.
27
-;*   3. Neither the name of STMicroelectronics nor the names of its contributors
28
-;*      may be used to endorse or promote products derived from this software
29
-;*      without specific prior written permission.
30
-;*
31
-;* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
32
-;* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
33
-;* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
34
-;* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
35
-;* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
36
-;* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
37
-;* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
38
-;* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
39
-;* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
40
-;* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
41
-; 
42
-;*******************************************************************************
43
-
44
-; Amount of memory (in bytes) allocated for Stack
45
-; Tailor this value to your application needs
46
-; <h> Stack Configuration
47
-;   <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
48
-; </h>
49
-
50
-Stack_Size      EQU     0x00000400
51
-
52
-                AREA    STACK, NOINIT, READWRITE, ALIGN=3
53
-Stack_Mem       SPACE   Stack_Size
54
-__initial_sp
55
-
56
-
57
-; <h> Heap Configuration
58
-;   <o>  Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
59
-; </h>
60
-
61
-Heap_Size       EQU     0x00000200
62
-
63
-                AREA    HEAP, NOINIT, READWRITE, ALIGN=3
64
-__heap_base
65
-Heap_Mem        SPACE   Heap_Size
66
-__heap_limit
67
-
68
-                PRESERVE8
69
-                THUMB
70
-