Smart-Home am Beispiel der Präsenzerkennung im Raum Projektarbeit Lennart Heimbs, Johannes Krug, Sebastian Dohle und Kevin Holzschuh bei Prof. Oliver Hofmann SS2019
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MySensors.sublime-project 6.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. {
  2. "folders":
  3. [
  4. {
  5. "path": "..\\..\\"
  6. }
  7. ],
  8. "settings":
  9. {
  10. // Plugins that are nice to have but does not require any project specific settings:
  11. // PackageControl (https://packagecontrol.io/installation) Practically mandatory if you indend to install plugins
  12. // EditorConfig (https://github.com/sindresorhus/editorconfig-sublime) Automatically apply the default MySensors file encoding and settings
  13. // DoxyDoxygen (https://github.com/20Tauri/DoxyDoxygen) Helps writig Doxygen tags and allows to generate documentation
  14. // BracketHighlighter (https://github.com/facelessuser/BracketHighlighter) Highlights any type of brackets and provides easy navigation between them
  15. // GitGutter (https://github.com/jisaacks/GitGutter) Provides access to file diffs through the gutter area
  16. // OpenInclude (https://github.com/titoBouzout/Open-Include) Allows opening header files found in project without having to look them up
  17. // SideBarEnhancements (https://github.com/SideBarEnhancements-org/SideBarEnhancements) Enhances the sidebar
  18. // SyncedSideBar (https://github.com/TheSpyder/SyncedSideBar) Syncs the sidebar to the currently opened file
  19. // EasyClangComplete is a clang based plugin that provides autocompletion features.
  20. // Installation instructions is available here: https://github.com/niosus/EasyClangComplete
  21. // MySensors core library uses some coding style rules. Artistic Style can be used to format the code according to these rules
  22. // The below settings enable automatic formatting of the code upon saving in Sublime Text
  23. // Artistic Style is avaliable here: http://astyle.sourceforge.net
  24. // The plugin is available here: https://github.com/timonwong/SublimeAStyleFormatter
  25. // The coding style is documented here: https://www.mysensors.org/download/contributing
  26. "AStyleFormatter":
  27. {
  28. "debug": false,
  29. "autoformat_on_save": true,
  30. "options_c":
  31. {
  32. "additional_options_file": "$project_path/../../.mystools/astyle/config/style.cfg",
  33. "use_only_additional_options": true
  34. },
  35. "options_c++":
  36. {
  37. "additional_options_file": "$project_path/../../.mystools/astyle/config/style.cfg",
  38. "use_only_additional_options": true
  39. },
  40. },
  41. "rulers": [100],
  42. },
  43. // MySensors core library uses cppcheck to do static code analysis.
  44. // The below settings enable cppcheck as a linter for automatic code analysis during development.
  45. // cppcheck is avaliable here: http://cppcheck.sourceforge.net
  46. // The plugin is available here: https://github.com/SublimeLinter/SublimeLinter-cppcheck
  47. // The framework for the plugin is available here: https://sublimelinter.readthedocs.io/en/latest/installation.html
  48. "SublimeLinter":
  49. {
  50. "linters":
  51. {
  52. "cppcheck":
  53. {
  54. "@disable": false,
  55. "args": ["--force", "--library=avr",
  56. "--suppressions-list=$project_path/../../.mystools/cppcheck/config/suppressions.cfg",
  57. "-I$project_path/../../", "-I$project_path/../../core",
  58. // Arduino IDE hardware location might differ on your system...
  59. "-I$project_path/../../../../../Apps/arduino/hardware/tools/avr/avr/include",
  60. "-DCPPCHECK", "--language=c++", "--inline-suppr"],
  61. "enable": "style,information",
  62. "excludes": [],
  63. "std": []
  64. },
  65. }
  66. },
  67. // The project defines build targets for all Arduino based boards supported by MySensors.
  68. // The plugin needed to do the build (which require the Arduino IDE to be installed) is
  69. // available here: https://github.com/jacobrosenthal/arduino-cli
  70. // You also need to make sure you set up sketch book paths properly and that you can
  71. // build sketches and examples for the MySensors library in the IDE.
  72. "build_systems":
  73. [
  74. {
  75. "name": "MySensors",
  76. "file_regex": "^(?'filename'.*.ino).*$",
  77. "line_regex": "^.*:(?'line number'[0-9]+)(: )(?'error message'.*)$",
  78. "selector": "source.arduino",
  79. "shell": true,
  80. "target": "arduinocli",
  81. "variants":
  82. [
  83. {
  84. "cmd": ["--board","MySensors:samd:mysensors_gw_native","--verify","$file"],
  85. "name": "just build (SenseBenderGW)"
  86. },
  87. {
  88. "cmd": ["--board","MySensors:samd:mysensors_gw_native","--upload","$file"],
  89. "name": "build and upload (SenseBenderGW)"
  90. },
  91. {
  92. "cmd": ["--board","MySensors:avr:MysensorsMicro:cpu=8Mhz","--verify","$file"],
  93. "name": "just build (SenseBenderMicro 8Mhz)"
  94. },
  95. {
  96. "cmd": ["--board","MySensors:avr:MysensorsMicro:cpu=8Mhz","--upload","$file"],
  97. "name": "build and upload (SenseBenderMicro 8Mhz)"
  98. },
  99. {
  100. "cmd": ["--board","MySensors:avr:MysensorsMicro:cpu=1Mhz","--verify","$file"],
  101. "name": "just build (SenseBenderMicro 1Mhz)"
  102. },
  103. {
  104. "cmd": ["--board","MySensors:avr:MysensorsMicro:cpu=1Mhz","--upload","$file"],
  105. "name": "build and upload (SenseBenderMicro 1Mhz)"
  106. },
  107. {
  108. "cmd": ["--board","arduino:avr:pro:cpu=8MHzatmega328","--verify","$file"],
  109. "name": "just build (ArduinoProMini 3.3V)"
  110. },
  111. {
  112. "cmd": ["--board","arduino:avr:pro:cpu=8MHzatmega328","--upload","$file"],
  113. "name": "build and upload (ArduinoProMini 3.3V)"
  114. },
  115. {
  116. "cmd": ["--board","arduino:avr:pro:cpu=16MHzatmega328","--verify","$file"],
  117. "name": "just build (ArduinoProMini 5V)"
  118. },
  119. {
  120. "cmd": ["--board","arduino:avr:pro:cpu=16MHzatmega328","--upload","$file"],
  121. "name": "build and upload (ArduinoProMini 5V)"
  122. },
  123. {
  124. "cmd": ["--board","arduino:avr:nano:cpu=atmega328","--verify","$file"],
  125. "name": "just build (ArduinoNano)"
  126. },
  127. {
  128. "cmd": ["--board","arduino:avr:nano:cpu=atmega328","--upload","$file"],
  129. "name": "build and upload (ArduinoNano)"
  130. },
  131. {
  132. "cmd": ["--board","arduino:avr:uno","--verify","$file"],
  133. "name": "just build (ArduinoUno)"
  134. },
  135. {
  136. "cmd": ["--board","arduino:avr:uno","--upload","$file"],
  137. "name": "build and upload (ArduinoUno)"
  138. },
  139. {
  140. "cmd": ["--board","arduino:avr:mega:cpu=atmega2560","--verify","$file"],
  141. "name": "just build (ArduinoMega)"
  142. },
  143. {
  144. "cmd": ["--board","arduino:avr:mega:cpu=atmega2560","--upload","$file"],
  145. "name": "build and upload (ArduinoMega)"
  146. },
  147. {
  148. "cmd": ["--board","esp8266:esp8266:generic:CpuFrequency=80,FlashFreq=40,FlashMode=dio,UploadSpeed=115200,FlashSize=512K64,ResetMethod=ck,Debug=Disabled,DebugLevel=None____","--verify","$file"],
  149. "name": "just build (ESP8266)"
  150. },
  151. {
  152. "cmd": ["--board","esp8266:esp8266:generic:CpuFrequency=80,FlashFreq=40,FlashMode=dio,UploadSpeed=115200,FlashSize=512K64,ResetMethod=ck,Debug=Disabled,DebugLevel=None____","--upload","$file"],
  153. "name": "build and upload (ESP8266)"
  154. },
  155. ]
  156. }
  157. ],
  158. }