mirror of
https://github.com/badgeteam/mch2022-template-app.git
synced 2024-11-22 00:31:00 +00:00
Remove image build function from makefile, remove flashing from default action
This commit is contained in:
parent
b19802a4e3
commit
16bb449790
1 changed files with 2 additions and 8 deletions
10
Makefile
10
Makefile
|
@ -4,9 +4,9 @@ IDF_PATH ?= $(shell pwd)/esp-idf
|
||||||
IDF_EXPORT_QUIET ?= 0
|
IDF_EXPORT_QUIET ?= 0
|
||||||
SHELL := /usr/bin/env bash
|
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:
|
prepare:
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
@ -29,9 +29,3 @@ monitor:
|
||||||
|
|
||||||
menuconfig:
|
menuconfig:
|
||||||
source "$(IDF_PATH)/export.sh" && idf.py 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
|
|
||||||
|
|
Loading…
Reference in a new issue