Repository navigation
Update provision components with the new structure - #1147
Conversation
dbdad07 to
39b96d5
Compare
Bump matter-sdk with 917 provisioning fix
dc2a227 to
8a59291
Compare
PR SummaryHigh Risk Overview A new optional Closure example apps (Thread/Wi-Fi) stop listing Reviewed by Cursor Bugbot for commit 8a59291. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 8a59291. Configure here.
* Update provision components. * Add define for 917 provisionCrypto with provision flash * Bump matter-sdk and matter_support
* Update provision components with the new structure (#1147) * Update provision components. * Add define for 917 provisionCrypto with provision flash * Bump matter-sdk and matter_support * Bump matter_sdk and matter_support to merge commits

Issue Link:
N/A
Description of Problem/Feature:
Factory/manufacturing data provisioning was bundled into a single SLC path: reader backends always pulled write-path pieces (storage writer, custom storage hooks, BLE channel, iostream/RTT) and linked proprietary provision libraries even when the app only needed to read credentials at runtime. That forced manufacturing write support and related deps into normal product builds, and the components still pointed at the pre-rework provision layout/headers/libs.
Description of Fix/Solution:
Split provisioning into a read-only backend plus an optional manufacturing write channel, aligned with the reworked provision stack in matter_sdk / matter_support:
matter_provision_default / matter_provision_flash are Factory Data Readers only (NVM3/token vs dedicated flash), with sources/includes updated to the reader + crypto paths.
New optional matter_provision_channel (Factory Data Writer Channel) adds the storage writer, custom storage hooks, and BLE transport, and defines SL_MATTER_PROVISION_CHANNEL_ENABLED. It requires matter_provision and selects the matching writer for default or flash.
Dropped hard iostream / iostream_rtt requirements from the reader components.
Simplified proprietary lib linking to ABI-keyed archives (libProvision-m33-hard*, libProvision-m4-softfp*); default links them only when the channel is enabled, flash keeps them for the flash backend.
Bumped third_party/matter_sdk and third_party/matter_support to the matching provision rework commits.
Testing Done: