Skip to content

Commit 2493592

Browse files
shubhamdppull[bot]
authored andcommitted
[ESP32] Details for using ccache for idf builds (#21340)
* [ESP32] Details for using ccache for idf builds * Remove unavailable menuconfig options readmes
1 parent 488b951 commit 2493592

File tree

8 files changed

+67
-10
lines changed

8 files changed

+67
-10
lines changed

.github/.wordlist.txt

+1
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ CatalogVendorId
182182
CBB
183183
cbd
184184
CBOR
185+
Ccache
185186
ccf
186187
CCMP
187188
CCS

examples/all-clusters-app/esp32/README.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,14 @@ make sure the IDF_PATH has been exported(See the manual setup steps above).
113113
$ source ./scripts/activate.sh
114114
```
115115

116+
- Enable Ccache for faster IDF builds
117+
118+
It is recommended to have Ccache installed for faster builds
119+
120+
```
121+
$ export IDF_CCACHE_ENABLE=1
122+
```
123+
116124
- Target Set
117125
118126
To set IDF target, first:
@@ -278,8 +286,8 @@ the ESP32 all-clusters-app to commission it onto a Wi-Fi network:
278286
279287
Parameters:
280288
281-
1. Discriminator: 3840 (configurable through menuconfig)
282-
2. Setup-pin-code: 20202021 (configurable through menuconfig)
289+
1. Discriminator: 3840
290+
2. Setup-pin-code: 20202021
283291
3. Node-id: 12344321 (you can assign any node id)
284292
285293
### Cluster control

examples/all-clusters-minimal-app/esp32/README.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,14 @@ make sure the IDF_PATH has been exported(See the manual setup steps above).
113113
$ source ./scripts/activate.sh
114114
```
115115

116+
- Enable Ccache for faster IDF builds
117+
118+
It is recommended to have Ccache installed for faster builds
119+
120+
```
121+
$ export IDF_CCACHE_ENABLE=1
122+
```
123+
116124
- Target Set
117125
118126
To set IDF target, first:
@@ -278,8 +286,8 @@ the ESP32 all-clusters-minimal-app to commission it onto a Wi-Fi network:
278286
279287
Parameters:
280288
281-
1. Discriminator: 3840 (configurable through menuconfig)
282-
2. Setup-pin-code: 20202021 (configurable through menuconfig)
289+
1. Discriminator: 3840
290+
2. Setup-pin-code: 20202021
283291
3. Node-id: 12344321 (you can assign any node id)
284292
285293
### Cluster control

examples/bridge-app/esp32/README.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,14 @@ make sure the IDF_PATH has been exported(See the manual setup steps above).
135135
ESP32 based device types, please refer
136136
[examples/all-clusters-app/esp32](https://github.com/project-chip/connectedhomeip/tree/master/examples/all-clusters-app/esp32)
137137

138+
- Enable Ccache for faster IDF builds
139+
140+
It is recommended to have Ccache installed for faster builds
141+
142+
```
143+
$ export IDF_CCACHE_ENABLE=1
144+
```
145+
138146
- To build the demo application.
139147
140148
```
@@ -255,8 +263,8 @@ the ESP32 all-clusters-app to commission it onto a Wi-Fi network:
255263
256264
Parameters:
257265
258-
1. Discriminator: 3840 (configurable through menuconfig)
259-
2. Setup-pin-code: 20202021 (configurable through menuconfig)
266+
1. Discriminator: 3840
267+
2. Setup-pin-code: 20202021
260268
3. Node-id: 12344321 (you can assign any node id)
261269
262270
### Cluster control

examples/light-switch-app/esp32/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,14 @@ make sure the IDF_PATH has been exported(See the manual setup steps above).
6565

6666
$ source ./scripts/activate.sh
6767

68+
- Enable Ccache for faster IDF builds
69+
70+
It is recommended to have Ccache installed for faster builds
71+
72+
```
73+
$ export IDF_CCACHE_ENABLE=1
74+
```
75+
6876
- Target Set
6977
7078
$ idf.py set-target esp32

examples/lighting-app/esp32/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,14 @@ make sure the IDF_PATH has been exported(See the manual setup steps above).
7575

7676
$ source ./scripts/activate.sh
7777

78+
- Enable Ccache for faster IDF builds
79+
80+
It is recommended to have Ccache installed for faster builds
81+
82+
```
83+
$ export IDF_CCACHE_ENABLE=1
84+
```
85+
7886
- Target Set
7987
8088
$ idf.py set-target esp32

examples/lock-app/esp32/README.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ make sure the IDF_PATH has been exported(See the manual setup steps above).
5757

5858
$ source ./scripts/activate.sh
5959

60+
- Enable Ccache for faster IDF builds
61+
62+
It is recommended to have Ccache installed for faster builds
63+
64+
```
65+
$ export IDF_CCACHE_ENABLE=1
66+
```
67+
6068
- Target Set
6169
6270
$ idf.py set-target esp32(or esp32c3)
@@ -171,8 +179,8 @@ the ESP32 all-clusters-app to commission it onto a Wi-Fi network:
171179
172180
Parameters:
173181
174-
1. Discriminator: 3840 (configurable through menuconfig)
175-
2. Setup-pin-code: 20202021 (configurable through menuconfig)
182+
1. Discriminator: 3840
183+
2. Setup-pin-code: 20202021
176184
3. Node-id: 12344321 (you can assign any node id)
177185
178186
### Cluster control

examples/temperature-measurement-app/esp32/README.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ make sure the IDF_PATH has been exported(See the manual setup steps above).
5757

5858
$ source ./scripts/activate.sh
5959

60+
- Enable Ccache for faster IDF builds
61+
62+
It is recommended to have Ccache installed for faster builds
63+
64+
```
65+
$ export IDF_CCACHE_ENABLE=1
66+
```
67+
6068
- Target Select
6169
6270
$ idf.py set-target esp32(or esp32c3)
@@ -171,8 +179,8 @@ the ESP32 all-clusters-app to commission it onto a Wi-Fi network:
171179
172180
Parameters:
173181
174-
1. Discriminator: 3840 (configurable through menuconfig)
175-
2. Setup-pin-code: 20202021 (configurable through menuconfig)
182+
1. Discriminator: 3840
183+
2. Setup-pin-code: 20202021
176184
3. Node-id: 12344321 (you can assign any node id)
177185
178186
### Cluster control

0 commit comments

Comments
 (0)