Skip to content

Commit 7834004

Browse files
telink: scripts: Migrate Telink binaries
Migrate Telink binaries to a new server. Signed-off-by: Andrii Bilynskyi <andrii.bilynskyi@telink-semi.com>
1 parent 5256baa commit 7834004

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

scripts/utils/telink_w91_post_build

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import requests
2121
from requests.adapters import HTTPAdapter
2222
from urllib3.util import Retry
2323

24-
BASE_URL = f'https://wiki.telink-semi.cn/wiki/protocols/Zephyr/binaries/public/w91_n22/'
24+
BASE_URL = f'https://doc.telink-semi.cn/Zephyr/binaries/public/w91_n22/'
2525
N22_URL_FORMAT = BASE_URL + f'w91_n22_zephyr_3.7_%s.bin'
2626
MATTER_MCUBOOT_URL_FORMAT = BASE_URL + f'w91_mcuboot_%s.bin'
2727
# Retry strategy for fetching URLs

scripts/west_commands/runners/bdt_tool.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ def _flash(self):
7979
# activate chip
8080
print('activating...')
8181
activate = subprocess.Popen(['./bdt', soc_type, 'ac'], cwd=self.bdt_path)
82-
if activate.wait():
83-
exit()
82+
activate.wait()
8483
# unlock flash only B92
8584
if soc_type in ('B92', 'TL321X'):
8685
print('unlocking flash...')

west.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ manifest:
239239
- hal
240240
- name: hal_telink
241241
url: https://github.com/telink-semi/hal_telink
242-
revision: 38c66795ef4a79453330a1aed85d1217843a8d05
242+
revision: d838816b41798977d91ca1daa25f78bf920555b2
243243
path: modules/hal/telink
244244
groups:
245245
- hal

0 commit comments

Comments
 (0)