diff --git a/Makefile b/Makefile index a253361..7fda0eb 100644 --- a/Makefile +++ b/Makefile @@ -4,9 +4,9 @@ IDF_PATH ?= $(shell pwd)/esp-idf IDF_EXPORT_QUIET ?= 0 SHELL := /usr/bin/env bash -.PHONY: prepare clean build flash erase monitor menuconfig image +.PHONY: prepare clean build flash erase monitor menuconfig -all: prepare build flash +all: prepare build prepare: git submodule update --init --recursive @@ -29,9 +29,3 @@ monitor: menuconfig: source "$(IDF_PATH)/export.sh" && idf.py menuconfig - -image: - cd "$(BUILDDIR)"; dd if=/dev/zero bs=1M count=16 of=flash.bin - cd "$(BUILDDIR)"; dd if=bootloader/bootloader.bin bs=1 seek=4096 of=flash.bin conv=notrunc - cd "$(BUILDDIR)"; dd if=partition_table/partition-table.bin bs=1 seek=36864 of=flash.bin conv=notrunc - cd "$(BUILDDIR)"; dd if=main.bin bs=1 seek=65536 of=flash.bin conv=notrunc