Skip to content

Commit

Permalink
[ESP32] Details for using ccache for idf builds (#21340)
Browse files Browse the repository at this point in the history
* [ESP32] Details for using ccache for idf builds

* Remove unavailable menuconfig options readmes
  • Loading branch information
shubhamdp authored and pull[bot] committed Aug 30, 2023
1 parent d9c5556 commit 2134930
Show file tree
Hide file tree
Showing 8 changed files with 67 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/.wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ CatalogVendorId
CBB
cbd
CBOR
Ccache
ccf
CCMP
CCS
Expand Down
12 changes: 10 additions & 2 deletions examples/all-clusters-app/esp32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,14 @@ make sure the IDF_PATH has been exported(See the manual setup steps above).
$ source ./scripts/activate.sh
```

- Enable Ccache for faster IDF builds

It is recommended to have Ccache installed for faster builds

```
$ export IDF_CCACHE_ENABLE=1
```
- Target Set
To set IDF target, first:
Expand Down Expand Up @@ -278,8 +286,8 @@ the ESP32 all-clusters-app to commission it onto a Wi-Fi network:
Parameters:
1. Discriminator: 3840 (configurable through menuconfig)
2. Setup-pin-code: 20202021 (configurable through menuconfig)
1. Discriminator: 3840
2. Setup-pin-code: 20202021
3. Node-id: 12344321 (you can assign any node id)
### Cluster control
Expand Down
12 changes: 10 additions & 2 deletions examples/all-clusters-minimal-app/esp32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,14 @@ make sure the IDF_PATH has been exported(See the manual setup steps above).
$ source ./scripts/activate.sh
```

- Enable Ccache for faster IDF builds

It is recommended to have Ccache installed for faster builds

```
$ export IDF_CCACHE_ENABLE=1
```
- Target Set
To set IDF target, first:
Expand Down Expand Up @@ -278,8 +286,8 @@ the ESP32 all-clusters-minimal-app to commission it onto a Wi-Fi network:
Parameters:
1. Discriminator: 3840 (configurable through menuconfig)
2. Setup-pin-code: 20202021 (configurable through menuconfig)
1. Discriminator: 3840
2. Setup-pin-code: 20202021
3. Node-id: 12344321 (you can assign any node id)
### Cluster control
Expand Down
12 changes: 10 additions & 2 deletions examples/bridge-app/esp32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,14 @@ make sure the IDF_PATH has been exported(See the manual setup steps above).
ESP32 based device types, please refer
[examples/all-clusters-app/esp32](https://github.com/project-chip/connectedhomeip/tree/master/examples/all-clusters-app/esp32)

- Enable Ccache for faster IDF builds

It is recommended to have Ccache installed for faster builds

```
$ export IDF_CCACHE_ENABLE=1
```
- To build the demo application.
```
Expand Down Expand Up @@ -255,8 +263,8 @@ the ESP32 all-clusters-app to commission it onto a Wi-Fi network:
Parameters:
1. Discriminator: 3840 (configurable through menuconfig)
2. Setup-pin-code: 20202021 (configurable through menuconfig)
1. Discriminator: 3840
2. Setup-pin-code: 20202021
3. Node-id: 12344321 (you can assign any node id)
### Cluster control
Expand Down
8 changes: 8 additions & 0 deletions examples/light-switch-app/esp32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ make sure the IDF_PATH has been exported(See the manual setup steps above).

$ source ./scripts/activate.sh

- Enable Ccache for faster IDF builds

It is recommended to have Ccache installed for faster builds

```
$ export IDF_CCACHE_ENABLE=1
```
- Target Set
$ idf.py set-target esp32
Expand Down
8 changes: 8 additions & 0 deletions examples/lighting-app/esp32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ make sure the IDF_PATH has been exported(See the manual setup steps above).

$ source ./scripts/activate.sh

- Enable Ccache for faster IDF builds

It is recommended to have Ccache installed for faster builds

```
$ export IDF_CCACHE_ENABLE=1
```
- Target Set
$ idf.py set-target esp32
Expand Down
12 changes: 10 additions & 2 deletions examples/lock-app/esp32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ make sure the IDF_PATH has been exported(See the manual setup steps above).

$ source ./scripts/activate.sh

- Enable Ccache for faster IDF builds

It is recommended to have Ccache installed for faster builds

```
$ export IDF_CCACHE_ENABLE=1
```
- Target Set
$ idf.py set-target esp32(or esp32c3)
Expand Down Expand Up @@ -171,8 +179,8 @@ the ESP32 all-clusters-app to commission it onto a Wi-Fi network:
Parameters:
1. Discriminator: 3840 (configurable through menuconfig)
2. Setup-pin-code: 20202021 (configurable through menuconfig)
1. Discriminator: 3840
2. Setup-pin-code: 20202021
3. Node-id: 12344321 (you can assign any node id)
### Cluster control
Expand Down
12 changes: 10 additions & 2 deletions examples/temperature-measurement-app/esp32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ make sure the IDF_PATH has been exported(See the manual setup steps above).

$ source ./scripts/activate.sh

- Enable Ccache for faster IDF builds

It is recommended to have Ccache installed for faster builds

```
$ export IDF_CCACHE_ENABLE=1
```
- Target Select
$ idf.py set-target esp32(or esp32c3)
Expand Down Expand Up @@ -171,8 +179,8 @@ the ESP32 all-clusters-app to commission it onto a Wi-Fi network:
Parameters:
1. Discriminator: 3840 (configurable through menuconfig)
2. Setup-pin-code: 20202021 (configurable through menuconfig)
1. Discriminator: 3840
2. Setup-pin-code: 20202021
3. Node-id: 12344321 (you can assign any node id)
### Cluster control
Expand Down

0 comments on commit 2134930

Please sign in to comment.