telink: add tl7218x modual board overlay - #49
Conversation
Add flash partition overlays for the TL7218X ML7G and ML7M module boards with 2MB flash, in both standard and LZMA image variants. - tl7218x_ml7g_2m_flash.overlay / tl7218x_ml7m_2m_flash.overlay: dual image-0/image-1 slots with storage (matter-nvs), user, secure, dual-mode, dac-keypair, factory-data and vendor-data partitions. - tl7218x_ml7g_2m_flash_lzma.overlay / tl7218x_ml7m_2m_flash_lzma.overlay: LZMA-compressed image layout with dedicated image-0-matter, image-0-zb, image-0-trailor sub-partitions and zigbee-nvs. Signed-off-by: Laiyue Wang <laiyue.wang@telink-semi.com>
Pull-up SWS pin after startup and retention reset. Signed-off-by: Laiyue Wang <laiyue.wang@telink-semi.com>
|
Tick the box to add this pull request to the merge queue (same as
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (5)
Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughThe pull request adds fixed 2 MiB flash layouts for four TL7218X variants and updates the Zephyr revision used by the Telink workflow. The Telink BLE SDK revision remains unchanged. ChangesTL7218X Flash Layouts
Telink Workflow Revision
Estimated code review effort: 2 (Simple) | ~15 minutes Merge Risk: ⚪ Minimal · up to No concrete merge-blocking risk remains in the reviewed changes. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Summary
This PR adds 2MB flash partition overlay support for the Telink TL7218X ML7G and ML7M module boards, and updates the Zephyr revision to pull up the SWS pin after startup and retention reset.
What was changed:
src/platform/telink/:tl7218x_ml7g_2m_flash.overlay/tl7218x_ml7m_2m_flash.overlay— dual image-0/image-1 slots with storage (matter-nvs), user, secure, dual-mode, dac-keypair, factory-data and vendor-data partitions.tl7218x_ml7g_2m_flash_lzma.overlay/tl7218x_ml7m_2m_flash_lzma.overlay— LZMA-compressed image layout with dedicated image-0-matter, image-0-zb, image-0-trailor sub-partitions and zigbee-nvs..github/workflows/examples-telink.yaml(d6a8aa9…→0858e43…) to pick up the fix that pulls up the SWS pin after startup and retention reset, preventing the debug tool connection issue.Why:
The TL7218X ML7G/ML7M module boards ship with 2MB flash, which needs dedicated partition overlays to properly layout the Matter image, storage, and Zigbee NVS partitions in both standard and LZMA-compressed modes. The Zephyr revision bump is required for the SWS pin pull-up fix on these boards.
Related issues
N/A
Testing
Currently compiling and testing.
Readability checklist
The checklist below will help the reviewer finish PR review in time and keep the code readable:
https://project-chip.github.io/connectedhomeip-doc/contributing/pull_request_guidelines.html#title-formattinghttps://project-chip.github.io/connectedhomeip-doc/style/CODING_STYLE_GUIDE.htmlrule (coding style)See:
https://project-chip.github.io/connectedhomeip-doc/contributing/pull_request_guidelines.htmlSummary by CodeRabbit