Skip to content

just ignore, only internal use for reivew code . - #17

Draft
haiwentelink wants to merge 31 commits into
v1.5-branchfrom
dev-tlk_v1.5
Draft

just ignore, only internal use for reivew code .#17
haiwentelink wants to merge 31 commits into
v1.5-branchfrom
dev-tlk_v1.5

Conversation

@haiwentelink

@haiwentelink haiwentelink commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

PR to review changes

Related issues

No issue

Testing

No testing

Readability checklist

The checklist below will help the reviewer finish PR review in time and keep the
code readable:

  • PR title is
    descriptive
  • Apply the
    “When in Rome…”
    rule (coding style)
  • PR size is short
  • Try to avoid "squashing" and "force-update" in commit history
  • CI time didn't increase

See: Pull Request Guidelines

andy31415 and others added 22 commits May 7, 2026 14:34
…lt to "progress" for lighting (project-chip#43189)

* Switch telink to log-progress for lights.

* Fix compile ... unsure what broke here...

* Fix test file

* Update scripts/build/build/targets.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update .github/workflows/examples-telink.yaml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update one more build.

* Update scripts/build/builders/telink.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…version 185 (project-chip#43201)

* [Telink] Add lzma overlay selection

* [Telink] Add lzma overlays

* [Telink] Update builds to docker version 185

---------

Co-authored-by: Andrei Litvin <andy314@gmail.com>
- add tl3238x into matter.

telink: tl3238x: adjust boot setting .

- close bootstrap and bootvalitdate.
- adjust rf settings.

telink: tl3238x: add partition and dual mode logic.

- add 2m partition for customer.
- setting different discriminator.
- add dual mode logic.
- enable ota.

telink: tl3238x: enlarge the ble thread stack.

- after change the ble controller , the thread need
 to enlarge in pm mode.

telink: tl3238x: open ota and lzma for contact-sensor.

- open ota and add lzma.

telink: tl3238x: enlarge malloc.

- enlarge heap size for tl3238x.

telink: tl3238x: enlarge ble thread .

- enlarge ble thread stack for jenkins alarm to 100%.

Signed-off-by: haiwen.xia <haiwen.xia@telink-semi.com>
Signed-off-by: yinghao.ji <yinghao.ji@telink-semi.com>
- Optimized the RAM layout(default IRAM 96k, DRAM 64K).
- Optimized the 802.15.4 driver in Zephyr and power consumption in Matter ICD mode.
- Implemented retention deep sleep mode drivers for ADC and I2C under Zephyr.
- Adjusted the clock speed support under different power mode, default retention deep sleep mode is 48MHz, fully power mode is 96MHz.
- Supported TL9268M full power mode.

Signed-off-by: haiwen.xia <haiwen.xia@telink-semi.com>
Signed-off-by: Fengtai Xie <fengtai.xie@telink-semi.com>
Signed-off-by: jinmiao.yu <jinmiao.yu@telink-semi.com>
Signed-off-by: Jinmiao Yu <jinmiao.yu@telink-semi.com>
Signed-off-by: pulin1103 <zhenghuan.zhang1103@gmail.com>
Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>
Signed-off-by: Hao Wu <hao.wu@telink-semi.com>
Co-authored-by: Alex Tsitsiura <s07641069@gmail.com>
Co-authored-by: jinmiao.yu <jinmiao.yu@telink-semi.com>
Co-authored-by: hao.wu <hao.wu@telink-semi.com>
Co-authored-by: Fengtai Xie <fengtai.xie@telink-semi.com>
Co-authored-by: pulin1103 <zhenghuan.zhang1103@gmail.com>
Co-authored-by: Damien Ji <yinghao.ji@telink-semi.com>
* [Telink] Add BLE extended advertising

* [Telink] Fix DISCOVERY_TIMEOUT

* [Telink] Don't enable extended advertising by default

* [Telibk] Fix typo
- lowdown the secure partition and add user config partition for user.

telink: tl3238x: add and fix some config

 - Open CONFIG_ADC in lighting-app/light-switch-app/contact-sensor-app .
 - Fix the compilation will fail when CONFIG_LOG=n .

telink: tl3238x: reduce fc time

 - Accelerate factory_reset run time .

telink: tl3238x: enlarge ble stack.

- after change the ble lib , the ble stack need to enlarge 256.

Signed-off-by: Fengtai Xie <fengtai.xie@telink-semi.com>
Signed-off-by: haiwen.xia <haiwen.xia@telink-semi.com>
* Merge SBoot or ZB FW

- Add commands to merge Secure Boot or Zigbee FW if exits
- Enable BOOT_VALIDATE_SLOT0 but disable BOOT_BANNER to output chip_id

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>

* Enable BOOT_VALIDATE_SLOT0_ONCE

to validate slot0 for only once.

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>

* update boot signature key file

- CONFIG_BOOT_SIGNATURE_KEY_FILE
- CONFIG_MCUBOOT_SIGNATURE_KEY_FILE

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>

* Extend Boot Signature Key File in More Apps

- add CONFIG_MCUBOOT_SIGNATURE_KEY_FILE in contact-sensor-app,
 light-switch-app, lighting-app, and lock-app
- Disable CONFIG_BOOT_SIGNATURE_KEY_FILE and
CONFIG_MCUBOOT_SIGNATURE_KEY_FILE in configuration files

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>

---------

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>
…roject-chip#438)

 - Add ota event callback .
 - Add deferred storage attributes for provider .
 - Increase maximum group number per fabric .
 - Apply HW Hash and set BOOT_IMG_HASH_DIRECTLY_ON_STORAGE .
 - Increase the ISR_STACK_SIZE to 1024 .
 - Increase the SYSTEM_WORKQUEUE_STACK_SIZE to 2048 .
 - Increase the HEAP_MEM_POOL_SIZE to 1280 .
 - Increase the COMMON_LIBC_MALLOC_ARENA_SIZE to 20716 .
 - Increase the NET_IF_MCAST_IPV6_ADDR_COUNT to 47 .
 - Increase the TL_BLE_CTRL_THREAD_STACK_SIZE to 1536 .
 - Increase the OPENTHREAD_THREAD_STACK_SIZE to 4096 .
 - Increase the OPENTHREAD_RADIO_WORKQUEUE_STACK_SIZE to 2048 .
 - Increase the OPENTHREAD_IP6_MAX_EXT_MCAST_ADDRS to 40 .
 - Increase the NET_RX_STACK_SIZE to 2048 .

Signed-off-by: Fengtai Xie <fengtai.xie@telink-semi.com>
Co-authored-by: Damien Ji <yinghao.ji@telink-semi.com>
 - Add OTA resume watchdog to avoid the question .

telink: 3238x: improve the speed of factory_reset.

- change the logic from the ScheduleFactoryReset() to earse NVS

[Telink] Fix CNET 4.12 thread switching

Restyled by clang-format

Signed-off-by: Fengtai Xie <fengtai.xie@telink-semi.com>
Signed-off-by: haiwen.xia <haiwen.xia@telink-semi.com>
- remove zephyr_3_3 in examples-telink
- adjust CMakeLists for more SoCs
- disable persistent subscriptions exclude tl3238x and b92
- adjust DUAL_MODE by board in examples
- add boards/.conf to select DUAL_MODE for tl3238x
- move kconfig from example prj.conf to board.conf
- reduce CHIP MAIN_STACK_SIZE and OT message buffer
size for tl3218x_retention
- move DeferredAttributePersistenceProvider from
example to CHIP data model
- include ext_pm.h for tl323x
- restyled by cland-format
- update zephyr to 95b2c5ae4d1a9006366d952b34d8d5f1c77b696c
- update tl_ble_sdk to 200420569e5588abdd0c3d92f9e3e518e1fc8778
- disable reduntant CI actions

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>
…RY (#3)

* Update Telink OpenThread Path Selection

fixes the incorrect OpenThread repository selection logic in Telink platform builds:

   - Explicitly set ZEPHYR_OPENTHREAD_MODULE_DIR to use standard openthread path
     when CONFIG_OPENTHREAD_TELINK_LIBRARY is not enabled
   - Replace the directory-existence check with CONFIG_OPENTHREAD_TELINK_LIBRARY
     based path selection
   - Ensures build logs always print the correct git revision information
     matching the actually used OpenThread repository

Now builds correctly distinguish between:
- CONFIG_OPENTHREAD_TELINK_LIBRARY=y: uses modules/lib/openthread_telink_lib
- CONFIG_OPENTHREAD_TELINK_LIBRARY=n: uses modules/lib/openthread

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>

* Restyled by clang-format

- update zephyr revision to
f243cd36e52a5bb370f0b6accaa1da29a825b842

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>

---------

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>
Co-authored-by: Restyled.io <commits@restyled.io>
* [Telink] Fix TC-OPCREDS-3.6 test

* Restyled by clang-format

* [Telink] Decrease CHIP_MAX_FABRICS for BOARD_TL3218X_RETENTION.

* [Telink] Fix default value for BOARD_TL3218X_RETENTION

---------

telink: 3238x: fix incorrect factory reset logic for commissioned device.
- fix incorrect factory reset logic for commissioned device when fabric is 0.

Signed-off-by: Alex Tsitsiura <s07641069@gmail.com>
Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>
Signed-off-by: Hao Wu <hao.wu@telink-semi.com>
Co-authored-by: Restyled.io <commits@restyled.io>
… initialization (observed on NXP Zephyr platform) (project-chip#71368)

* [common][platform][openthread] Add OT mutex lock when calling OT api to avoid race condition during initialization

    * The mutex lock is necessary for Zephyr because the openthread thread is initialized by the kernel init, and therefore it runs before the Matter initialization
    * so when we InitThreadStack, we must ensure that the OT api calls are protected with a mutex lock to avoid concurrent access to OT shared resources

Signed-off-by: Dina Benamar <dina.benamarelmaaroufi@nxp.com>

* Restyled by whitespace

* [common][platform][openthread] Add comment to explain why the LockThreadStack() is required

Signed-off-by: Dina Benamar <dina.benamarelmaaroufi@nxp.com>

---------

Signed-off-by: Dina Benamar <dina.benamarelmaaroufi@nxp.com>
Co-authored-by: Restyled.io <commits@restyled.io>
…Script

1. SDK updates:
- update zephyr from
f243cd36e52a5bb370f0b6accaa1da29a825b842
to
30c10f8e319254d3771ab18bfb929019a2a7e38d
- update ble sdk from
200420569e5588abdd0c3d92f9e3e518e1fc8778
to
f50d422d780efb73af939650ef7b8c6bf5a0b99b

2. Fixes:
- revert incorrect modifications to pwm_b9x, pwm_tlx

3. Add OTA manual process tool:
- Add scripts/tools/telink/manual_process.py to manually generate Telink Matter OTA FW
- supports all SoC families (2/4MB) with chip-specific LZMA compression pipelines
- implements flexible input modes: .config parsing, manual parameters,
--already-signed, --only-lzma
- path-agnostic design with hardcoded tool paths for re-use in other environment

Restyled by autopep8

Restyled by isort
telink: TL721X: fix tl721x and change setting.
- adopt the same setting as tl3238x .
- add config for openthread(put some code into ramcode) .
- add normal partition and lzma partition.
- update matter ci.

Signed-off-by: Haiwen Xia <haiwen.xia@telink-semi.com>
- Add TL3238C-EVK40D overlay for lighting-app 4MB dual mode
- Add tl3238x_4m_flash_dual_mode.conf (lighting-app, DUAL_MODE=2)
- Add tl3238x_retention_dual_mode.conf (light-switch-app, DUAL_MODE=1)
- Default single-mode configs to DUAL_MODE=0 with LZMA enabled
- Guard Zigbee merge with CONFIG_DUAL_MODE in CMakeLists.txt
- Add build guide READMEs for both apps
- Set device serial numbers in board configs
- Update Zephyr revision in CI workflow

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>
* [Telink] Check if the thread dataset and fabirc were successfully written.

Signed-off-by: Fengtai Xie <fengtai.xie@telink-semi.com>
- set isComissioningStarted to false in OnCommissioningSessionEstablishmentError
to fix commissioning session state error.
This is a quick fix from project-chip#72700.
- add dual mode configs for tl323x and TL3238C-EVK40D board overlay
- update Telink BLE SDK revision from
c4fdeaa0f3387543b9ec5f351ed74b3047988d00
to
46322e5b570e2a68373b18d4f08811acadd1266c
- update hal_telink to improve flash protection for 4MB flash on TL323X.
- update zephyr revision to
e08fc42546e58d808bfd39f35c8df296f5617a44
- adjust and unify telink boards *.conf/*.overlay process flow for TL323X/721X
- add TL323X/721X build README files and clarify TL721X does NOT support dual mode yet

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>
… guide and reorganize READMEs (#8)

* Telink: add SDK release note, version file and reorganize READMEs

Establish the Telink Matter SDK documentation baseline for release
preparation:

- Add TELINK_VERSION (1.0.1.0) to identify the Telink SDK release
  paired with the upstream Matter master f4a8cf9.
- Add tl_matter_sdk_release_node.md with supported boards, build
  targets and resource usage (RAM/ROM/firmware size) for the TL323X
  and TL721X Matter (OTA + LZMA) configurations.
- Rename the upstream README to MATTER_README and promote the
  Telink README to README.md, so GitHub shows the Telink SDK docs on
  the repository landing page; add a cross-link to the upstream README.

No source code changes.

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>

* Restyled by prettier-markdown

* add telink technical words into github wordlist

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>

* change *readme.txt to *readme.md

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>

* Restyled by prettier-markdown

* Restyled by prettier-markdown

* Telink: add platform docs structure, Getting Started guide and firmware packaging script

- Add docs/platforms/telink/ (index + Getting Started) following the
  per-vendor layout of other Matter platforms; register in
  docs/platforms/index.md.
- Move tl_matter_sdk_release_note.md to
  docs/platforms/telink/releases/telink_release_notes.md (working copy)
  and add a versioned snapshot keyed to the tl_v1.0.1-beta-v1.5.1.0 tag.
- Add scripts/tools/telink/package_telink_firmware.sh for TL3238X/TL7218X
  build/extract/readme/zip; it snapshots the release note into
  telink_release_notes_<tl_v*.tag>.md from the nearest git tag.
- Update README.md links to the new doc locations.

No source code changes.

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>

* Restyled by prettier-markdown

* Restyled by shellharden

* Restyled by shfmt

* docs: add missing mis-spelling word

- devicetree

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>

---------

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>
Co-authored-by: Restyled.io <commits@restyled.io>
Add TL5218X (TL521X) SoC platform support to the Matter Telink
platform, including build configurations, flash overlays, packaging
scripts, and CI workflow updates.

Platform support:
- Add TL5218X platform config headers (CHIPDevicePlatformConfig.h,
  CHIPPlatformConfig.h, SystemPlatformConfig.h) with memory and
  thread stack size adjustments.
- Add flash overlays for 2MB and 4MB flash variants, including LZMA
  compression and backup overlays.
- Add FactoryDataParser/Provider updates and suppress sensitive DAC
  key/certificate debug logs to avoid leaking cryptographic material.

Build configurations:
- Add lighting-app and lock-app board configs for tl5218x and
  tl5218x_retention, including OTA, dual-mode OTA, and LZMA variants.
- Update config/telink Kconfig.defaults and CMakeLists.txt for
  TL5218X.
- Add README documentation for tl5218x lighting-app and retention
  builds.
- Note that tl5218x_retention porting is not complete

Build system:
- Update scripts/build/builders/telink.py and targets.py to
  recognize TL5218X build targets.
- Update package_telink_firmware.sh with TL5218X packaging support.
- Update update_zephyr.py to support Zephyr PR ref fetching.

CI:
- Update examples-telink.yaml with TL5218X build targets and BLE SDK
  revision (2488b5b8bd5122f68d087ba2cd5a8f0c74572b8f).
- Update Zephyr revision reference for TL521X builds.

Signed-off-by: Hao Wu <hao.wu@telink-semi.com>
Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>
Co-authored-by: Hao Wu <hao.wu@telink-semi.com>
…#16)

Add support for running BLE concurrently with an active Thread network on
TL7218X and TL3238X, and integrate a Channel Sounding (CS) RAS reflector for
TL7218X.

Introduces CHIP_CONCURRENT_MODE Kconfig option that keeps the BLE controller
alive after Thread commissioning. Key additions:
- BLE idle mode and tl_dual_mode_start coordination for TLX RF coexistence
- CS reflector implementation (CsReflector) for TL7218X
- Concurrent board configs for TL3238X and TL7218X with README docs
- CI: bump Zephyr to 8e3ccc0, BLE SDK to 088fca4
- Disable Cirque workflow (otbr-agent/ot-rcp upstream mismatch)

Depends on Zephyr PR telink-semi/tl_zephyr#789.
CI (examples-telink.yaml) passed.

---------

Signed-off-by: Hao Wu <hao.wu@telink-semi.com>
Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>
Co-authored-by: Hao Wu <hao.wu@telink-semi.com>
Co-authored-by: Restyled.io <commits@restyled.io>
wuhaoTelink and others added 3 commits August 10, 2026 08:10
…1X and concurrent/CS targets (#21)

* docs(telink): update release notes for v1.2.0-alpha, clean up legacy platforms

- Update TL323X/TL721X resource usage tables with latest build data
- Add TL521X 4M flash dual-mode lighting-app data
- Add concurrent mode and concurrent+CS targets for TL323X/TL721X
- Remove legacy platforms (B91/B92/W91/TL321X) from all docs
- Rename build_and_update_matter_notes.py to generate_and_update_matter_notes.py
- Update README.md, README_BUILD_SCRIPT.md and release notes accordingly
- Restyled by prettier-markdown
- Restyled by ruff
- Restyled by isort
- fix py scripts
- update fetch ble sdk

---------

Signed-off-by: Hao Wu <hao.wu@telink-semi.com>
Co-authored-by: Restyled.io <commits@restyled.io>
* docs: telink: update release documentation

- add rc1 version draft

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>

* Restyled by prettier-markdown

* doc: remove doc content for all chips except TL323X and TL721X

README.md
docs/platforms/telink/releases/telink_release_notes.md
docs/platforms/telink/telink_getting_started.md

Signed-off-by: Hao Wu <hao.wu@telink-semi.com>

* doc: review the previous modifications.

Improve the logic of the getting-started and release_notes docs.
Improve the README content.

Signed-off-by: Laiyue Wang <laiyue.wang@telink-semi.com>

* doc: update release documentation

- minor changes

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>

* Restyled by prettier-markdown

* docs: update telink documents

- release note
- getting started guide

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>

* Restyled by prettier-markdown

---------

Follow-up fix
=============

Correct TL323X chip version from A0 to A0/A1 in the Telink release notes.

---------

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>
Signed-off-by: Hao Wu <hao.wu@telink-semi.com>
Signed-off-by: Laiyue Wang <laiyue.wang@telink-semi.com>
Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: Hao Wu <hao.wu@telink-semi.com>
Co-authored-by: Laiyue Wang <laiyue.wang@telink-semi.com>
…er image

Fix Cirque integration test failures caused by otbr-agent / ot-rcp
version mismatch. The build.sh script was not forwarding --build-arg
to docker build, causing the Dockerfile to always use the ot-br-posix
main branch HEAD instead of the pinned submodule commit. This resulted
in otbr-agent calling Spinel commands unsupported by the cached ot-rcp
build, crashing with otPlatRadioSetMacKey() InvalidArgument.

Changes:
- build.sh: forward --build-arg key=value pairs to docker build
- Dockerfile: add OPENTHREAD_CHECKOUT arg, pin OpenThread submodule
  to the same version used by Matter SDK
- cirque_tests.sh: pass OPENTHREAD_CHECKOUT to build.sh
Extend the upstream .mergify.yml with backport rules for the telink fork's
release branches (release-v1.0-v1.5-branch, pre_release-v1.1-v1.5-branch,
pre_release-v1.2-v1.5-branch, pre_release-v1.1-v1.6.1-branch, v1.5-branch),
triggered by request-backport-* labels and labeled backport-* on the result.

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>
@coderabbitai

coderabbitai Bot commented Aug 24, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Comment @coderabbitai help to get the list of available commands.

damien0x0023 and others added 4 commits August 25, 2026 12:47
…43696) (#25)

* [Telink] Add Aliro (Apple Home) delegate for door lock

Added Aliro-related implementations for lock-app

- solve Delegate is null error by adding AliroDelegate implementation
- solve unable to get credential error by adding AliroCredentialStorage implementation



Introduce AliroDelegate to handle Aliro provisioning attributes and
credential storage required for Apple Home compatibility.

- Add AliroDelegate class inheriting DoorLock::Delegate, implementing
  all Aliro provisioning interface methods (reader config, group keys,
  protocol versions, BLE/UWB advertising)
- Move Aliro credential storage (issuer keys, evictable/non-evictable
  endpoint keys) into AliroDelegate as private state, replacing the
  anonymous-namespace arrays that were previously scattered in
  LockManager.cpp
- Expose AliroDelegate as a singleton (GetInstance()) consistent with
  LockManager pattern; remove local static from AppTask
- Add AliroDelegate::IsAliroCredentialType() / GetCredential() /
  SetCredential() so LockManager delegates Aliro credential I/O without
  owning Aliro state
- Register delegate with DoorLockServer at init time in AppTask::Init()
- Extend LockManager::IsValidCredentialType() to accept Aliro credential
  types (kAliroCredentialIssuerKey, kAliroEvictableEndpointKey,
  kAliroNonEvictableEndpointKey)



* Restyled by clang-format

* [Telink] added error log for Aliro sub-identifier

Removed TEMPORARY_RETURN_IGNORED

* Restyled by clang-format

---------



(cherry picked from commit 7ef9fa6)

Signed-off-by: Dmytro Huz <diman1436@gmail.com>
Co-authored-by: Dmytro Huz <75682372+interfer@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
* telink: update Zephyr SDK references to tl_zephyr

Prepare for the GitHub repo renames: update CI-critical
references (.github/workflows/examples-telink.yaml,
chip-build-telink Dockerfiles) and Telink documentation links
from telink-semi/zephyr to telink-semi/tl_zephyr.

Historical release notes (docs/platforms/telink/releases/) are
left unchanged (GitHub 301 redirects cover them)..

Also updates self references from telink-semi/connectedhomeip to
telink-semi/tl_matter.

* style: prettier-format markdown tables after repo rename

The zephyr -> tl_zephyr repository rename lengthened URLs in markdown
tables. Re-run prettier (same version and config as the Restyled
prettier-markdown restyler) on the markdown files touched by the rename
so table column widths are aligned again.

* workflows: update tl_zephyr and tl_ble_sdk

- update tl_zephyr from
6825a2f00ba6de9adce66f32f55c8b457c46948c
to
5cd959604f6ab5ff6af81c46b3a8b9324040f718
- update tl_ble_sdk from
53eb98b32ea79ed7ab38f5daabde0a78a7880cd9
to
9135c8eddb7caf72256c911b0ef113fb4037b1b4

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>

* telink: fix getting-started clone directory after tl_matter rename

Address CodeRabbit review feedback on the repo rename.

- docs/platforms/telink/telink_getting_started.md: clone tl_matter into
  the connectedhomeip directory so the subsequent
  cd connectedhomeip step keeps working after the repository rename.
- scripts/tools/telink/update_zephyr.py: make the remote argument
  optional nargs so its tl_zephyr default actually takes effect
  when the argument is omitted.

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>

---------

Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com>
* telink: replace SOC_RISCV_TELINK_TLX with SOC_FAMILY_TELINK_TLX after Zephyr SoC family split

The Zephyr SoC family split (soc/telink/tlx) removed the legacy
SOC_RISCV_TELINK_TLX umbrella symbol and introduced SOC_FAMILY_TELINK_TLX,
which is selected by every TLX sub-series (TL321X/TL323X/TL521X/TL721X/TL5X).

Without this change, the build_mcuboot custom target was skipped on
all TLX-family SoCs when CONFIG_BOOTLOADER_MCUBOOT=y (e.g. OTA builds),
causing mcuboot.bin to be missing and the post-build merge step to fail
with FileNotFoundError. B91/B92 (TLSR family) were unaffected because
SOC_RISCV_TELINK_B9X was not renamed.

Files updated:
- config/telink/chip-module/CMakeLists.txt: guard build_mcuboot and
  process_binaries on SOC_FAMILY_TELINK_TLX
- config/telink/chip-module/Kconfig.defaults: BLE ctrl defaults block and
  TELINK_TLX_MBEDTLS_HW_ACCELERATION default

* telink: update Zephyr reference to dev-tlk_v4.1 branch

Switch the Zephyr revision used by the Telink examples workflow from
pull/802/head to the dev-tlk_v4.1 branch, which now contains the latest
commit of the TL521x SoC split and subsequent updates.

Tracking the dev-tlk_v4.1 branch keeps CI testing the latest Zephyr
changes until the next stable tag is cut.

---------

Signed-off-by: Hao Wu <hao.wu@telink-semi.com>
…#40)

* [Telink] Enable APP_SET_DEVICE_INFO_PROVIDER for All Clusters Minimal Application example

* [Telink] Compile DFUOverSMP.cpp in chip-module for all applications

The air-quality-sensor-app failed to link on tlsr9528a_retention with
undefined references to DFUOverSMP symbols, because its CMakeLists.txt
lacked the DFUOverSMP.cpp source rule that other examples had.

Compile examples/platform/telink/util/src/DFUOverSMP.cpp in the common
Telink chip-module so that every application using AppTaskCommon.cpp
links DFU over SMP support automatically when CONFIG_MCUMGR_TRANSPORT_BT
is enabled, and drop the now-redundant per-application rules.

* Revert "[Telink] Compile DFUOverSMP.cpp in chip-module for all applications"

This reverts commit 76bd90a.

* [Telink] Use 4mb flash overlay for (B92) All Clusters Minimal App

* [Telink] Compile DFUOverSMP.cpp in chip-module for all applications

The air-quality-sensor-app failed to link on tlsr9528a_retention with
undefined references to DFUOverSMP symbols, because its CMakeLists.txt
lacked the DFUOverSMP.cpp source rule that other examples had.

Compile examples/platform/telink/util/src/DFUOverSMP.cpp in the common
Telink chip-module so that every application using AppTaskCommon.cpp
links DFU over SMP support automatically when CONFIG_MCUMGR_TRANSPORT_BT
is enabled, and drop the now-redundant per-application rules.

* fix typo

---------

Co-authored-by: Damien Ji <yinghao.ji@telink-semi.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants