summaryrefslogtreecommitdiff
path: root/wasp/boards
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-03-22 15:40:18 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-03-22 15:40:18 (GMT)
commitb9fe31241c30bbcc0486f25bfe08af22fd20a555 (patch)
treeeeddfcb42898960fbfe9e9b1f715d5f911e45dec /wasp/boards
parentf8bd1a74613a79cad56b5b60079402d40a87d131 (diff)
Add licensing information for all wasp-os files.
Diffstat (limited to 'wasp/boards')
-rw-r--r--wasp/boards/dsd6/manifest.py3
-rw-r--r--wasp/boards/dsd6/watch.py3
-rw-r--r--wasp/boards/nitrogen/manifest.py3
-rw-r--r--wasp/boards/nitrogen/watch.py3
-rw-r--r--wasp/boards/pinetime/manifest.py3
-rw-r--r--wasp/boards/pinetime/watch.py3
-rw-r--r--wasp/boards/simulator/display.py3
-rw-r--r--wasp/boards/simulator/machine.py3
-rw-r--r--wasp/boards/simulator/micropython.py3
-rw-r--r--wasp/boards/simulator/watch.py3
-rw-r--r--wasp/boards/sphinx/machine.py3
-rw-r--r--wasp/boards/sphinx/watch.py3
12 files changed, 36 insertions, 0 deletions
diff --git a/wasp/boards/dsd6/manifest.py b/wasp/boards/dsd6/manifest.py
index 9efab20..bee48c0 100644
--- a/wasp/boards/dsd6/manifest.py
+++ b/wasp/boards/dsd6/manifest.py
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: LGPL-3.0-or-later
+# Copyright (C) 2020 Daniel Thompson
+
freeze('../..',
(
'demo.py',
diff --git a/wasp/boards/dsd6/watch.py b/wasp/boards/dsd6/watch.py
index fdfdba9..0148d95 100644
--- a/wasp/boards/dsd6/watch.py
+++ b/wasp/boards/dsd6/watch.py
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: LGPL-3.0-or-later
+# Copyright (C) 2020 Daniel Thompson
+
from machine import RTCounter as RTC
# Start measuring time (and feeding the watchdog)
diff --git a/wasp/boards/nitrogen/manifest.py b/wasp/boards/nitrogen/manifest.py
index f60ebd9..b17711b 100644
--- a/wasp/boards/nitrogen/manifest.py
+++ b/wasp/boards/nitrogen/manifest.py
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: LGPL-3.0-or-later
+# Copyright (C) 2020 Daniel Thompson
+
freeze('../..',
(
'demo.py',
diff --git a/wasp/boards/nitrogen/watch.py b/wasp/boards/nitrogen/watch.py
index fdfdba9..0148d95 100644
--- a/wasp/boards/nitrogen/watch.py
+++ b/wasp/boards/nitrogen/watch.py
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: LGPL-3.0-or-later
+# Copyright (C) 2020 Daniel Thompson
+
from machine import RTCounter as RTC
# Start measuring time (and feeding the watchdog)
diff --git a/wasp/boards/pinetime/manifest.py b/wasp/boards/pinetime/manifest.py
index cdf2e15..191ee3d 100644
--- a/wasp/boards/pinetime/manifest.py
+++ b/wasp/boards/pinetime/manifest.py
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: LGPL-3.0-or-later
+# Copyright (C) 2020 Daniel Thompson
+
freeze('.', 'watch.py', opt=3)
freeze('../..',
(
diff --git a/wasp/boards/pinetime/watch.py b/wasp/boards/pinetime/watch.py
index 332d761..e4c4106 100644
--- a/wasp/boards/pinetime/watch.py
+++ b/wasp/boards/pinetime/watch.py
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: LGPL-3.0-or-later
+# Copyright (C) 2020 Daniel Thompson
+
# Start measuring time (and feeding the watchdog) before *anything* else
from machine import RTCounter
from drivers.nrf_rtc import RTC
diff --git a/wasp/boards/simulator/display.py b/wasp/boards/simulator/display.py
index 3d7d388..1a1e0c9 100644
--- a/wasp/boards/simulator/display.py
+++ b/wasp/boards/simulator/display.py
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: LGPL-3.0-or-later
+# Copyright (C) 2020 Daniel Thompson
+
""" Simulated ST7789 display and CST816S touchscreen. """
import sys
diff --git a/wasp/boards/simulator/machine.py b/wasp/boards/simulator/machine.py
index 62a95c5..2fc9754 100644
--- a/wasp/boards/simulator/machine.py
+++ b/wasp/boards/simulator/machine.py
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: LGPL-3.0-or-later
+# Copyright (C) 2020 Daniel Thompson
+
import display
import time
diff --git a/wasp/boards/simulator/micropython.py b/wasp/boards/simulator/micropython.py
index 578a12d..41c30a4 100644
--- a/wasp/boards/simulator/micropython.py
+++ b/wasp/boards/simulator/micropython.py
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: LGPL-3.0-or-later
+# Copyright (C) 2020 Daniel Thompson
+
def const(fn):
return fn
diff --git a/wasp/boards/simulator/watch.py b/wasp/boards/simulator/watch.py
index f38d7a1..ce281f4 100644
--- a/wasp/boards/simulator/watch.py
+++ b/wasp/boards/simulator/watch.py
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: LGPL-3.0-or-later
+# Copyright (C) 2020 Daniel Thompson
+
import time
def sleep_ms(ms):
time.sleep(ms / 1000)
diff --git a/wasp/boards/sphinx/machine.py b/wasp/boards/sphinx/machine.py
index b35a2a7..dfddb6d 100644
--- a/wasp/boards/sphinx/machine.py
+++ b/wasp/boards/sphinx/machine.py
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: LGPL-3.0-or-later
+# Copyright (C) 2020 Daniel Thompson
+
class ADC():
pass
diff --git a/wasp/boards/sphinx/watch.py b/wasp/boards/sphinx/watch.py
index dccee44..57b590e 100644
--- a/wasp/boards/sphinx/watch.py
+++ b/wasp/boards/sphinx/watch.py
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: LGPL-3.0-or-later
+# Copyright (C) 2020 Daniel Thompson
+
import time
def sleep_ms(ms):
time.sleep(ms / 1000)