chore: Downgrade ESP-IDF from v6.1.0 to v5.5.2
Matches the version deployed on ESP32 sensors. Removes v6.1 workaround, updates all docs to reflect v5.5.2, regenerates sdkconfig for the correct IDF version.
This commit is contained in:
@@ -4,12 +4,12 @@
|
||||
|
||||
| Component | Version | Location |
|
||||
|-----------|---------|----------|
|
||||
| ESP-IDF | v6.1.0 | `~/esp/esp-idf/` |
|
||||
| ESP-IDF | v5.5.2 | `~/esp/esp-idf/` |
|
||||
| esp-csi | latest | `~/esp/esp-csi/` (reference only) |
|
||||
| Xtensa toolchain | GCC 15.2.0 | `~/.espressif/tools/` |
|
||||
| Xtensa toolchain | (bundled) | `~/.espressif/tools/` |
|
||||
| Python | 3.13+ | ESP-IDF venv |
|
||||
|
||||
**Note:** No RISC-V toolchain installed. Only ESP32 (Xtensa) targets are supported. For ESP32-C3/C5/C6, run `~/esp/esp-idf/install.sh` with the appropriate target first.
|
||||
**Note:** Only ESP32 (Xtensa) target is installed. For ESP32-C3/C5/C6, run `~/esp/esp-idf/install.sh` with the appropriate target first.
|
||||
|
||||
## Setup
|
||||
|
||||
@@ -54,17 +54,6 @@ idf.py build
|
||||
|
||||
Build output goes to `build/` (excluded by `.gitignore`). External component `esp_csi_gain_ctrl` is fetched automatically to `managed_components/`.
|
||||
|
||||
### ESP-IDF v6.1 Workaround
|
||||
|
||||
The `esp_csi_gain_ctrl` component (v0.1.4) only ships prebuilt libraries up to ESP-IDF v6.0. On ESP-IDF v6.1+, the build fails with a missing `.a` file. Fix by symlinking:
|
||||
|
||||
```bash
|
||||
cd managed_components/espressif__esp_csi_gain_ctrl
|
||||
ln -s 6.0 6.1
|
||||
```
|
||||
|
||||
This is needed after every `idf.py fullclean` or component re-fetch. The v6.0 library is ABI-compatible with v6.1.
|
||||
|
||||
## Flash
|
||||
|
||||
### Connect ESP32
|
||||
|
||||
Reference in New Issue
Block a user