From 61d9502e5517f8190d775c56e1724d78b69e5735 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Wed, 12 Oct 2022 08:30:37 +0200 Subject: [PATCH] Feat: make file to do not forget commands --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..181f1a0 --- /dev/null +++ b/Makefile @@ -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 +