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