Pre release v1.1 v1.6.1 branch - #19
Draft
fengtai-telink wants to merge 15 commits into
Draft
Conversation
- 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: Fengtai Xie <fengtai.xie@telink-semi.com>
- 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>
- Change the logic from the ScheduleFactoryReset() to earse NVS Signed-off-by: Fengtai Xie <fengtai.xie@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: 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>
fengtai-telink
force-pushed
the
pre_release-v1.1-v1.6.1-branch
branch
from
August 4, 2026 05:29
1de1c8a to
f6427cd
Compare
- Fill in the missing parts. - Restore the files: BLEManagerImpl, ThreadStackManagerImpl. Signed-off-by: Fengtai Xie <fengtai.xie@telink-semi.com>
fengtai-telink
force-pushed
the
pre_release-v1.1-v1.6.1-branch
branch
from
August 4, 2026 06:42
f6427cd to
57bc686
Compare
fengtai-telink
requested review from
damien0x0023,
haiwentelink and
wuhaoTelink
August 4, 2026 06:48
fengtai-telink
force-pushed
the
pre_release-v1.1-v1.6.1-branch
branch
from
August 6, 2026 05:10
6a71c1f to
1cb04ce
Compare
- tmp fix commissioning ble fail Signed-off-by: Fengtai Xie <fengtai.xie@telink-semi.com>
fengtai-telink
force-pushed
the
pre_release-v1.1-v1.6.1-branch
branch
from
August 6, 2026 05:12
1cb04ce to
f314e91
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PR to review telink matter SDK 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:
descriptive
“When in Rome…”
rule (coding style)
See: Pull Request Guidelines