diff options
| author | hathach <[email protected]> | 2020-11-27 22:31:47 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-11-27 22:31:47 +0700 |
| commit | b572983cc82f8497361142caa29785024115903b (patch) | |
| tree | 65f25cf7e9825cc2aa5e7c0b88ba0febf244c9af /examples/rules.mk | |
| parent | 9f0f29cd403c4158f3d85892b23d638e4d34afec (diff) | |
group esp32s2 board into its group
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 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 |
