Tools: idf-v4.4 updates

update wifi drivers

nick: fix build warning

In file included from ../../libraries/AP_HAL_ESP32/WiFiUdpDriver.cpp:26:
../../modules/esp_idf/components/esp_event/include/esp_event_loop.h:2:2: warning: #warning "esp_event_loop.h is deprecated, please include esp_event.h instead" [-Wcpp]
 #warning "esp_event_loop.h is deprecated, please include esp_event.h instead"

AP_HAL_ESP32: idf-v4.4 updates

AP_HAL_ESP32: sdkconfig updates
This commit is contained in:
Nicholas Kruzan 2023-05-14 02:39:46 +00:00 committed by Peter Barker
parent 26dd210be6
commit e807d2a34a
1 changed files with 10 additions and 14 deletions

View File

@ -23,9 +23,9 @@ else
if [ ! `ls esp_idf/install.sh 2>/dev/null` ]; then
echo "found empty IDF, cloning"
# add esp_idf as almost submodule, depths uses less space
#git clone -b v4.2 --single-branch --depth 10 https://github.com/espressif/esp-idf.git esp_idf
git clone -b 'release/v4.2' https://github.com/espressif/esp-idf.git esp_idf
# check if we've got v4.2 checked out, only this version of esp_idf is tested and works?
#git clone -b v4.4 --single-branch --depth 10 https://github.com/espressif/esp-idf.git esp_idf
git clone -b 'release/v4.4' https://github.com/espressif/esp-idf.git esp_idf
# check if we've got v4.4 checked out, only this version of esp_idf is tested and works?
fi
fi
@ -33,22 +33,18 @@ fi
echo "inspecting possible IDF... "
cd esp_idf
echo `git rev-parse HEAD`
# these are a selection of possible specific commit/s that represent v4.2 branch of the esp_idf
if [ `git rev-parse HEAD` == 'f370d5089f61ac39f183109b6b2908700cfe3b0a' ]; then
echo "IDF version 'release/4.2' found OK, great.";
elif [ `git rev-parse HEAD` == 'c40f2590bf759ff60ef122afa79b4ec04e7633d2' ]; then
echo "IDF version 'v4.2' found OK, great.";
# these are a selection of possible specific commit/s that represent v4.4 branch of the esp_idf
if [ `git rev-parse HEAD` == 'f98ec313f2a9bc50151349c404a8f2f10ed99649' ]; then
echo "IDF version 'release/4.4' found OK, great.";
else
echo "looks like an idf, but maybe not v4.2 branch, trying to switch branch and reflect upstream";
echo "looks like an idf, but not v4.4 branch, trying to switch branch and reflect upstream";
../../Tools/gittools/submodule-sync.sh >/dev/null
git fetch ; git checkout -f release/v4.2
git fetch ; git checkout -f release/v4.4
# retry same as above
echo `git rev-parse HEAD`
if [ `git rev-parse HEAD` == 'f370d5089f61ac39f183109b6b2908700cfe3b0a' ]; then
echo "IDF version 'release/4.2' found OK, great.";
elif [ `git rev-parse HEAD` == 'c40f2590bf759ff60ef122afa79b4ec04e7633d2' ]; then
echo "IDF version 'v4.2' found OK, great.";
if [ `git rev-parse HEAD` == 'f98ec313f2a9bc50151349c404a8f2f10ed99649' ]; then
echo "IDF version 'release/4.4' found OK, great.";
fi
fi
cd ../..