2 Commits

Author SHA1 Message Date
WanqQixiang 968ff042a8 CI: add astyle pre-commit hook 2026-02-03 15:30:42 +08:00
Shubham Patil 6985d49f6e examples/common: manufacturing data provider implementation
Introduce a precedence-based implementation for reading manufacturing
data.

Manufacturing data can reside in either the secure-cert partition or the
fctry partition. To ensure backward compatibility with older modules
(where manufacturing data was stored in the fctry partition), this implementation
supports setting precedence between the available storage options.

Default precedence is factory first, i.e. implementation checks the data
in factory partition first and if not found falls back to check secure
cert partition.

This allows newer modules using secure-cert to coexist seamlessly with legacy ones.
2025-08-22 11:15:21 +05:30