Skip to content
Permalink
Browse files

spdx: add spdx tags to most files

Large change that removes the duplicated MIT notice withe a spdx tag

Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
  • Loading branch information
tingleby committed May 9, 2019
1 parent 6d2ca4b commit 170bdd104f73fa5e64dde9a9c0783781d06b6501
Showing with 315 additions and 4,052 deletions.
  1. +2 −0 api/mraa.h
  2. +2 −0 api/mraa.hpp
  3. +2 −0 api/mraa/aio.h
  4. +2 −0 api/mraa/aio.hpp
  5. +2 −0 api/mraa/common.h
  6. +2 −0 api/mraa/common.hpp
  7. +2 −0 api/mraa/firmata.h
  8. +2 −0 api/mraa/gpio.h
  9. +2 −0 api/mraa/gpio.hpp
  10. +2 −0 api/mraa/i2c.h
  11. +2 −0 api/mraa/i2c.hpp
  12. +2 −0 api/mraa/iio.h
  13. +2 −0 api/mraa/iio.hpp
  14. +2 −0 api/mraa/iio_kernel_headers.h
  15. +2 −0 api/mraa/initio.h
  16. +2 −0 api/mraa/initio.hpp
  17. +2 −0 api/mraa/led.h
  18. +2 −0 api/mraa/led.hpp
  19. +2 −0 api/mraa/pwm.h
  20. +2 −0 api/mraa/pwm.hpp
  21. +2 −0 api/mraa/spi.h
  22. +2 −0 api/mraa/spi.hpp
  23. +2 −0 api/mraa/types.h
  24. +2 −0 api/mraa/types.hpp
  25. +2 −0 api/mraa/uart.h
  26. +2 −0 api/mraa/uart.hpp
  27. +2 −0 api/mraa/uart_ow.h
  28. +2 −0 api/mraa/uart_ow.hpp
  29. +1 −18 examples/c++/aio.cpp
  30. +1 −18 examples/c++/gpio.cpp
  31. +1 −18 examples/c++/gpio_advanced.cpp
  32. +1 −18 examples/c++/i2c.cpp
  33. +1 −18 examples/c++/iio.cpp
  34. +1 −18 examples/c++/led.cpp
  35. +1 −18 examples/c++/pwm.cpp
  36. +1 −18 examples/c++/spi.cpp
  37. +1 −18 examples/c++/uart.cpp
  38. +1 −18 examples/c++/uart_ow.cpp
  39. +1 −18 examples/c/aio.c
  40. +1 −18 examples/c/gpio.c
  41. +1 −18 examples/c/gpio_advanced.c
  42. +6 −1 examples/{ → c}/gpio_multiple_rw.c
  43. +1 −18 examples/c/hellomraa.c
  44. +1 −18 examples/c/i2c_hmc5883l.c
  45. +1 −18 examples/c/i2c_mpu6050.c
  46. +1 −18 examples/c/iio.c
  47. +1 −18 examples/c/initio.c
  48. +1 −18 examples/c/led.c
  49. +1 −18 examples/c/pwm.c
  50. +1 −18 examples/c/spi.c
  51. +1 −18 examples/c/uart.c
  52. +1 −18 examples/c/uart_advanced.c
  53. +1 −18 examples/c/uart_ow.c
  54. +1 −18 examples/java/AioA0.java
  55. +1 −18 examples/java/BlinkIO.java
  56. +1 −18 examples/java/BlinkOnboard.java
  57. +1 −18 examples/java/Bmp85.java
  58. +1 −18 examples/java/CyclePwm3.java
  59. +1 −18 examples/java/Example.java
  60. +1 −18 examples/java/FTDITest.java
  61. +1 −18 examples/java/GpioMmapped.java
  62. +1 −18 examples/java/GpioRead6.java
  63. +1 −18 examples/java/HelloEdison.java
  64. +1 −18 examples/java/I2cCompass.java
  65. +1 −18 examples/java/Isr.java
  66. +1 −18 examples/java/SpiMAX7219.java
  67. +1 −18 examples/java/SpiMCP4261.java
  68. +1 −18 examples/java/UartExample.java
  69. +1 −18 examples/javascript/AioA0.js
  70. +1 −18 examples/javascript/Blink-IO.js
  71. +1 −18 examples/javascript/GPIO_DigitalRead.js
  72. +1 −18 examples/javascript/GPIO_DigitalWrite.js
  73. +1 −18 examples/javascript/bmp85.js
  74. +1 −18 examples/javascript/firmata.js
  75. +1 −18 examples/javascript/gpio-tool.js
  76. +1 −18 examples/javascript/initio.js
  77. +5 −0 examples/javascript/isr.js
  78. +1 −18 examples/javascript/rgblcd.js
  79. +1 −18 examples/javascript/spi.js
  80. +1 −18 examples/javascript/uart.js
  81. +1 −18 examples/platform/Up2Leds.java
  82. +1 −18 examples/platform/firmata_curie_imu.c
  83. +1 −18 examples/platform/gpio_edison.c
  84. +1 −18 examples/platform/i2c_firmata.c
  85. +1 −18 examples/platform/initio.c
  86. +1 −18 examples/platform/initio.cpp
  87. +1 −18 examples/platform/initio.py
  88. +1 −18 examples/platform/up2-leds.cpp
  89. +1 −18 examples/python/aio.py
  90. +1 −18 examples/python/firmata.py
  91. +1 −18 examples/python/gpio.py
  92. +1 −18 examples/python/gpio_advanced.py
  93. +1 −18 examples/python/i2c_bmp85.py
  94. +1 −18 examples/python/i2c_rgb.py
  95. +1 −18 examples/python/led.py
  96. +1 −18 examples/python/pwm.py
  97. +1 −18 examples/python/spi.py
  98. +1 −18 examples/python/spi_loopback.py
  99. +1 −18 examples/python/uart.py
  100. +1 −18 examples/python/uart_receiver.py
  101. +1 −18 examples/python/uart_sender.py
  102. +1 −18 imraa/imraa.c
  103. +1 −18 imraa/imraa_arduino.c
  104. +1 −18 imraa/imraa_arduino.h
  105. +1 −18 imraa/imraa_io.c
  106. +1 −18 imraa/imraa_io.h
  107. +1 −18 imraa/imraa_lock.c
  108. +1 −18 imraa/imraa_lock.h
  109. +1 −18 include/arm/96boards.h
  110. +1 −18 include/arm/am335x.h
  111. +1 −18 include/arm/banana.h
  112. +1 −18 include/arm/beaglebone.h
  113. +1 −18 include/arm/de_nano_soc.h
  114. +1 −18 include/arm/phyboard.h
  115. +1 −18 include/arm/raspberry_pi.h
  116. +1 −18 include/arm/rockpi4.h
  117. +1 −18 include/firmata/firmata.h
  118. +1 −18 include/firmata/firmata_mraa.h
  119. +1 −18 include/gpio/gpio_chardev.h
  120. +1 −18 include/grovepi/grovepi.h
  121. +1 −18 include/initio/initio_keys.h
  122. +1 −18 include/java/mraajni.h
  123. +1 −18 include/mips/mediatek.h
  124. +1 −18 include/mock/mock_board.h
  125. +1 −18 include/mock/mock_board_aio.h
  126. +1 −18 include/mock/mock_board_gpio.h
  127. +1 −18 include/mock/mock_board_i2c.h
  128. +1 −18 include/mock/mock_board_spi.h
  129. +1 −18 include/mock/mock_board_uart.h
  130. +1 −18 include/mraa_adv_func.h
  131. +1 −18 include/mraa_internal.h
  132. +1 −18 include/mraa_internal_types.h
  133. +1 −18 include/mraa_lang_func.h
  134. +1 −18 include/peripheralmanager/peripheralman.h
  135. +1 −18 include/python/mraapy.h
  136. +1 −18 include/version.h
  137. +1 −18 include/x86/iei_tank.h
  138. +1 −18 include/x86/intel_cherryhills.h
  139. +1 −18 include/x86/intel_de3815.h
  140. +1 −18 include/x86/intel_edison_fab_c.h
  141. +1 −18 include/x86/intel_galileo_rev_d.h
  142. +1 −18 include/x86/intel_galileo_rev_g.h
  143. +1 −18 include/x86/intel_joule_expansion.h
  144. +1 −18 include/x86/intel_minnow_byt_compatible.h
  145. +1 −18 include/x86/intel_nuc5.h
  146. +1 −18 include/x86/intel_sofia_3gr.h
  147. +1 −18 include/x86/up.h
  148. +1 −18 include/x86/up2.h
  149. +1 −18 jsstub/Gruntfile.js
  150. +1 −18 jsstub/index.js
  151. +1 −18 jsstub/test/index.js
  152. +1 −18 jsstub/test/lightbulb.js
  153. +2 −0 scripts/build-android.sh
  154. +4 −0 scripts/build-doc.sh
  155. +4 −0 scripts/run-cmake.sh
  156. +2 −0 scripts/sonar-scan.sh
  157. +1 −18 src/aio/aio.c
  158. +1 −18 src/arm/96boards.c
  159. +1 −18 src/arm/am335x.c
  160. +1 −18 src/arm/arm.c
  161. +1 −18 src/arm/banana.c
  162. +1 −18 src/arm/beaglebone.c
  163. +1 −18 src/arm/de_nano_soc.c
  164. +1 −18 src/arm/phyboard.c
  165. +1 −18 src/arm/raspberry_pi.c
  166. +1 −18 src/arm/rockpi4.c
  167. +3 −1 src/doxy2swig.py
  168. +1 −18 src/firmata/firmata.c
  169. +1 −18 src/firmata/firmata_mraa.c
  170. +2 −0 src/glob/glob.c
  171. +2 −0 src/glob/glob.h
  172. +1 −18 src/gpio/gpio.c
  173. +1 −18 src/gpio/gpio_chardev.c
  174. +1 −18 src/grovepi/grovepi.c
  175. +1 −18 src/i2c/i2c.c
  176. +1 −18 src/iio/iio.c
  177. +1 −18 src/initio/initio.c
  178. +1 −18 src/java/mraajni.c
  179. +1 −18 src/json/jsonplatform.c
  180. +1 −18 src/led/led.c
  181. +1 −18 src/mips/mediatek.c
  182. +1 −18 src/mips/mips.c
  183. +1 −18 src/mock/mock.c
  184. +1 −18 src/mock/mock_board.c
  185. +1 −18 src/mock/mock_board_aio.c
  186. +1 −18 src/mock/mock_board_gpio.c
  187. +1 −18 src/mock/mock_board_i2c.c
  188. +1 −18 src/mock/mock_board_spi.c
  189. +1 −18 src/mock/mock_board_uart.c
  190. +1 −18 src/mraa.c
  191. +1 −18 src/peripheralman/peripheralman.c
  192. +1 −18 src/pwm/pwm.c
  193. +1 −18 src/python/mraapy.c
  194. +1 −18 src/spi/spi.c
  195. +1 −18 src/uart/uart.c
  196. +1 −18 src/uart_ow/uart_ow.c
  197. +1 −18 src/usb/ft4222/ftdi_ft4222.cxx
  198. +1 −18 src/usb/ft4222/ftdi_ft4222.hpp
  199. +1 −18 src/x86/iei_tank.c
  200. +1 −18 src/x86/intel_cherryhills.c
  201. +1 −18 src/x86/intel_de3815.c
  202. +1 −18 src/x86/intel_edison_fab_c.c
  203. +1 −18 src/x86/intel_galileo_rev_d.c
  204. +1 −18 src/x86/intel_galileo_rev_g.c
  205. +1 −18 src/x86/intel_joule_expansion.c
  206. +1 −18 src/x86/intel_minnow_byt_compatible.c
  207. +1 −18 src/x86/intel_nuc5.c
  208. +1 −18 src/x86/intel_sofia_3gr.c
  209. +1 −18 src/x86/up.c
  210. +1 −18 src/x86/up2.c
  211. +1 −18 src/x86/x86.c
  212. +2 −0 tests/check_clean.py
  213. +2 −0 tests/check_samplenames.py
  214. +1 −18 tests/general_checks.py
  215. +1 −18 tests/gpio_checks.py
  216. +1 −18 tests/mock/aio_checks.py
  217. +1 −18 tests/mock/general_checks.py
  218. +1 −18 tests/mock/gpio_checks_basic.py
  219. +1 −18 tests/mock/gpio_checks_dir.py
  220. +1 −18 tests/mock/gpio_checks_edge.py
  221. +1 −18 tests/mock/gpio_checks_isr.py
  222. +1 −18 tests/mock/gpio_checks_mode.py
  223. +1 −18 tests/mock/gpio_checks_write_read.py
  224. +1 −18 tests/mock/i2c_checks_addr.py
  225. +1 −18 tests/mock/i2c_checks_freq.py
  226. +1 −18 tests/mock/i2c_checks_read.py
  227. +1 −18 tests/mock/i2c_checks_read_byte.py
  228. +1 −18 tests/mock/i2c_checks_read_byte_data.py
  229. +1 −18 tests/mock/i2c_checks_read_bytes_data.py
  230. +1 −18 tests/mock/i2c_checks_read_word_data.py
  231. +1 −18 tests/mock/i2c_checks_shared.py
  232. +1 −18 tests/mock/i2c_checks_write.py
  233. +1 −18 tests/mock/i2c_checks_write_byte.py
  234. +1 −18 tests/mock/i2c_checks_write_byte_data.py
  235. +1 −18 tests/mock/i2c_checks_write_word_data.py
  236. +1 −18 tests/mock/platform_checks.py
  237. +1 −18 tests/mock/spi_checks_bit_per_word.py
  238. +1 −18 tests/mock/spi_checks_freq.py
  239. +1 −18 tests/mock/spi_checks_lsbmode.py
  240. +1 −18 tests/mock/spi_checks_mode.py
  241. +1 −18 tests/mock/spi_checks_shared.py
  242. +1 −18 tests/mock/spi_checks_write.py
  243. +1 −18 tests/mock/spi_checks_write_byte.py
  244. +1 −18 tests/mock/spi_checks_write_word.py
  245. +1 −18 tests/mock/uart_checks_data_available.py
  246. +1 −18 tests/mock/uart_checks_flush.py
  247. +1 −18 tests/mock/uart_checks_read.py
  248. +1 −18 tests/mock/uart_checks_sendbreak.py
  249. +1 −18 tests/mock/uart_checks_set_baudrate.py
  250. +1 −18 tests/mock/uart_checks_set_flowcontrol.py
  251. +1 −18 tests/mock/uart_checks_set_mode.py
  252. +1 −18 tests/mock/uart_checks_set_nonblocking.py
  253. +1 −18 tests/mock/uart_checks_set_timeout.py
  254. +1 −18 tests/mock/uart_checks_shared.py
  255. +1 −18 tests/mock/uart_checks_write.py
  256. +1 −18 tests/platform_checks.py
  257. +1 −18 tests/unit/api/api_common_h_unit.cxx
  258. +1 −18 tests/unit/api/api_common_hpp_unit.cxx
  259. +1 −18 tests/unit/api/mraa_initio_h_unit.cxx
  260. +1 −18 tests/unit/api/mraa_initio_hpp_unit.cxx
  261. +1 −18 tests/unit/platform_extender/platform_extender.cxx
  262. +1 −18 tools/mraa-gpio.c
  263. +1 −18 tools/mraa-i2c.c
  264. +1 −18 tools/mraa-uart.c
