mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-22 01:25:39 -05:00
Start moving to new hardware
This commit is contained in:
11
Weather/Arduino/SparkFun/makefile
Normal file
11
Weather/Arduino/SparkFun/makefile
Normal file
@@ -0,0 +1,11 @@
|
||||
weather:
|
||||
mkdir -p bin/
|
||||
arduino-cli compile --fqbn arduino:avr:uno Weather.ino --output-dir bin
|
||||
|
||||
install:
|
||||
# kubectl scale --replicas=0 --namespace=home-monitor deployment/weather-serial-reader
|
||||
arduino-cli upload -b arduino:avr:uno -p /dev/ttyACM0 --input-dir bin
|
||||
# kubectl scale --replicas=1 --namespace=home-monitor deployment/weather-serial-reader
|
||||
|
||||
clean:
|
||||
rm -rf bin/
|
||||
Reference in New Issue
Block a user