group esp32s2 board into its group

This commit is contained in:
hathach
2020-11-27 22:31:47 +07:00
parent 9f0f29cd40
commit b572983cc8
15 changed files with 121 additions and 460 deletions
+14
View File
@@ -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