@@ -4,6 +4,17 @@ You can use this example as a reference for creating your own application.
4
4
5
5
![ Telink B91 EVK] ( http://wiki.telink-semi.cn/wiki/assets/Hardware/B91_Generic_Starter_Kit_Hardware_Guide/connection_chart.png )
6
6
7
+ ## Supported devices
8
+
9
+ The example supports building and running on the following devices:
10
+
11
+ | Board/SoC | Build target | Zephyr Board Info |
12
+ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
13
+ | [ B91] ( https://wiki.telink-semi.cn/wiki/Hardware/B91_Generic_Starter_Kit_Hardware_Guide ) [ TLSR9518ADK80D] ( https://wiki.telink-semi.cn/wiki/chip-series/TLSR951x-Series ) | ` tlsr9518adk80d ` , ` tlsr9518adk80d-mars ` , ` tlsr9518adk80d-usb ` | [ TLSR9518ADK80D] ( https://github.com/telink-semi/zephyr/blob/develop/boards/riscv/tlsr9518adk80d/doc/index.rst ) |
14
+ | [ B92] ( https://wiki.telink-semi.cn/wiki/Hardware/B92_Generic_Starter_Kit_Hardware_Guide ) [ TLSR9528A] ( https://wiki.telink-semi.cn/wiki/chip-series/TLSR952x-Series ) | ` tlsr9528a ` , ` tlsr9528a_retention ` | [ TLSR9528A] ( https://github.com/telink-semi/zephyr/blob/develop/boards/riscv/tlsr9528a/doc/index.rst ) |
15
+ | [ B95] ( https://wiki.telink-semi.cn/wiki/Hardware/B95_Generic_Starter_Kit_Hardware_Guide ) [ TLSR9258A] ( https://wiki.telink-semi.cn/wiki/chip-series/TLSR925x-Series ) | ` tlsr9258a ` | [ TLSR9258A] ( https://github.com/telink-semi/zephyr/blob/develop/boards/riscv/tlsr9258a/doc/index.rst ) |
16
+ | [ W91] ( https://wiki.telink-semi.cn/wiki/Hardware/W91_Generic_Starter_Kit_Hardware_Guide ) [ TLSR9118BDK40D] ( https://wiki.telink-semi.cn/wiki/chip-series/TLSR911x-Series ) | ` tlsr9118bdk40d ` | [ TLSR9118BDK40D] ( https://github.com/telink-semi/zephyr/blob/develop/boards/riscv/tlsr9118bdk40d/doc/index.rst ) |
17
+
7
18
## Build and flash
8
19
9
20
1 . Run the Docker container:
@@ -12,7 +23,7 @@ You can use this example as a reference for creating your own application.
12
23
$ 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}' )
13
24
```
14
25
15
- Compatible docker image version can be found in next file:
26
+ You can find the compatible Docker image version in the file:
16
27
17
28
` ` ` bash
18
29
$ .github/workflows/examples-telink.yaml
@@ -24,8 +35,8 @@ You can use this example as a reference for creating your own application.
24
35
$ source ./scripts/activate.sh -p all,telink
25
36
` ` `
26
37
27
- 3. In the example dir run (replace _< build_target> _ with your board name, for
28
- example, ` tlsr9118bdk40d ` , ` tlsr9518adk80d ` , ` tlsr9528a ` or ` tlsr9258a ` ):
38
+ 3. Build the example (replace _< build_target> _ with your board name, see
39
+ [Supported devices]( # supported-devices) ):
29
40
30
41
` ` ` bash
31
42
$ west build -b < build_target>
@@ -35,9 +46,12 @@ You can use this example as a reference for creating your own application.
35
46
MB, for example, ` -DFLASH_SIZE=1m` or ` -DFLASH_SIZE=4m` :
36
47
37
48
` ` ` bash
38
- $ west build -b tlsr9518adk80d -- -DFLASH_SIZE=4m
49
+ $ west build -b < build_target > -- -DFLASH_SIZE=4m
39
50
` ` `
40
51
52
+ You can find the target built file called ** _zephyr.bin_** under the
53
+ ** _build/zephyr_** directory.
54
+
41
55
4. Flash binary:
42
56
43
57
` ` `
@@ -56,16 +70,18 @@ To get output from device, connect UART to following pins:
56
70
| TX | PB2 (pin 16 of J34 connector) |
57
71
| GND | GND |
58
72
73
+ Baud rate: 115200 bits/s
74
+
59
75
# ## Buttons
60
76
61
77
The following buttons are available on ** tlsr9518adk80d** board:
62
78
63
- | Name | Function | Description |
64
- | :------- | :--------------------- | :----------------------------------------------------------------------------------------------------- |
65
- | Button 1 | Factory reset | Perform factory reset to forget currently commissioned Thread network and back to uncommissioned state |
66
- | Button 2 | ` AirQuality` control | Manually triggers the ` AirQuality` state |
67
- | Button 3 | Thread start | Commission thread with static credentials and enables the Thread on device |
68
- | Button 4 | Open commission window | The button is opening commissioning window to perform commissioning over BLE |
79
+ | Name | Function | Description |
80
+ | :------- | :--------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------ |
81
+ | Button 1 | Factory reset | Perform factory reset to forget currently commissioned Thread network and return to a decommissioned state (to activate, push the button 3 times) |
82
+ | Button 2 | ` AirQuality` control | Manually triggers the ` AirQuality` state |
83
+ | Button 3 | Thread start | Commission thread with static credentials and enables the Thread on device |
84
+ | Button 4 | Open commission window | The button is opening commissioning window to perform commissioning over BLE |
69
85
70
86
# ## LEDs
71
87
0 commit comments