esp32_radio/Makefile

14 lines
268 B
Makefile

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