Replies: 2 comments 3 replies
-
I think We already offer two configuration options: project config and platform config. Introducing a third config might not be beneficial. For the different libraries, I propose allowing each to have its own dedicated config header tailored to its specific functionality. This approach offers greater flexibility than a single shared config across all libraries.
|
Beta Was this translation helpful? Give feedback.
-
The problem of |
Beta Was this translation helpful? Give feedback.
-
I noticed OT_CONFIG is marked as deprecated in the CMakeLists.txt in root. And it suggests using OT_PROJECT_CONFIG and OT_PLATFORM_CONFIG instead.
OT_PROJECT_CONFIG is mapped to OPENTHREAD_PROJECT_CORE_CONFIG_FILE and OT_PLATFORM_CONFIG is mapped to OPENTHREAD_PLATFORM_CORE_CONFIG_FILE, both are only included by
openthread-core-config.h
.Currently OpenThread has a couple of libraries in addition to core library. It's looks OT_CONFIG is a good config file for the whole project affects more than core library. So I'm considering perhaps we shouldn't deprecate it. Thoughts? @abtink
Beta Was this translation helpful? Give feedback.
All reactions