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 #280, remove psp configdata global object #287

Merged

Conversation

jphickey
Copy link
Contributor

Describe the contribution
Cleans up unneeded global to simplify things.

This global config structure is not really necessary. The original intent was to allow dependents (e.g. CFE) to get vars at runtime but keep them stored within PSP. However for all those cases where CFE needs PSP info, an API function is defined to get the info. There should not be any need to read this variable directly.

Fixes #280

Testing performed
Build and sanity check CFE, run all unit tests

Expected behavior changes
None

System(s) tested on
Ubuntu 20.04

Additional context
Co-dependent with nasa/cFE#1273

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

This global config structure is not really necessary.  The original
intent was to allow dependents (e.g. CFE) to get vars at runtime but
keep them stored within PSP.  However for all those cases where CFE
needs PSP info, an API function is defined to get the info.  There
should not be any need to read this variable directly.
@jphickey jphickey added the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label Mar 31, 2021
@astrogeco
Copy link
Contributor

CCB:2021-03-31 APPROVED

  • corresponds to cleanup in cFE side
  • might be time to revisit concept of splitting up PSPs (copied version in all three files)?
  • Fixed Found bug with #define for codename -> open issue?

@astrogeco astrogeco changed the base branch from main to integration-candidate April 2, 2021 20:16
@astrogeco astrogeco added dependency IC:2021-04-02 and removed CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) labels Apr 2, 2021
@astrogeco astrogeco merged commit 511392c into nasa:integration-candidate Apr 2, 2021
astrogeco added a commit to nasa/cFS that referenced this pull request Apr 2, 2021
nasa/cFE#1274 - Fix #1273, remove PspConfig global object
nasa/cFE#1278 - Fix #1277, ZeroCopy typo in ReadMe

nasa/PSP#287 - Fix #280, remove psp configdata global object
astrogeco added a commit that referenced this pull request Apr 2, 2021
Remove `cfe_psp_configdata.h` #include since the file does not exist and isn't needed after change in #287
astrogeco added a commit to nasa/cFS that referenced this pull request Apr 2, 2021
nasa/cFE#1274 - Fix #1273, remove PspConfig global object
nasa/cFE#1278 - Fix #1277, ZeroCopy typo in ReadMe

nasa/PSP#287 - Fix #280, remove psp configdata global object
astrogeco added a commit to nasa/cFS that referenced this pull request Apr 2, 2021
nasa/cFE#1274 - Fix #1273, remove PspConfig global object
nasa/cFE#1278 - Fix #1277, ZeroCopy typo in ReadMe

nasa/PSP#287 - Fix #280, remove psp configdata global object
astrogeco added a commit to nasa/cFS that referenced this pull request Apr 2, 2021
*Submodule ICs:*
nasa/cFE#1279, nasa/PSP#288

*Submodule IC Contents:*

nasa/cFE#1274 - Fix #1273, remove PspConfig global object
nasa/cFE#1278 - Fix #1277, ZeroCopy typo in ReadMe

nasa/PSP#287 - Fix #280, remove psp configdata global object
nasa/PSP#283 - Fix #281, cleanup memory range table
astrogeco added a commit to nasa/cFS that referenced this pull request Apr 2, 2021
*Submodule ICs:*
nasa/cFE#1279, nasa/PSP#288

*Contents:*

nasa/cFE#1274 - Fix #1273, remove PspConfig global object
nasa/cFE#1278 - Fix #1277, ZeroCopy typo in ReadMe

nasa/PSP#287 - Fix #280, remove psp configdata global object
nasa/PSP#283 - Fix #281, cleanup memory range table
astrogeco added a commit to nasa/cFS that referenced this pull request Apr 2, 2021
*Submodule ICs:*
nasa/cFE#1279, nasa/PSP#288

*Contents:*

nasa/cFE#1274 - Fix #1273, remove PspConfig global object
nasa/cFE#1278 - Fix #1277, ZeroCopy typo in ReadMe

nasa/PSP#287 - Fix #280, remove psp configdata global object
nasa/PSP#283 - Fix #281, cleanup memory range table
@jphickey jphickey deleted the fix-280-cleanup-configdata branch April 29, 2021 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove "GLOBAL_PSP_CONFIGDATA" object
2 participants