added licenses to shell files

This commit is contained in:
Václav Šmejkal 2024-11-14 20:42:50 +01:00
parent 3b8fe2f82c
commit 054309857d
Signed by: ENGO150
GPG Key ID: 4A57E86482968843
3 changed files with 48 additions and 0 deletions

View File

@ -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"

View File

@ -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

View File

@ -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