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

Integration Candidate: 2020-10-07 #612

Merged
merged 5 commits into from
Oct 6, 2020
Merged

Integration Candidate: 2020-10-07 #612

merged 5 commits into from
Oct 6, 2020

Conversation

astrogeco
Copy link
Contributor

@astrogeco astrogeco commented Oct 1, 2020

Describe the contribution
Fix #540
Fix #615

Testing performed
Bundle CI: https://github.com/nasa/cFS/pull/145/checks

Expected behavior changes

PR #541 - Adds an event callback mechanism to certain state changes in OSAL. This allows the CFE PSP to be notified at these points, and therefore it can add platform-specific functionality. This can, for instance, set the task name as requested in #532 or set the processor affinity in a multi-core setup.

PR #616 - Correct issues involving recent OS_Milli2Ticks change.

System(s) tested on
Ubuntu on Travis CI

Additional context
Part of nasa/cFS#145

Third party code
None

Contributor Info - All information REQUIRED for consideration of pull request
@jphickey

jphickey and others added 2 commits September 23, 2020 16:23
Define an interface to allow an app/PSP to be notified when state changes
or other events occur at the OS level.  Initially defined events are resource
creation/deletion and task startup.

The interface is easily extendable with more events as needed.

This can be used to add platform-specific/nonstandard functions by putting
the code inside the event handler at the PSP level.
@astrogeco astrogeco added this to the 6.0.0 milestone Oct 1, 2020
@astrogeco astrogeco changed the title Integration candidate Integration Candidate: 2020-10-07 Oct 1, 2020
Correct issues involving recent OS_Milli2Ticks change.

Note - for OS_TaskDelay it is important that this doesn't degrade
into a no-op.  So if OS_Milli2Ticks fails here, this returns the
error but still also does a non-zero delay.
@astrogeco astrogeco merged commit 19dec8c into main Oct 6, 2020
astrogeco added a commit to nasa/cFS that referenced this pull request Oct 6, 2020
Combines 
- nasa/cFE#936
- nasa/osal#612

*** 

* Add osal#541

* Add cfe#898

* Add cfe#925

* Add cfe#917

* Add cFE#899

* Add nasa/cFE#888

* Add CFE hotfix for documentation link warnings

* Add FastTracked nasa/osal#616

* Set submodules to main for IC-2020-10-07

Co-authored-by: Joseph Hickey <joseph.p.hickey@nasa.gov>
jphickey added a commit to jphickey/osal that referenced this pull request Aug 10, 2022
OSAL now sets these as UT_COVERAGE_COMPILE_FLAGS, UT_COVERAGE_LINK_FLAGS.
Building and linking the UT executable needs a corresponding update.
jphickey pushed a commit to jphickey/osal that referenced this pull request Aug 10, 2022
Fix nasa#612, Update coverage compile/link flag options
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.

RTEMS build broken OSAL event callback framework for platform-specific handling
2 participants