diff options
| author | Ha Thach <[email protected]> | 2021-01-22 11:29:42 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-01-22 11:29:42 +0700 |
| commit | edd91d28f5afa175d7f52ec1bf1845ff29aabab9 (patch) | |
| tree | 712d223dd102497b8d4764db50d9b3eaa7f82fef /examples/rules.mk | |
| parent | 388abe9d9cc0a7c360fd902e01461a53bb7b3f42 (diff) | |
| parent | 0cf2b02791bee41583f58b65c57bdac4ca1faf45 (diff) | |
Merge pull request #599 from hathach/group-boards-into-family
Group boards into family
Diffstat (limited to 'examples/rules.mk')
| -rw-r--r-- | examples/rules.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/rules.mk b/examples/rules.mk index 2274d1cd2..fb1fe76c2 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 |
