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 #609, Remove CFE_PLATFORM_EVS_LOG_ON undefined option to diasble log #1129

Merged

Conversation

skliper
Copy link
Contributor

@skliper skliper commented Jan 25, 2021

Describe the contribution
Fix #609 - removes the ability to disable the log by not defining CFE_PLATFORM_EVS_LOG_ON

Testing performed
Build and run unit tests, passed

Expected behavior changes
No longer able to disable log completely, for minimum memory use define CFE_PLATFORM_EVS_LOG_MAX as 1

System(s) tested on

  • Hardware: cFS Dev Server
  • OS: Ubuntu 18.04
  • Versions: Bundle main + this commit

Additional context
Could remove control based on LogEnabled, panic on reset area fail and limp along if sem create fails.
Needs requirements updates - #1131

Third party code
None

Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC

@skliper skliper added the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Jan 25, 2021
@skliper skliper added this to the 7.0.0 milestone Jan 25, 2021
@astrogeco astrogeco added CCB:2021-01-27 and removed CCB:Ready Ready for discussion at the Configuration Control Board (CCB) labels Jan 27, 2021
@astrogeco
Copy link
Contributor

CCB:2021-01-27 APPROVED

  • Option to reduce memory footprint is to set max = 1
  • Keep it simple. Having cFE do this is extra complexity that might not be necessary. Let PSP work with this.

@skliper skliper marked this pull request as draft January 27, 2021 19:02
@skliper
Copy link
Contributor Author

skliper commented Jan 27, 2021

Need to remove control based on HK parameter before merge (will submit as an additional HOTFIX merge, or fasttrack?)

@astrogeco
Copy link
Contributor

@skliper this is in draft form, can I change this to ready?

@skliper skliper marked this pull request as ready for review February 4, 2021 12:54
@skliper
Copy link
Contributor Author

skliper commented Feb 4, 2021

@astrogeco Good to go, opened #1153 to address the CCB actions.

@astrogeco astrogeco changed the base branch from main to integration-candidate February 4, 2021 14:23
@astrogeco astrogeco merged commit 7357fa3 into nasa:integration-candidate Feb 4, 2021
@astrogeco
Copy link
Contributor

@astrogeco Good to go, opened #1153 to address the CCB actions.

Should we address the requirements issue #1131 before merging this though?

@astrogeco
Copy link
Contributor

@astrogeco Good to go, opened #1153 to address the CCB actions.

Should we address the requirements issue #1131 before merging this though?

Nvm, clicked merge too soon :P

astrogeco added a commit to nasa/cFS that referenced this pull request Feb 4, 2021
@skliper skliper deleted the fix609-evs_log_not_optional branch March 23, 2021 13:13
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.

EVS "CFE_PLATFORM_EVS_LOG_ON" option unit test failure
2 participants