File tree 5 files changed +10
-13
lines changed
config/telink/chip-module
5 files changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ jobs:
110
110
platform : telink
111
111
- name : Update Zephyr to specific revision (for developers purpose)
112
112
shell : bash
113
- run : scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py 5ae5db00ac820fcbbcda9d7e71f0133240aa2c87 "
113
+ run : scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py ab81a585fca6a83b30e1f4e58a021113d6a3acb8 "
114
114
- name : CI Examples Telink
115
115
shell : bash
116
116
run : |
Original file line number Diff line number Diff line change 57
57
gh-context : ${{ toJson(github) }}
58
58
59
59
- name : Update Zephyr to specific revision (for developers purpose)
60
- run : scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py 5ae5db00ac820fcbbcda9d7e71f0133240aa2c87 "
60
+ run : scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py ab81a585fca6a83b30e1f4e58a021113d6a3acb8 "
61
61
62
62
- name : Build example Telink (B92 retention) Air Quality Sensor App
63
63
run : |
Original file line number Diff line number Diff line change @@ -137,10 +137,12 @@ config BT_BUF_ACL_TX_SIZE
137
137
default 251
138
138
139
139
config BT_RX_STACK_SIZE
140
- default 810
140
+ default 810 if BT_B9X
141
+ default 2048 if BT_W91
141
142
142
143
config BT_HCI_TX_STACK_SIZE
143
- default 640
144
+ default 640 if BT_B9X
145
+ default 2048 if BT_W91
144
146
145
147
config BT_DEVICE_NAME_GATT_WRITABLE
146
148
bool
Original file line number Diff line number Diff line change 45
45
#include < zephyr/sys/byteorder.h>
46
46
#include < zephyr/sys/util.h>
47
47
48
- // TODO: need common mac_init solution for B9X & W91
49
- #ifndef CONFIG_BOARD_TLSR9118BDK40D
50
48
extern " C" {
51
- # include < b9x_bt_flash.h >
49
+ extern __attribute__ ((noinline)) void telink_bt_blc_mac_init( uint8_t *bt_mac);
52
50
}
53
- #endif
54
51
55
52
#if defined(CONFIG_PM) && !defined(CONFIG_CHIP_ENABLE_PM_DURING_BLE)
56
53
#include < zephyr/pm/policy.h>
@@ -120,10 +117,7 @@ CHIP_ERROR InitBLEMACAddress()
120
117
int error = 0 ;
121
118
bt_addr_le_t addr;
122
119
123
- // TODO: need common mac_init solution for B9X & W91
124
- #ifndef CONFIG_BOARD_TLSR9118BDK40D
125
- b9x_bt_blc_mac_init (addr.a .val );
126
- #endif
120
+ telink_bt_blc_mac_init (addr.a .val );
127
121
128
122
if (BT_ADDR_IS_STATIC (&addr.a )) // in case of Random static address, create a new id
129
123
{
Original file line number Diff line number Diff line change 7
7
/delete-node/ partition@88000;
8
8
/delete-node/ partition@f0000;
9
9
/delete-node/ partition@f4000;
10
+ /delete-node/ partition@fe000;
10
11
boot_partition: partition@0 {
11
12
label = "mcuboot";
12
13
reg = <0x00000000 0x20000>;
27
28
label = "image-1";
28
29
reg = <0x118000 0xe8000>;
29
30
};
30
- reserved_partition : partition@200000 {
31
+ vendor_partition : partition@200000 {
31
32
label = "vendor-data";
32
33
reg = <0x200000 0x100000>;
33
34
};
You can’t perform that action at this time.
0 commit comments