Skip to content
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

Fix #1004, default stack size #1022

Merged

Conversation

jphickey
Copy link
Contributor

Describe the contribution

Do not enforce CFE_PLATFORM_ES_DEFAULT_STACK_SIZE as a minimum, it should be a default.

Fixes #1004

Testing performed
Build and sanity test CFE.
Run all unit tests.

Expected behavior changes
This affects the Start App command.
If stack size is specified as zero, then the default stack size value from platform config is used. Otherwise the value in the command will be passed through and used as-is.

System(s) tested on
Ubuntu 20.04
RTEMS 4.11

Additional context
No specific value is enforced at the ES level. Many RTOS's will implement any stack size requested - so no need for ES to get in the way and put arbitrary restrictions. Furthermore the value is documented as a default, not a minimum.

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

Do not enforce CFE_PLATFORM_ES_DEFAULT_STACK_SIZE as a minimum,
it should be a default.
@jphickey jphickey added the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Nov 18, 2020
@astrogeco
Copy link
Contributor

CCB 2020-11-18 APPROVED

@astrogeco astrogeco removed the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Dec 1, 2020
@astrogeco astrogeco changed the base branch from main to integration-candidate December 1, 2020 17:28
@astrogeco astrogeco merged commit 1f7a716 into nasa:integration-candidate Dec 1, 2020
@jphickey jphickey deleted the fix-1004-min-stacksize branch December 3, 2020 17:53
@skliper skliper added this to the 7.0.0 milestone Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Documentation/usage mismatch in CFE ES "Start App" command
3 participants