From b572983cc82f8497361142caa29785024115903b Mon Sep 17 00:00:00 2001 From: hathach Date: Fri, 27 Nov 2020 22:31:47 +0700 Subject: group esp32s2 board into its group --- examples/rules.mk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'examples/rules.mk') diff --git a/examples/rules.mk b/examples/rules.mk index 37e0e7a19..921f4a384 100644 --- a/examples/rules.mk +++ b/examples/rules.mk @@ -11,12 +11,26 @@ ifeq ($(CROSS_COMPILE),xtensa-esp32s2-elf-) all: idf.py -B$(BUILD) -DBOARD=$(BOARD) build +build: all + clean: idf.py -B$(BUILD) -DBOARD=$(BOARD) clean flash: idf.py -B$(BUILD) -DBOARD=$(BOARD) flash +bootloader-flash: + idf.py -B$(BUILD) -DBOARD=$(BOARD) bootloader-flash + +app-flash: + idf.py -B$(BUILD) -DBOARD=$(BOARD) app-flash + +erase: + idf.py -B$(BUILD) -DBOARD=$(BOARD) erase_flash + +monitor: + idf.py -B$(BUILD) -DBOARD=$(BOARD) monitor + else # GNU Make build system -- cgit v1.3.1