@@ -59,15 +59,22 @@ Use ESP-IDF 5.1.4 from https://github.com/espressif/esp-idf/tree/release/v5.1
59
59
This example has been tested with Arduino Core 3.0.4
60
60
61
61
The 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 `
63
66
64
67
Example for ESP32-S3/Linux | macOS:
65
68
```
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
67
72
```
68
73
Example for ESP32-C3/Windows:
69
74
```
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
71
78
```
72
79
73
80
It 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-
95
102
96
103
Example for ESP32-C6/Linux | macOS:
97
104
```
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
99
108
```
100
109
Example for ESP32-C6/Windows:
101
110
```
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
103
114
```
104
115
105
116
It may be necessary to delete some folders and files before running ` idf.py `
0 commit comments