Repository navigation
Support module-manager kernels in CMake builds - #813
Open
Tisya-Gupta wants to merge 2 commits into
Open
Tisya-Gupta wants to merge 2 commits into
Tisya-Gupta wants to merge 2 commits into
Conversation
Signed-off-by: Tisya-Gupta <tisyagupta793@gmail.com>
The file is new in this change, so it carries only the Eclipse ThreadX contributors copyright. Assisted-by: Claude Code (Opus 5.5) <noreply@anthropic.com>
Contributor
|
Thank you for this, @Tisya-Gupta. CI is green across every workflow, and I also built the module-manager kernel and the consumer check locally for Cortex-M0+, M3, M4, M7, M23, M33 and R52 with GCC 14.3; all of them build. I pushed one small commit to your branch: the new A possible follow-up, not needed for this PR: CI covers the GNU M0+, M3, M4 and M7 module ports, and M23, M33 and R52 also build with |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds support for building ThreadX with module manager in CMake. Right now CMake only supports standard and SMP builds, so anyone using FetchContent or add_subdirectory cannot build the module manager kernel without patching the build files.
I added a THREADX_MODULE_MANAGER option that pulls the port sources from ports_module and compiles the common module manager files, defines TXM_MODULE_MANAGER, and exports the module headers like txm_module.h. It also adds a small check target to make sure consumer code compiles, updates the Cortex-M CI workflow, and adds build steps to the README.
Closes #770