From 054309857da4d3b80679cab08b0e4ee70aee5c02 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Thu, 14 Nov 2024 20:42:50 +0100 Subject: [PATCH] added licenses to shell files --- monitor.sh | 16 ++++++++++++++++ setup.sh | 16 ++++++++++++++++ upload.sh | 16 ++++++++++++++++ 3 files changed, 48 insertions(+) diff --git a/monitor.sh b/monitor.sh index 167bca3..ef08383 100644 --- a/monitor.sh +++ b/monitor.sh @@ -1,6 +1,22 @@ #!/bin/bash board="esp8266:esp8266:nodemcuv2" +# This is part of RadiationMapping +# Copyright (C) 2024 Václav Šmejkal + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + port="/dev/ttyUSB0" baudrate="9600" diff --git a/setup.sh b/setup.sh index a76798c..893cfea 100644 --- a/setup.sh +++ b/setup.sh @@ -1,4 +1,20 @@ #!/bin/bash +# This is part of RadiationMapping +# Copyright (C) 2024 Václav Šmejkal + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + arduino-cli core update-index arduino-cli core install --additional-urls http://arduino.esp8266.com/stable/package_esp8266com_index.json esp8266:ESP8266 diff --git a/upload.sh b/upload.sh index 2ff03c3..13e06d9 100644 --- a/upload.sh +++ b/upload.sh @@ -1,6 +1,22 @@ #!/bin/bash board="esp8266:esp8266:nodemcuv2" +# This is part of RadiationMapping +# Copyright (C) 2024 Václav Šmejkal + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + port="/dev/ttyUSB0" arduino-cli compile -b $board -p $port $(pwd | rev | cut -d "/" -f 1 | rev).ino