diff --git a/.github/.wordlist.txt b/.github/.wordlist.txt index 2136de4b058c49..8b01df23ae04c0 100644 --- a/.github/.wordlist.txt +++ b/.github/.wordlist.txt @@ -176,6 +176,7 @@ CCMP CCS CCSTUDIO CCXML +CDEEDC CDVersionNumber ced cfg @@ -342,6 +343,7 @@ detokenizer dev devcontainer devCtrl +DevelopmentCerts DeviceAttestationCredsExample DeviceCaCerts DeviceCert @@ -477,6 +479,7 @@ FC FDDE fddead fde +fdx FECA FecalColiformAndEColiConcentrationMeasurement feff @@ -650,6 +653,7 @@ kAdminister kBusy kCase Kconfig +kDacPublicKey KeypadInput keyset kGroup @@ -1252,7 +1256,7 @@ TXD txt uargument UART -udc +UDC udcport udhcpc UDP @@ -1279,6 +1283,7 @@ ureverse URI urlrequest usbmodem +usbserial USBtoUART uscif UserConsentNeeded diff --git a/examples/all-clusters-app/esp32/README.md b/examples/all-clusters-app/esp32/README.md index 8c912676dbc201..f6e062ce40982a 100644 --- a/examples/all-clusters-app/esp32/README.md +++ b/examples/all-clusters-app/esp32/README.md @@ -51,6 +51,18 @@ step. To install these components manually, follow these steps: $ git checkout v4.4 $ git submodule update --init $ ./install.sh + $ . ./export.sh + + To update an existing esp-idf toolchain to v4.4: + + $ cd ~/tools/esp-idf + $ git fetch origin + $ git checkout v4.4 + $ git reset --hard origin/v4.4 + $ git submodule update --init + $ git clean -fdx + $ ./install.sh + $ . ./export.sh - Install ninja-build @@ -112,10 +124,11 @@ that are currently supported include `ESP32-DevKitC` (default), - After building the application, to flash it outside of VSCode, connect your device via USB. Then run the following command to flash the demo application onto the device and then monitor its output. If necessary, replace - `/dev/tty.SLAB_USBtoUART`(MacOS) with the correct USB device name for your - system(like `/dev/ttyUSB0` on Linux). Note that sometimes you might have to - press and hold the `boot` button on the device while it's trying to connect - before flashing. For ESP32-DevKitC devices this is labeled in the + `/dev/tty.SLAB_USBtoUART` with the correct USB device name for your system + (like `/dev/ttyUSB0` on Linux or `/dev/tty.usbserial-01CDEEDC` on Mac). Note + that sometimes you might have to press and hold the `boot` button on the + device while it's trying to connect before flashing. For ESP32-DevKitC + devices this is labeled in the [functional description diagram](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/hw-reference/esp32/get-started-devkitc.html#functional-description). $ idf.py -p /dev/tty.SLAB_USBtoUART flash monitor @@ -148,6 +161,12 @@ menuconfig). `idf.py menuconfig -> Component config -> CHIP Device Layer -> WiFi Station Options` +NOTE: to avoid build error +`undefined reference to 'chip::DevelopmentCerts::kDacPublicKey'`, set VID to +0xFFF1 and PID in range 0x8000..0x8005. + +`idf.py menuconfig -> Component config -> CHIP Device Layer -> Device Identification Options` + 2. Now flash the device with the same command as before. (Use the right `/dev` device)