mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-14 17:23:11 -05:00
15 lines
408 B
Makefile
15 lines
408 B
Makefile
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/
|