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 #652, cmake-based OSAL config #667

Merged
merged 1 commit into from
May 4, 2020

Conversation

jphickey
Copy link
Contributor

@jphickey jphickey commented May 4, 2020

Describe the contribution
Rather than CFE generating an osconfig.h file directly, it just needs to select file(s) from the defs directory and pass them to OSAL for the config.

This makes it compatible with the upcoming nasa/osal#285 change (in PR nasa/osal#427)

Fixes #652

Testing performed
Build code with default provided and confirm that OSAL generates the correct config (osconfig.h) and the build succeeds

Expected behavior changes
Users must now select OSAL options via the CMake file in their defs directory, rather than the osconfig.h file.

System(s) tested on
Ubuntu 20.04 LTS

Additional context
Correlates with nasa/osal#427

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

Rather than CFE generating an osconfig.h file directly, it just
needs to select file(s) from the defs directory and pass them
to OSAL for the config.
@jphickey
Copy link
Contributor Author

jphickey commented May 4, 2020

Note: This is a re-submission of original PR #654 which was NOT merged.

@jphickey jphickey requested review from astrogeco and skliper May 4, 2020 13:52
@astrogeco astrogeco added the CCB:Approved Indicates code review and approval by community CCB label May 4, 2020
@astrogeco astrogeco changed the base branch from master to integration-candidate May 4, 2020 19:38
@astrogeco astrogeco merged commit 330e150 into nasa:integration-candidate May 4, 2020
jphickey added a commit that referenced this pull request May 4, 2020
This replaces native_osconfig.h and enables running UT as a
normal user when SIMULATION=native.  Travis-CI requires this.
jphickey added a commit that referenced this pull request May 4, 2020
The osconfig.h file is now generated rather than as a normal
header file in the source tree.  A path must be included to
resolve refs in doxygen.
jphickey added a commit that referenced this pull request May 5, 2020
Generate an osconfig.h specially for doxygen, independently
of the file actually used for the build.
@jphickey jphickey deleted the fix-652-osal-config branch May 21, 2020 14:58
@skliper skliper added this to the 6.8.0 milestone Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CCB:Approved Indicates code review and approval by community CCB CCB:FastTrack
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CFE needs to provide CMake-based config file for OSAL
3 participants