mirror of
https://github.com/badgeteam/mch2022-template-app.git
synced 2024-09-28 22:31:55 +00:00
Remove IDF submodule, use v4.4 in makefile prepare, no longer run prepare by default
This commit is contained in:
parent
e29b4bad58
commit
a4555b93bc
3 changed files with 7 additions and 6 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,6 +1,3 @@
|
||||||
[submodule "esp-idf"]
|
|
||||||
path = esp-idf
|
|
||||||
url = https://github.com/espressif/esp-idf.git
|
|
||||||
[submodule "components/bus-i2c"]
|
[submodule "components/bus-i2c"]
|
||||||
path = components/bus-i2c
|
path = components/bus-i2c
|
||||||
url = https://github.com/Nicolai-Electronics/esp32-component-bus-i2c.git
|
url = https://github.com/Nicolai-Electronics/esp32-component-bus-i2c.git
|
||||||
|
|
9
Makefile
9
Makefile
|
@ -6,15 +6,20 @@ SHELL := /usr/bin/env bash
|
||||||
|
|
||||||
.PHONY: prepare clean build flash monitor menuconfig
|
.PHONY: prepare clean build flash monitor menuconfig
|
||||||
|
|
||||||
all: prepare build install
|
all: build install
|
||||||
|
|
||||||
prepare:
|
prepare:
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
cd esp-idf; bash install.sh
|
rm -rf "$(IDF_PATH)"
|
||||||
|
git clone --recursive --branch v4.4.4 https://github.com/espressif/esp-idf.git
|
||||||
|
cd "$(IDF_PATH)"; bash install.sh
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf "$(BUILDDIR)"
|
rm -rf "$(BUILDDIR)"
|
||||||
|
|
||||||
|
fullclean:
|
||||||
|
source "$(IDF_PATH)/export.sh" && idf.py fullclean
|
||||||
|
|
||||||
build:
|
build:
|
||||||
source "$(IDF_PATH)/export.sh" && idf.py build
|
source "$(IDF_PATH)/export.sh" && idf.py build
|
||||||
|
|
||||||
|
|
1
esp-idf
1
esp-idf
|
@ -1 +0,0 @@
|
||||||
Subproject commit 1329b19fe494500aeb79d19b27cfd99b40c37aec
|
|
Loading…
Reference in a new issue