You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
320 B
Makefile

12 months ago
PROJECT_DIR = $(CURDIR)
PLATFORMIO_BIN = /bin/pio
all: build upload
build:
$(PLATFORMIO_BIN) run -d $(PROJECT_DIR)
upload:
$(PLATFORMIO_BIN) run -d $(PROJECT_DIR) -t upload
clean:
$(PLATFORMIO_BIN) run -d $(PROJECT_DIR) -t clean
monitor:
$(PLATFORMIO_BIN) device monitor
.PHONY: all build upload clean monitor