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 #261, add psp_module_api interface target #262

Merged
merged 1 commit into from
Mar 11, 2021

Conversation

jphickey
Copy link
Contributor

@jphickey jphickey commented Mar 9, 2021

Describe the contribution
Adds a new target for PSP modules and use this to propagate the compile definitions and include directories for all PSP code.

This is basically analogous to the core_private interface library provided by CFE, but for PSP code. It is used by PSP internal components and extensions. The public/external PSP API is still provided by the interface properties on the normal (static) PSP library.

Fixes #261

Testing performed
Build and sanity check CFE
run all unit tests

Expected behavior changes
No impact to behavior (build system change only)

System(s) tested on
Ubuntu 20.04

Additional context
nasa/cFE#1203 will also require this.

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

@jphickey jphickey added the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label Mar 9, 2021
CMakeLists.txt Outdated Show resolved Hide resolved
Adds a new target for PSP modules and use this to propagate the compile
definitions and include directories for all PSP code.
@jphickey
Copy link
Contributor Author

jphickey commented Mar 9, 2021

Cleaned up another bit of debug stuff.

Also noticed in doing this that we have a conflict with the "eeprom" stuff - the stuff in fsw/modules is supposed to provide two options for how to implement the eeprom functions and is selectable via targets.cmake, but we also include an implementation in shared that conflicts with it.

@skliper skliper added this to the 1.6.0 milestone Mar 9, 2021
@astrogeco astrogeco added CCB:FastTrack and removed CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) labels Mar 11, 2021
@astrogeco astrogeco merged commit d7af7a0 into nasa:main Mar 11, 2021
astrogeco added a commit to nasa/cFS that referenced this pull request Mar 11, 2021
astrogeco added a commit to astrogeco/cFS that referenced this pull request Mar 12, 2021
@jphickey jphickey deleted the fix-261-psp-api-intf branch March 16, 2021 19:20
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.

Add "psp_module_api" interface target
3 participants