diff --git a/cpu/esp_common/Makefile.include b/cpu/esp_common/Makefile.include index 81da7f73e209..e2ecff5721b9 100644 --- a/cpu/esp_common/Makefile.include +++ b/cpu/esp_common/Makefile.include @@ -120,7 +120,7 @@ PROGRAMMERS_SUPPORTED += esptool ELFFILE ?= $(BINDIR)/$(APPLICATION).elf FLASHFILE ?= $(ELFFILE).bin -ESPTOOL ?= $(RIOTTOOLS)/esptool/esptool.py +ESPTOOL ?= $(RIOTTOOLS)/esptools/esptool.py # This is the binary that ends up programmed in the flash. $(ELFFILE).bin: $(ELFFILE) @@ -147,7 +147,7 @@ $(BINDIR)/partitions.csv: $(FLASHFILE) $(Q)ls -l $< | awk '{ print $$5 }' >> $@ $(BINDIR)/partitions.bin: $(PARTITION_TABLE_CSV) - $(Q)python3 $(RIOTTOOLS)/esptool/gen_esp32part.py --verify $< $@ + $(Q)python3 $(RIOTTOOLS)/esptools/gen_esp32part.py --verify $< $@ # Convert .elf and .csv to .bin files at build time, but make them available for # tests at flash time. These can't be added to FLASHDEPS because they depend on diff --git a/dist/tools/esptool/espreset.py b/dist/tools/esptools/espreset.py similarity index 100% rename from dist/tools/esptool/espreset.py rename to dist/tools/esptools/espreset.py diff --git a/dist/tools/esptool/esptool.py b/dist/tools/esptools/esptool.py similarity index 100% rename from dist/tools/esptool/esptool.py rename to dist/tools/esptools/esptool.py diff --git a/dist/tools/esptool/gen_esp32part.py b/dist/tools/esptools/gen_esp32part.py similarity index 100% rename from dist/tools/esptool/gen_esp32part.py rename to dist/tools/esptools/gen_esp32part.py diff --git a/makefiles/tools/esptool.inc.mk b/makefiles/tools/esptool.inc.mk index 4188590a03dd..1d30d2b151f7 100644 --- a/makefiles/tools/esptool.inc.mk +++ b/makefiles/tools/esptool.inc.mk @@ -7,7 +7,7 @@ endif BOOTLOADER_BIN = bootloader$(BOOTLOADER_COLOR)$(BOOTLOADER_INFO).bin -ESPTOOL ?= $(RIOTTOOLS)/esptool/esptool.py +ESPTOOL ?= $(RIOTTOOLS)/esptools/esptool.py # flasher configuration ifneq (,$(filter esp_qemu,$(USEMODULE))) @@ -43,5 +43,5 @@ ifeq (esp32,$(CPU_FAM)) endif # reset tool configuration -RESET ?= $(RIOTTOOLS)/esptool/espreset.py +RESET ?= $(RIOTTOOLS)/esptools/espreset.py RESET_FLAGS ?= --port $(PROG_DEV)