Feat: make file to do not forget commands

This commit is contained in:
Bertrand Benjamin 2022-10-12 08:30:37 +02:00
parent 8bb37341f2
commit 61d9502e55

13
Makefile Normal file
View File

@ -0,0 +1,13 @@
PHONY:
compile: esp32_radio/esp32_radio.ino esp32_radio/wifiinfo.h
arduino-cli compile --fqbn esp32:esp32:esp32 esp32_radio
upload:
arduino-cli upload -p /dev/ttyUSB0 -b esp32:esp32:esp32 esp32_radio
watch:
screen /dev/ttyUSB0 115200
all: compile upload watch