You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#14713 introduced a generic thread driver. However for generic convenience, this also makes the platform create/initialize the corresponding cluster, where src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread.cpp
The issue with this is that generic platform code starts instantiating and depending on cluster code (which is likely application-specific as it would depend on ember code and overall dependency-wise platform is supposed to be one of the lowest layers in the SDK).
This causes build issues if we try to make network commissioning as a stand-alone buildable unit with dependency management (discovered in #39289).
We need some way for platform to not depend on clusters. ESP32 had the same thing for wifi and ethernet and moved the init calls into an app-specific location in #39346. A similar approach could be taken by openthread instances, however this also means several platforms may need updating.
The text was updated successfully, but these errors were encountered:
#14713 introduced a generic thread driver. However for generic convenience, this also makes the platform create/initialize the corresponding cluster, where
src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread.cpp
The issue with this is that generic platform code starts instantiating and depending on cluster code (which is likely application-specific as it would depend on ember code and overall dependency-wise platform is supposed to be one of the lowest layers in the SDK).
This causes build issues if we try to make network commissioning as a stand-alone buildable unit with dependency management (discovered in #39289).
We need some way for platform to not depend on clusters. ESP32 had the same thing for wifi and ethernet and moved the init calls into an app-specific location in #39346. A similar approach could be taken by openthread instances, however this also means several platforms may need updating.
The text was updated successfully, but these errors were encountered: