summaryrefslogtreecommitdiff
path: root/src/arch/msp430fr5994lp
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/msp430fr5994lp')
-rw-r--r--src/arch/msp430fr5994lp/Kconfig3
-rw-r--r--src/arch/msp430fr5994lp/Makefile.inc4
-rw-r--r--src/arch/msp430fr5994lp/arch.cc5
-rw-r--r--src/arch/msp430fr5994lp/driver/adc.cc5
-rw-r--r--src/arch/msp430fr5994lp/driver/counter.cc5
-rw-r--r--src/arch/msp430fr5994lp/driver/cpufreq.cc5
-rw-r--r--src/arch/msp430fr5994lp/driver/gpio.cc5
-rw-r--r--src/arch/msp430fr5994lp/driver/i2c.cc5
-rw-r--r--src/arch/msp430fr5994lp/driver/spi.cc5
-rw-r--r--src/arch/msp430fr5994lp/driver/spi_a1.cc5
-rw-r--r--src/arch/msp430fr5994lp/driver/stdin.cc5
-rw-r--r--src/arch/msp430fr5994lp/driver/stdout.cc5
-rw-r--r--src/arch/msp430fr5994lp/driver/timed_resistive_load.cc5
-rw-r--r--src/arch/msp430fr5994lp/driver/timer.cc5
-rw-r--r--src/arch/msp430fr5994lp/driver/uptime.cc5
-rwxr-xr-xsrc/arch/msp430fr5994lp/model.py4
16 files changed, 76 insertions, 0 deletions
diff --git a/src/arch/msp430fr5994lp/Kconfig b/src/arch/msp430fr5994lp/Kconfig
index 60f0d6c..350f075 100644
--- a/src/arch/msp430fr5994lp/Kconfig
+++ b/src/arch/msp430fr5994lp/Kconfig
@@ -1,3 +1,6 @@
+# Copyright 2020 Daniel Friesel
+#
+# SPDX-License-Identifier: CC0-1.0
config arch_msp430fr5994lp_driver_adc
bool "ADC (Analog-Digital-Converter)"
select meta_driver_adc
diff --git a/src/arch/msp430fr5994lp/Makefile.inc b/src/arch/msp430fr5994lp/Makefile.inc
index f6ca67e..e7c652a 100644
--- a/src/arch/msp430fr5994lp/Makefile.inc
+++ b/src/arch/msp430fr5994lp/Makefile.inc
@@ -1,4 +1,8 @@
# vim:ft=make
+#
+# Copyright 2020 Daniel Friesel
+#
+# SPDX-License-Identifier: BSD-2-Clause
CPU = 430x
MCU = msp430fr5994
diff --git a/src/arch/msp430fr5994lp/arch.cc b/src/arch/msp430fr5994lp/arch.cc
index b247da3..d3d99ae 100644
--- a/src/arch/msp430fr5994lp/arch.cc
+++ b/src/arch/msp430fr5994lp/arch.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "arch.h"
#include <msp430.h>
diff --git a/src/arch/msp430fr5994lp/driver/adc.cc b/src/arch/msp430fr5994lp/driver/adc.cc
index 5a044a6..e5b3c27 100644
--- a/src/arch/msp430fr5994lp/driver/adc.cc
+++ b/src/arch/msp430fr5994lp/driver/adc.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/adc.h"
#include <msp430.h>
diff --git a/src/arch/msp430fr5994lp/driver/counter.cc b/src/arch/msp430fr5994lp/driver/counter.cc
index d69d844..e93f97b 100644
--- a/src/arch/msp430fr5994lp/driver/counter.cc
+++ b/src/arch/msp430fr5994lp/driver/counter.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/counter.h"
Counter counter;
diff --git a/src/arch/msp430fr5994lp/driver/cpufreq.cc b/src/arch/msp430fr5994lp/driver/cpufreq.cc
index 55a74b5..b71dc57 100644
--- a/src/arch/msp430fr5994lp/driver/cpufreq.cc
+++ b/src/arch/msp430fr5994lp/driver/cpufreq.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
void CPUFreq::set(unsigned int freq_khz)
{
/*
diff --git a/src/arch/msp430fr5994lp/driver/gpio.cc b/src/arch/msp430fr5994lp/driver/gpio.cc
index 1403aed..148bcdb 100644
--- a/src/arch/msp430fr5994lp/driver/gpio.cc
+++ b/src/arch/msp430fr5994lp/driver/gpio.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/gpio.h"
GPIO gpio;
diff --git a/src/arch/msp430fr5994lp/driver/i2c.cc b/src/arch/msp430fr5994lp/driver/i2c.cc
index 57b4c30..589a68c 100644
--- a/src/arch/msp430fr5994lp/driver/i2c.cc
+++ b/src/arch/msp430fr5994lp/driver/i2c.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/i2c.h"
#include "arch.h"
#include <msp430.h>
diff --git a/src/arch/msp430fr5994lp/driver/spi.cc b/src/arch/msp430fr5994lp/driver/spi.cc
index 543987d..e1ad2ad 100644
--- a/src/arch/msp430fr5994lp/driver/spi.cc
+++ b/src/arch/msp430fr5994lp/driver/spi.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/spi.h"
#include <msp430.h>
diff --git a/src/arch/msp430fr5994lp/driver/spi_a1.cc b/src/arch/msp430fr5994lp/driver/spi_a1.cc
index 0dc32c8..58b604f 100644
--- a/src/arch/msp430fr5994lp/driver/spi_a1.cc
+++ b/src/arch/msp430fr5994lp/driver/spi_a1.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/spi_a1.h"
#include <msp430.h>
diff --git a/src/arch/msp430fr5994lp/driver/stdin.cc b/src/arch/msp430fr5994lp/driver/stdin.cc
index cc6e586..033349d 100644
--- a/src/arch/msp430fr5994lp/driver/stdin.cc
+++ b/src/arch/msp430fr5994lp/driver/stdin.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/stdin.h"
#include <msp430.h>
diff --git a/src/arch/msp430fr5994lp/driver/stdout.cc b/src/arch/msp430fr5994lp/driver/stdout.cc
index ccac54b..9bd196f 100644
--- a/src/arch/msp430fr5994lp/driver/stdout.cc
+++ b/src/arch/msp430fr5994lp/driver/stdout.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/stdout.h"
#include <msp430.h>
diff --git a/src/arch/msp430fr5994lp/driver/timed_resistive_load.cc b/src/arch/msp430fr5994lp/driver/timed_resistive_load.cc
index 2c46be2..09d6a84 100644
--- a/src/arch/msp430fr5994lp/driver/timed_resistive_load.cc
+++ b/src/arch/msp430fr5994lp/driver/timed_resistive_load.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/timed_resistive_load.h"
#include "driver/gpio.h"
#include "arch.h"
diff --git a/src/arch/msp430fr5994lp/driver/timer.cc b/src/arch/msp430fr5994lp/driver/timer.cc
index 4f2d6d1..a54b5c6 100644
--- a/src/arch/msp430fr5994lp/driver/timer.cc
+++ b/src/arch/msp430fr5994lp/driver/timer.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/timer.h"
Timer timer;
diff --git a/src/arch/msp430fr5994lp/driver/uptime.cc b/src/arch/msp430fr5994lp/driver/uptime.cc
index 05154f9..29d1bfc 100644
--- a/src/arch/msp430fr5994lp/driver/uptime.cc
+++ b/src/arch/msp430fr5994lp/driver/uptime.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/uptime.h"
#include <msp430.h>
diff --git a/src/arch/msp430fr5994lp/model.py b/src/arch/msp430fr5994lp/model.py
index 4747b68..525ecb7 100755
--- a/src/arch/msp430fr5994lp/model.py
+++ b/src/arch/msp430fr5994lp/model.py
@@ -1,4 +1,8 @@
#!/usr/bin/env python3
+#
+# Copyright 2020 Daniel Friesel
+#
+# SPDX-License-Identifier: BSD-2-Clause
import numpy as np
import sys