added licenses to shell files
This commit is contained in:
parent
3b8fe2f82c
commit
054309857d
16
monitor.sh
16
monitor.sh
@ -1,6 +1,22 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
board="esp8266:esp8266:nodemcuv2"
|
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 <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
port="/dev/ttyUSB0"
|
port="/dev/ttyUSB0"
|
||||||
baudrate="9600"
|
baudrate="9600"
|
||||||
|
|
||||||
|
16
setup.sh
16
setup.sh
@ -1,4 +1,20 @@
|
|||||||
#!/bin/bash
|
#!/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 <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
arduino-cli core update-index
|
arduino-cli core update-index
|
||||||
arduino-cli core install --additional-urls http://arduino.esp8266.com/stable/package_esp8266com_index.json esp8266:ESP8266
|
arduino-cli core install --additional-urls http://arduino.esp8266.com/stable/package_esp8266com_index.json esp8266:ESP8266
|
||||||
|
16
upload.sh
16
upload.sh
@ -1,6 +1,22 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
board="esp8266:esp8266:nodemcuv2"
|
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 <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
port="/dev/ttyUSB0"
|
port="/dev/ttyUSB0"
|
||||||
|
|
||||||
arduino-cli compile -b $board -p $port $(pwd | rev | cut -d "/" -f 1 | rev).ino
|
arduino-cli compile -b $board -p $port $(pwd | rev | cut -d "/" -f 1 | rev).ino
|
||||||
|
Loading…
x
Reference in New Issue
Block a user