summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-08 18:19:13 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-08 18:19:13 +0100
commit812899797d6d8ea773bf960cd74680d20043c5a4 (patch)
tree470bb05de36285e9f8b86fa34daebd163e3860ed /src/driver
parente1526bb2c84b315c72a089dbb50447183d4b1685 (diff)
add licensing information
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/Kconfig4
-rw-r--r--src/driver/aemr_transition_sync.cc5
-rw-r--r--src/driver/am2320.cc5
-rw-r--r--src/driver/bme280.cc2
-rw-r--r--src/driver/bme680.cc2
-rw-r--r--src/driver/bme680_util.cc5
-rw-r--r--src/driver/ccs811.cc5
-rw-r--r--src/driver/eeprom24lc64.cc5
-rw-r--r--src/driver/hdc1080.cc5
-rw-r--r--src/driver/lm75.cc5
-rw-r--r--src/driver/max44009.cc5
-rw-r--r--src/driver/mmsimple.cc5
-rw-r--r--src/driver/mmsubstate.cc5
-rw-r--r--src/driver/mpu9250.cc2
-rw-r--r--src/driver/nrf24l01.cc5
-rw-r--r--src/driver/resistive_load.cc5
-rw-r--r--src/driver/s5851a.cc5
-rw-r--r--src/driver/sharp96.cc5
-rw-r--r--src/driver/soft_i2c.cc5
19 files changed, 85 insertions, 0 deletions
diff --git a/src/driver/Kconfig b/src/driver/Kconfig
index 4cc018b..dbf70e0 100644
--- a/src/driver/Kconfig
+++ b/src/driver/Kconfig
@@ -1,3 +1,7 @@
+# Copyright 2020 Daniel Friesel
+#
+# SPDX-License-Identifier: CC0-1.0
+
config meta_driver_adc
bool
config meta_driver_counter
diff --git a/src/driver/aemr_transition_sync.cc b/src/driver/aemr_transition_sync.cc
index b7881a4..38e47fd 100644
--- a/src/driver/aemr_transition_sync.cc
+++ b/src/driver/aemr_transition_sync.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/aemr_transition_sync.h"
#include "driver/gpio.h"
#include "arch.h"
diff --git a/src/driver/am2320.cc b/src/driver/am2320.cc
index 532fdb6..f928b0b 100644
--- a/src/driver/am2320.cc
+++ b/src/driver/am2320.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/am2320.h"
#if defined(MULTIPASS_ARCH_HAS_I2C) && !defined(DRIVER_SOFTI2C)
#include "driver/i2c.h"
diff --git a/src/driver/bme280.cc b/src/driver/bme280.cc
index bf2cab5..3683ff9 100644
--- a/src/driver/bme280.cc
+++ b/src/driver/bme280.cc
@@ -22,6 +22,8 @@
/**\mainpage
* Copyright (C) 2018 - 2019 Bosch Sensortec GmbH
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
diff --git a/src/driver/bme680.cc b/src/driver/bme680.cc
index 2a27b18..194aa5c 100644
--- a/src/driver/bme680.cc
+++ b/src/driver/bme680.cc
@@ -1,6 +1,8 @@
/**\mainpage
* Copyright (C) 2017 - 2018 Bosch Sensortec GmbH
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
diff --git a/src/driver/bme680_util.cc b/src/driver/bme680_util.cc
index ebe48f7..1fa2ab6 100644
--- a/src/driver/bme680_util.cc
+++ b/src/driver/bme680_util.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "arch.h"
#if defined(MULTIPASS_ARCH_HAS_I2C) && !defined(DRIVER_SOFTI2C)
#include "driver/i2c.h"
diff --git a/src/driver/ccs811.cc b/src/driver/ccs811.cc
index a2b3940..ad0eabc 100644
--- a/src/driver/ccs811.cc
+++ b/src/driver/ccs811.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/ccs811.h"
#include "driver/gpio.h"
#if defined(MULTIPASS_ARCH_HAS_I2C) && !defined(DRIVER_SOFTI2C)
diff --git a/src/driver/eeprom24lc64.cc b/src/driver/eeprom24lc64.cc
index 745514b..a1c8de2 100644
--- a/src/driver/eeprom24lc64.cc
+++ b/src/driver/eeprom24lc64.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include <stdlib.h>
#include "driver/eeprom24lc64.h"
#if defined(MULTIPASS_ARCH_HAS_I2C) && !defined(DRIVER_SOFTI2C)
diff --git a/src/driver/hdc1080.cc b/src/driver/hdc1080.cc
index 26c97ef..e303e0a 100644
--- a/src/driver/hdc1080.cc
+++ b/src/driver/hdc1080.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/hdc1080.h"
#include "arch.h"
#if defined(MULTIPASS_ARCH_HAS_I2C) && !defined(DRIVER_SOFTI2C)
diff --git a/src/driver/lm75.cc b/src/driver/lm75.cc
index 2223137..2f2599f 100644
--- a/src/driver/lm75.cc
+++ b/src/driver/lm75.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/lm75.h"
#if defined(MULTIPASS_ARCH_HAS_I2C) && !defined(DRIVER_SOFTI2C)
#include "driver/i2c.h"
diff --git a/src/driver/max44009.cc b/src/driver/max44009.cc
index 3981e79..d09188c 100644
--- a/src/driver/max44009.cc
+++ b/src/driver/max44009.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/max44009.h"
#if defined(MULTIPASS_ARCH_HAS_I2C) && !defined(DRIVER_SOFTI2C)
#include "driver/i2c.h"
diff --git a/src/driver/mmsimple.cc b/src/driver/mmsimple.cc
index b2b2708..649d118 100644
--- a/src/driver/mmsimple.cc
+++ b/src/driver/mmsimple.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/mmsimple.h"
#if defined(MULTIPASS_ARCH_HAS_I2C) && !defined(DRIVER_SOFTI2C)
#include "driver/i2c.h"
diff --git a/src/driver/mmsubstate.cc b/src/driver/mmsubstate.cc
index b701f0b..0865599 100644
--- a/src/driver/mmsubstate.cc
+++ b/src/driver/mmsubstate.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/mmsubstate.h"
#if defined(MULTIPASS_ARCH_HAS_I2C) && !defined(DRIVER_SOFTI2C)
#include "driver/i2c.h"
diff --git a/src/driver/mpu9250.cc b/src/driver/mpu9250.cc
index 9b34ef4..3801f55 100644
--- a/src/driver/mpu9250.cc
+++ b/src/driver/mpu9250.cc
@@ -10,6 +10,8 @@
Copyright (c) 2016 SparkFun Electronics, Inc.
Copyright (c) 2019 Daniel Friesel
+SPDX-License-Identifier: MIT
+
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.
diff --git a/src/driver/nrf24l01.cc b/src/driver/nrf24l01.cc
index bdb7d7f..23aaf27 100644
--- a/src/driver/nrf24l01.cc
+++ b/src/driver/nrf24l01.cc
@@ -1,5 +1,10 @@
/*
* Based on https://github.com/nRF24/RF24
+ *
+ * Copyright (C) 2011 J. Coliz <maniacbug@ymail.com>
+ * Copyright (C) 2019 Daniel Friesel
+ *
+ * SPDX-License-Identifier: GPL-2.0-only
*/
#include <stdlib.h>
diff --git a/src/driver/resistive_load.cc b/src/driver/resistive_load.cc
index 419c6c0..575dcb9 100644
--- a/src/driver/resistive_load.cc
+++ b/src/driver/resistive_load.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/resistive_load.h"
#include "driver/gpio.h"
#include "arch.h"
diff --git a/src/driver/s5851a.cc b/src/driver/s5851a.cc
index be46181..2684534 100644
--- a/src/driver/s5851a.cc
+++ b/src/driver/s5851a.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/s5851a.h"
#if defined(MULTIPASS_ARCH_HAS_I2C) && !defined(DRIVER_SOFTI2C)
#include "driver/i2c.h"
diff --git a/src/driver/sharp96.cc b/src/driver/sharp96.cc
index 2bd46d7..a4eba8a 100644
--- a/src/driver/sharp96.cc
+++ b/src/driver/sharp96.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/sharp96.h"
#include "driver/spi.h"
#include "driver/gpio.h"
diff --git a/src/driver/soft_i2c.cc b/src/driver/soft_i2c.cc
index e1cff47..8822fde 100644
--- a/src/driver/soft_i2c.cc
+++ b/src/driver/soft_i2c.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/soft_i2c.h"
#include "driver/gpio.h"
#include "arch.h"