Remove IDF submodule, use v4.4 in makefile prepare, no longer run prepare by default

This commit is contained in:
Renze Nicolai 2023-04-22 18:37:45 +02:00
parent e29b4bad58
commit a4555b93bc
3 changed files with 7 additions and 6 deletions

3
.gitmodules vendored
View file

@ -1,6 +1,3 @@
[submodule "esp-idf"]
path = esp-idf
url = https://github.com/espressif/esp-idf.git
[submodule "components/bus-i2c"]
path = components/bus-i2c
url = https://github.com/Nicolai-Electronics/esp32-component-bus-i2c.git

View file

@ -6,15 +6,20 @@ SHELL := /usr/bin/env bash
.PHONY: prepare clean build flash monitor menuconfig
all: prepare build install
all: build install
prepare:
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:
rm -rf "$(BUILDDIR)"
fullclean:
source "$(IDF_PATH)/export.sh" && idf.py fullclean
build:
source "$(IDF_PATH)/export.sh" && idf.py build

@ -1 +0,0 @@
Subproject commit 1329b19fe494500aeb79d19b27cfd99b40c37aec