esp:esp32:esp-idf-info:architecture-change
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| esp:esp32:esp-idf-info:architecture-change [2025/02/09 12:14] – oscar | esp:esp32:esp-idf-info:architecture-change [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Architecture Change ====== | ||
| - | ---- | ||
| - | |||
| - | Use the following steps to build a project for another architecture: | ||
| - | |||
| - | Move into the project folder and do a cleanup: | ||
| - | idf.py fullclean | ||
| - | Make a backup of the project folder | ||
| - | cd .. | ||
| - | cp -r LCR-meter/ LCR-meter-backup | ||
| - | Move into the project folder and change the architecture: | ||
| - | cd LCR-meter | ||
| - | idf.py set-target esp32c3 | ||
| - | |||
| - | Setup project configuration | ||
| - | When setting the target several project settings are returned to defaults. Use **idf.py menuconfig** to check and change settings: | ||
| - | idf.py menuconfig | ||
| - | | ||
| - | Change partition settings to: " | ||
| - | Enable ESP-TLS Server | ||
| - | Enable ESP_HTTPS_SERVER component | ||
| - | Change Serial Flasher config: Flash size (2 MB) ---> 4 MB | ||
| - | Change HTTP Server: Max HTTP Request Header Length 512 --> 1014 | ||
| - | |||
| - | Rebuild the project | ||
| - | idf.py build | ||
| - | Check the USB port used by the new board, by running the following command and (un)plugging the USB connector: | ||
| - | sudo udevadm monitor -u | ||
| - | Further we assume that port / | ||
| - | Do a full flash: | ||
| - | idf.py -p / | ||
| - | |||
| - | |||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
esp/esp32/esp-idf-info/architecture-change.1739103269.txt.gz · Last modified: by oscar
