Download libraries/Firmata/release.sh from Beifengdo/Arduino-Development: direct link, hf CLI and curl.
- Browser
- Download file 741 Bytes
-
https://huggingface.co/datasets/Beifengdo/Arduino-Development/resolve/main/libraries/Firmata/release.sh
- Command line
-
hf download hf://datasets/Beifengdo/Arduino-Development/libraries/Firmata/release.sh
-
curl -L -o release.sh https://huggingface.co/datasets/Beifengdo/Arduino-Development/resolve/main/libraries/Firmata/release.sh
741 Bytes
| # use this script to package Firmata for distribution | |
| # package for Arduino 1.0.x | |
| mkdir -p temp/Firmata | |
| cp -r examples temp/Firmata | |
| cp -r extras temp/Firmata | |
| cp -r utility temp/Firmata | |
| cp *.cpp temp/Firmata | |
| cp *.h temp/Firmata | |
| cp keywords.txt temp/Firmata | |
| cp readme.md temp/Firmata | |
| cd temp | |
| find . -name "*.DS_Store" -type f -delete | |
| zip -r Firmata.zip ./Firmata/ | |
| cd .. | |
| mv ./temp/Firmata.zip Arduino-1.0.x-Firmata-2.5.8.zip | |
| #package for Arduino 1.6.x and 1.8.x | |
| cp library.properties temp/Firmata | |
| cd temp/Firmata | |
| mv readme.md ./extras/ | |
| mkdir src | |
| mv *.cpp ./src/ | |
| mv *.h ./src/ | |
| mv utility ./src/ | |
| cd .. | |
| find . -name "*.DS_Store" -type f -delete | |
| zip -r Firmata.zip ./Firmata/ | |
| cd .. | |
| mv ./temp/Firmata.zip Firmata-2.5.8.zip | |
| rm -r ./temp | |