Skip to content

Telink sync changes - #74059

Draft
s07641069 wants to merge 10 commits into
project-chip:masterfrom
s07641069:telink_sync_changes
Draft

Telink sync changes#74059
s07641069 wants to merge 10 commits into
project-chip:masterfrom
s07641069:telink_sync_changes

Conversation

@s07641069

Copy link
Copy Markdown
Contributor

Summary

Related issues

Testing

- add tl3238x into matter.
telink: tl3238x: adjust boot setting .
- close bootstrap and bootvalitdate.
- adjust rf settings.
- 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%.
@CLAassistant

CLAassistant commented Sep 10, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 3 committers have signed the CLA.

✅ damien0x0023
✅ s07641069
❌ haiwentelink
You have signed the CLA already but the status is still pending? Let us recheck it.

@coderabbitai

coderabbitai Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

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
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

haiwentelink and others added 2 commits September 10, 2026 12:26
- 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.
…438)

 - Add ota event callback .
 - Increase maximum group number per fabric .
 - 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 .
- adjust CMakeLists for more SoCs
- add boards/.conf  for tl3238x
- move kconfig from example prj.conf to board.conf
- reduce CHIP MAIN_STACK_SIZE and OT message buffer
size for tl3218x_retention
- include ext_pm.h for tl323x
- restyled by cland-format
- update zephyr
- update tl_ble_sdk
- disable reduntant CI actions
@codecov

codecov Bot commented Sep 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.87%. Comparing base (1813887) to head (7d3faab).
⚠️ Report is 7 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #74059      +/-   ##
==========================================
- Coverage   57.34%   56.87%   -0.47%     
==========================================
  Files        1943     1985      +42     
  Lines      128154   129316    +1162     
  Branches    14605    15045     +440     
==========================================
+ Hits        73491    73551      +60     
- Misses      54663    55765    +1102     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

s07641069 and others added 3 commits September 10, 2026 13:55
…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

- update zephyr revision
…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
@mergify mergify Bot added the conflict label Sep 10, 2026
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.

4 participants