@@ -19,6 +19,8 @@
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -20,6 +20,8 @@
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -20,6 +20,8 @@
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -20,6 +20,8 @@
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -20,6 +20,8 @@
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -20,6 +20,8 @@
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -20,6 +20,8 @@
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -20,6 +20,8 @@
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -20,6 +20,8 @@
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -20,6 +20,8 @@
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -20,6 +20,8 @@
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -20,6 +20,8 @@
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -20,6 +20,8 @@
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -20,6 +20,8 @@
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

//For kernel 4.1+,
@@ -20,6 +20,8 @@
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -20,6 +20,8 @@
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -20,6 +20,8 @@
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -20,6 +20,8 @@
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -20,6 +20,8 @@
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -20,6 +20,8 @@
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -20,6 +20,8 @@
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -20,6 +20,8 @@
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -19,6 +19,8 @@
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -19,6 +19,8 @@
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -22,6 +22,8 @@
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -22,6 +22,8 @@
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -20,6 +20,8 @@
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -20,6 +20,8 @@
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/

#pragma once
@@ -4,24 +4,7 @@
* Contributors: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
* Copyright (c) 2014 Intel Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* SPDX-License-Identifier: MIT
*
* Example usage: Reads ADC A0 value continuously. Press Ctrl+C to exit.
*/
@@ -2,24 +2,7 @@
* Author: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
* Copyright (c) 2018 Linaro Ltd.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* SPDX-License-Identifier: MIT
*
* Example usage: Toggles GPIO's 23 and 24 recursively. Press Ctrl+C to exit
*
@@ -2,24 +2,7 @@
* Author: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
* Copyright (c) 2018 Linaro Ltd.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* SPDX-License-Identifier: MIT
*
* Example usage: Configures GPIO pin for interrupt and waits 30 seconds for the isr to trigger
*
@@ -3,24 +3,7 @@
* Author: Thomas Ingleby <thomas.c.ingleby@intel.com>
* Copyright (c) 2014 Intel Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* SPDX-License-Identifier: MIT
*
* Example usage: Outputs X,Y,Z co-ordinates and direction recursively using
* HMC5883L. Press Ctrl+C to exit.
@@ -2,24 +2,7 @@
* Author: Henry Bruce
* Copyright (c) 2015 Intel Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* SPDX-License-Identifier: MIT
*
* Example usage: Sets accelerometer scale and registers for the threshold event
*

0 comments on commit 170bdd1

Please sign in to comment.
You can’t perform that action at this time.