Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ESP32] Details for using ccache for idf builds #21340

Merged
merged 2 commits into from
Jul 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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