Matter Telink Shell Example Application#
You can use this example as a reference for creating your own application.

Supported devices#
The example supports building and running on the following devices:
Board/SoC |
Build target |
Zephyr Board Info |
|---|---|---|
|
||
|
||
|
Build and flash#
Run the Docker container:
$ docker run -it --rm -v $PWD:/host -w /host ghcr.io/project-chip/chip-build-telink:$(wget -q -O - https://raw.githubusercontent.com/project-chip/connectedhomeip/master/.github/workflows/examples-telink.yaml 2> /dev/null | grep chip-build-telink | awk -F: '{print $NF}' | head -n1)
The default Docker container includes the recommended Zephyr version, as specified in:
$ integrations/docker/images/stage-2/chip-build-telink/DockerfileIf you need to use Zephyr 3.3.0, use the following container instead:
$ docker run -it --rm -v $PWD:/host -w /host ghcr.io/project-chip/chip-build-telink-zephyr_3_3:$(wget -q -O - https://raw.githubusercontent.com/project-chip/connectedhomeip/master/.github/workflows/examples-telink.yaml 2> /dev/null | grep chip-build-telink-zephyr_3_3 | awk -F: '{print $NF}')
You can check the compatible Docker image version in:
$ .github/workflows/examples-telink.yamlActivate the build environment:
$ source ./scripts/activate.sh -p all,telink
Build the example (replace <build_target> with your board name, see Supported devices):
$ west build -b <build_target>
Also use key
-DFLASH_SIZE, if your board has memory size different from 2 MB, for example,-DFLASH_SIZE=1mor-DFLASH_SIZE=4m:$ west build -b <build_target> -- -DFLASH_SIZE=4m
You can find the target built file called zephyr.bin under the build/zephyr directory.
Flash binary:
$ west flash --erase
Usage#
UART#
To get output from device, connect UART to following pins:
Name |
Pin |
|---|---|
RX |
PB3 (pin 17 of J34 connector) |
TX |
PB2 (pin 16 of J34 connector) |
GND |
GND |
Baud rate: 115200 bits/s