4.0-5.5
---公用部分 cd /workspace mkdir idf55 cd idf55 git clone -b release/v5.5 --recursive https://github.com/espressif/esp-idf.git
mv esp-idf esp-idf-5.5 cd esp-idf-5.5 rm -rf .git
export IDF_TOOLS_PATH=/workspace/esp-idf-tools cd /workspace/idf55/esp-idf-5.5 ./install.sh esp32s3 esp32 . ./export.sh
---处理大于256M文件的方法 查找超过250M的文件 find . -type f -size +250M -exec ls -lh {} ;
.gitignore添加
//5M find . -type f -size +5242880c | grep -v '.git/' | sort | uniq >> .gitignore
//250 find . -type f -size +262144000c | grep -v '.git/' | sort | uniq >> .gitignore
git rm --cached ./esp-idf-tools/dist/riscv32-esp-elf-14.2.0_20241119-x86_64-linux-gnu.tar.xz
git push --force 如果报不存在地址则
git remote -v git remote add origin https://cnb.cool/zerolone2/idf55 若需修改已配置的远程地址,使用 git remote set-url origin <新URL>。
git push --force origin main
https://github.com/hak5peaks/ESP32-C5-WiFi-Scanner
cp -r $IDF_PATH/examples/get-started/hello_world c5wifi
idf.py --preview set-target esp32c5 idf.py build