summaryrefslogtreecommitdiffstats
path: root/tinyusb/hw/bsp/esp32s3/family.mk
bl
#DEPS_SUBMODULES +=

.PHONY: all clean flash bootloader-flash app-flash erase monitor dfu-flash dfu

all:
	idf.py -B$(BUILD) -DFAMILY=$(FAMILY) -DBOARD=$(BOARD) $(CMAKE_DEFSYM) -DIDF_TARGET=esp32s3 build

build: all

clean:
	idf.py -B$(BUILD) -DFAMILY=$(FAMILY) -DBOARD=$(BOARD) $(CMAKE_DEFSYM) clean

fullclean:
	if test -f sdkconfig; then $(RM) -f sdkconfig ; fi
	if test -d $(BUILD); then $(RM) -rf $(BUILD) ; fi

flash bootloader-flash app-flash erase monitor dfu-flash dfu:
	idf.py -B$(BUILD) -DFAMILY=$(FAMILY) -DBOARD=$(BOARD) $(CMAKE_DEFSYM) $@

uf2: $(BUILD)/$(PROJECT).uf2

UF2_FAMILY_ID = 0xc47e5767
$(BUILD)/$(PROJECT).uf2: $(BUILD)/$(PROJECT).bin
	@echo CREATE $@
	$(PYTHON) $(TOP)/tools/uf2/utils/uf2conv.py -f $(UF2_FAMILY_ID) -b 0x0 -c -o $@ $^
pan class="o">.replace("\\", "").replace(";", "").split()[1:]) current_module_code = [] elif not line.startswith("endmodule"): line = " " + line current_module_code.append(line.replace("\t", " ")) if line.startswith("endmodule"): if len(current_help_msg) == 0: current_help_msg.append("\n") current_help_msg.append(" %s\n" % current_module_signature) current_help_msg.append("\n") current_help_msg.append("No help message for this cell type found.\n") current_help_msg.append("\n") print_current_cell() current_help_msg = []