-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow OS_THREAD_LIBSPACE_NUM as a macro #11571
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes to RTX should be also sent upstream, see https://github.com/ARM-software/CMSIS_5/blob/develop/CMSIS/RTOS2/RTX/Config/RTX_Config.h - this file should get the update there. Please send a patch for review there.
All the rest of config there contain a check if not already defined but not this one, so should be accepted as fix.
|
Hmm, why isn't this configurable in RTX? Seems like it should be a setting that can be set, whether or not What actually triggers the failure? Presumably it's not just number of threads - is it number of threads that access I'm actually kind of happy to know that Agree that it should be submitted for upstreaming. Although having to configure it at all is a bit poor - personally rather than having a separate pool of these things, and needing to search that pool, I'd put them in with the other thread info. They could live inside the In the Mbed OS part, I'd make it a proper config option in the RTOS mbed_lib.json - some people might want even more. (Or less). |
The root cause might be that @0xc0170 Thanks for pointing out that upstream commit, I'll do it. |
Ah, that's significant. I'd definitely suggest trying an RTX patch to add a free there too. |
Once done upstream, let us know , should be aligned with changes here |
@0xc0170 Please find upstream PR at ARM-software/CMSIS_5#691 |
@0xc0170 Upstream PR ARM-software/CMSIS_5#691 was merged. This should be ready for merge. |
CI started |
Test run: FAILEDSummary: 1 of 4 test jobs failed Failed test jobs:
|
Unittests failed |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
cc @ARMmbed/mbed-os-test This might need CI update? |
Description
OS_THREAD_LIBSPACE_NUM
is defined to 4, which is not a good default in all cases. This change makes it possible to giveOS_THREAD_LIBSPACE_NUM
also as a macro.Mbed netsocket tests over cellular require
OS_THREAD_LIBSPACE_NUM
to be 5.Pull request type
Reviewers
@kivaisan
Release Notes