Skip to content

Commit

Permalink
[ESP32] Fix links to common docs in example readmes (#21754)
Browse files Browse the repository at this point in the history
* [ESP32] Fix links to common docs in example readmes

* restyle

* Some nitpicks

* remove unused bullet
  • Loading branch information
shubhamdp authored and pull[bot] committed Feb 8, 2024
1 parent c76346f commit 6920340
Show file tree
Hide file tree
Showing 11 changed files with 51 additions and 48 deletions.
5 changes: 5 additions & 0 deletions docs/guides/esp32/setup_idf_chip.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,8 @@ running:
```
source scripts/bootstrap.sh
```
---
Once IDF and CHIP environment is set up, head over to
[application building and commissioning guide](build_app_and_commission.md).
17 changes: 7 additions & 10 deletions examples/all-clusters-app/esp32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,17 @@
A prototype application that demonstrates device commissioning and cluster
control.

Refer to
[setup ESP-IDF and CHIP Environment](#setup-esp-idf-and-chip-environment) and
[Build, Flash, Monitor, and Commissioning](#build-flash-monitor-and-commissioning)
Please
[setup ESP-IDF and CHIP Environment](../../../docs/guides/esp32/setup_idf_chip.md)
and refer
[building and commissioning](../../../docs/guides/esp32/build_app_and_commission.md)
guides to get started.

---

- [Cluster control](#cluster-control)
- [Note](#note)
- Please refer [Matter OTA guide](../../../docs/guides/esp32/ota.md) for
trying out OTA
- Please refer
[RPC console and Device Tracing](../../../docs/guides/esp32/rpc_console.md)
for using RPC and device tracing
- [Matter OTA guide](../../../docs/guides/esp32/ota.md)
- [RPC console and Device Tracing](../../../docs/guides/esp32/rpc_console.md)

---

Expand All @@ -40,7 +37,7 @@ Usage:
$ ./out/debug/chip-tool levelcontrol move-to-level Level=10 TransitionTime=0 OptionMask=0 OptionOverride=0 <NODE ID> <ENDPOINT>
```

### Note
---

This demo app illustrates controlling OnOff cluster (Server) attributes of an
endpoint. For `ESP32-DevKitC`, `ESP32-WROVER-KIT_V4.1` and `ESP32C3-DevKitM`, a
Expand Down
7 changes: 4 additions & 3 deletions examples/bridge-app/esp32/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# CHIP ESP32 Bridge App Example

Refer to
[setup ESP-IDF and CHIP Environment](#setup-esp-idf-and-chip-environment) and
[Build, Flash, Monitor, and Commissioning](#build-flash-monitor-and-commissioning)
Please
[setup ESP-IDF and CHIP Environment](../../../docs/guides/esp32/setup_idf_chip.md)
and refer
[building and commissioning](../../../docs/guides/esp32/build_app_and_commission.md)
guides to get started.

---
Expand Down
7 changes: 4 additions & 3 deletions examples/light-switch-app/esp32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

This example demonstrates the Matter Light-switch application on ESP platforms.

Refer to
[setup ESP-IDF and CHIP Environment](#setup-esp-idf-and-chip-environment) and
[Build, Flash, Monitor, and Commissioning](#build-flash-monitor-and-commissioning)
Please
[setup ESP-IDF and CHIP Environment](../../../docs/guides/esp32/setup_idf_chip.md)
and refer
[building and commissioning](../../../docs/guides/esp32/build_app_and_commission.md)
guides to get started.

---
Expand Down
11 changes: 5 additions & 6 deletions examples/lighting-app/esp32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@

This example demonstrates the Matter Lighting application on ESP platforms.

Refer to
[setup ESP-IDF and CHIP Environment](#setup-esp-idf-and-chip-environment) and
[Build, Flash, Monitor, and Commissioning](#build-flash-monitor-and-commissioning)
Please
[setup ESP-IDF and CHIP Environment](../../../docs/guides/esp32/setup_idf_chip.md)
and refer
[building and commissioning](../../../docs/guides/esp32/build_app_and_commission.md)
guides to get started.

---

- [Cluster Control](#cluster-control)
- [Steps to Try Lighting app OTA Requestor](#steps-to-try-lighting-app-ota-requestor)
- Please check [Matter OTA guide](../../../docs/guides/esp32/ota.md) for
trying out OTA
- [Matter OTA guide](../../../docs/guides/esp32/ota.md)

---

Expand Down
11 changes: 5 additions & 6 deletions examples/lock-app/esp32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,17 @@

This example demonstrates the mapping of OnOff cluster to lock/unlock logic.

Refer to
[setup ESP-IDF and CHIP Environment](#setup-esp-idf-and-chip-environment) and
[Build, Flash, Monitor, and Commissioning](#build-flash-monitor-and-commissioning)
Please
[setup ESP-IDF and CHIP Environment](../../../docs/guides/esp32/setup_idf_chip.md)
and refer
[building and commissioning](../../../docs/guides/esp32/build_app_and_commission.md)
guides to get started.

---

- [Cluster control](#cluster-control)
- [Example Demo](#example-demo)
- Please refer
[RPC console and Device Tracing](../../../docs/guides/esp32/rpc_console.md)
for using RPC and device tracing
- [RPC console and Device Tracing](../../../docs/guides/esp32/rpc_console.md)

---

Expand Down
9 changes: 4 additions & 5 deletions examples/ota-provider-app/esp32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,18 @@

A prototype application that demonstrates OTA provider capabilities.

Refer to
[setup ESP-IDF and CHIP Environment](#setup-esp-idf-and-chip-environment) guide
to get started.
Please
[setup ESP-IDF and CHIP Environment](../../../docs/guides/esp32/setup_idf_chip.md)

---

- [Build, Flash, Monitor, and Commissioning](#build-flash-monitor-and-commissioning)
- [Building and Commissioning](#building-and-commissioning)
- [Access control list requirements](#access-control-list-requirements)
- [Set delayed action time (Optional)](#set-delayed-action-time-optional)

---

### Build, Flash, Monitor, and Commissioning
### Building and Commissioning

Generate the OTA image as described
[here](../../../docs/guides/esp32/ota.md#generate-chip-ota-image)
Expand Down
11 changes: 5 additions & 6 deletions examples/ota-requestor-app/esp32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

A prototype application that demonstrates OTA Requestor capabilities.

Refer to
[setup ESP-IDF and CHIP Environment](#setup-esp-idf-and-chip-environment) and
[Build, Flash, Monitor, and Commissioning](#build-flash-monitor-and-commissioning)
Please
[setup ESP-IDF and CHIP Environment](../../../docs/guides/esp32/setup_idf_chip.md)
and refer
[building and commissioning](../../../docs/guides/esp32/build_app_and_commission.md)
guides to get started.

---
Expand All @@ -13,9 +14,7 @@ guides to get started.
- [Query for an OTA Image](#query-for-an-ota-image)
- [ESP32 OTA Requestor with Linux OTA Provider](#esp32-ota-requestor-with-linux-ota-provider)
- [Generate OTA image](#generate-ota-image)
- Please refer
[RPC console and Device Tracing](../../../docs/guides/esp32/rpc_console.md)
for using RPC and device tracing
- [RPC console and Device Tracing](../../../docs/guides/esp32/rpc_console.md)

---

Expand Down
7 changes: 4 additions & 3 deletions examples/persistent-storage/esp32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

An example testing and demonstrating the key value storage API.

Refer to
[setup ESP-IDF and CHIP Environment](#setup-esp-idf-and-chip-environment) and
[Build, Flash, Monitor, and Commissioning](#build-flash-monitor-and-commissioning)
Please
[setup ESP-IDF and CHIP Environment](../../../docs/guides/esp32/setup_idf_chip.md)
and refer
[building and commissioning](../../../docs/guides/esp32/build_app_and_commission.md)
guides to get started.

---
Expand Down
7 changes: 4 additions & 3 deletions examples/pigweed-app/esp32/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# CHIP ESP32 Pigweed Example Application

Refer to
[setup ESP-IDF and CHIP Environment](#setup-esp-idf-and-chip-environment) and
[Build, Flash, Monitor, and Commissioning](#build-flash-monitor-and-commissioning)
Please
[setup ESP-IDF and CHIP Environment](../../../docs/guides/esp32/setup_idf_chip.md)
and refer
[building and commissioning](../../../docs/guides/esp32/build_app_and_commission.md)
guides to get started.

---
Expand Down
7 changes: 4 additions & 3 deletions examples/temperature-measurement-app/esp32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

This example is meant to represent a minimal-sized application.

Refer to
[setup ESP-IDF and CHIP Environment](#setup-esp-idf-and-chip-environment) and
[Build, Flash, Monitor, and Commissioning](#build-flash-monitor-and-commissioning)
Please
[setup ESP-IDF and CHIP Environment](../../../docs/guides/esp32/setup_idf_chip.md)
and refer
[building and commissioning](../../../docs/guides/esp32/build_app_and_commission.md)
guides to get started.

---
Expand Down

0 comments on commit 6920340

Please sign in to comment.