From 16bb4497909ebc0741c430890162dde673ea9654 Mon Sep 17 00:00:00 2001 From: Renze Nicolai Date: Thu, 16 Jun 2022 20:59:40 +0200 Subject: [PATCH] Remove image build function from makefile, remove flashing from default action --- Makefile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) 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