@@ -59,15 +59,22 @@ Use ESP-IDF 5.1.4 from https://github.com/espressif/esp-idf/tree/release/v5.1
5959This example has been tested with Arduino Core 3.0.4
6060
6161The project will download all necessary components, including the Arduino Core.
62- Run ` idf.py -D SDKCONFIG_DEFAULTS="sdkconfig.defaults.<SOC>.idf" -p <PORT> flash monitor `
62+ Execute this sequence:
63+ ` <remove build folder> using linux rm command or Windows rmdir command `
64+ ` idf.py set-target <SoC_Target> `
65+ ` idf.py -D SDKCONFIG_DEFAULTS="sdkconfig.defaults.<SOC>.idf" -p <PORT> flash monitor `
6366
6467Example for ESP32-S3/Linux | macOS:
6568```
66- idf.py -D SDKCONFIG_DEFAULTS="sdkconfig.defaults.esp32s3" -p /dev/ttyACM0 flash monitor
69+ rm -rf build
70+ idf.py set-target esp32s3
71+ idf.py -D SDKCONFIG_DEFAULTS="sdkconfig.defaults" -p /dev/ttyACM0 flash monitor
6772```
6873Example for ESP32-C3/Windows:
6974```
70- idf.py -D SDKCONFIG_DEFAULTS="sdkconfig.defaults.esp32c3" -p com3 flash monitor
75+ rmdir /s/q build
76+ idf.py set-target esp32c3
77+ idf.py -D SDKCONFIG_DEFAULTS="sdkconfig.defaults" -p com3 flash monitor
7178```
7279
7380It may be necessary to delete some folders and files before running ` idf.py `
@@ -95,11 +102,15 @@ In order to build the application that will use Thread Networking instead of Wi-
95102
96103Example for ESP32-C6/Linux | macOS:
97104```
98- idf.py -D SDKCONFIG_DEFAULTS="sdkconfig.defaults.c6_thread" -p /dev/ttyACM0 flash monitor
105+ rm -rf build
106+ idf.py set-target esp32c6
107+ idf.py -D SDKCONFIG_DEFAULTS="sdkconfig.defaults;sdkconfig.defaults.c6_thread" -p /dev/ttyACM0 flash monitor
99108```
100109Example for ESP32-C6/Windows:
101110```
102- idf.py -D SDKCONFIG_DEFAULTS="sdkconfig.defaults.c6_thread" -p com3 flash monitor
111+ rmdir /s/q build
112+ idf.py set-targt esp32c6
113+ idf.py -D SDKCONFIG_DEFAULTS="sdkconfig.defaults;sdkconfig.defaults.c6_thread" -p com3 flash monitor
103114```
104115
105116It may be necessary to delete some folders and files before running ` idf.py `
0 commit comments