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-11-03 #991

Merged
merged 14 commits into from
Nov 4, 2020
Merged

Integration Candidate: 2020-11-03 #991

merged 14 commits into from
Nov 4, 2020

Conversation

astrogeco
Copy link
Contributor

@astrogeco astrogeco commented Nov 2, 2020

Describe the contribution

Fix #909, reorganize ES public API + msg definitions
Fix #966, update padding in CDS registry record
Fix #370, rename MAX CDS name macro to FULL_NAME_LEN
Fix #976, short background task name
Fix #970, strncpy warning
Fix #988, add casts on printf calls

Testing performed
See framework-bundle PR: https://github.com/nasa/cFS/pull/154/checks

Expected behavior changes

PR #977 - Keeps task names under 16 chars to make more debugger friendly, regardless
of the OSAL limit. Task name shows up as ES_BG_TASK

PR #964

  • Move ES typedefs shared across API and telemetry messages into the cfe_es_extern_typedefs.h.
  • Move all ES typedefs that define the telemetry interface and structures that define the output of commands that write data files into this group (query all apps, query all tasks, query all CDS).
  • Remove some localized definitions and replace with MISSION scope definitions where appropriate/necessary.

PR #971 - Adjust strncpy() call to avoid compiler warning

PR #990 - Cast fixed width types to the type used in the printf call. Removes printf type warnings on the 32-bit RTEMS build.

System(s) tested on
Ubuntu CI

Additional context
part of nasa/cFS#154

Third party code
None

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

jphickey and others added 9 commits October 26, 2020 14:24
Put all ES typedefs which are shared across API and telemetry
messages into the "cfe_es_extern_typedefs.h" file.

Put all ES typedefs which define the telemetry interface
into the "cfe_es_msg.h" file.  Also include structures which
define the output of commands that write data files into this
group (query all apps, query all tasks, query all CDS).

Removes some localized definitions and replace with MISSION
scope definitions where appropriate/necessary.
Startup script reflects names fixed in SAMPLE_APP and SAMPLE_LIB.
As the name field is a multiple of 4 bytes, there needs to be 3 bytes
of padding, not 1, to avoid implicit padding.

This doesn't change anything, it just makes the padding explicit instead
of implicit.
Simple replacement of CFE_MISSION_ES_CDS_MAX_NAME_LEN with
CFE_MISSION_ES_CDS_MAX_FULL_NAME_LEN, to differentiate it
from CFE_MISSION_ES_CDS_MAX_NAME_LENGTH - which is the CDS
name without the app name.
Keep names under 16 chars to make more debugger friendly, regardless
of the OSAL limit.
Adjust strncpy call to not trigger warning
Fix #909, reorganize ES public API + msg definitions
Cast fixed width types to the type used in the printf call
@astrogeco
Copy link
Contributor Author

@jphickey got a user guide build error after merging #964:

You must fix doxygen warnings for "usersguide" before submitting a pull request

/home/travis/build/nasa/cFS/cfe/docs/src/cfe_es.dox:763: warning: explicit link request to 'CFE_ES_DEFAULT_MEMPOOL_BLOCK_SIZES' could not be resolved

/home/travis/build/nasa/cFS/cfe/docs/src/cfe_es.dox:763: warning: explicit link request to 'CFE_ES_DEFAULT_MEMPOOL_BLOCK_SIZES' could not be resolved

@astrogeco astrogeco changed the title Integration candidate Integration Candidate: 2020-11-03 Nov 2, 2020
@jphickey
Copy link
Contributor

jphickey commented Nov 2, 2020

@jphickey got a user guide build error after merging #964:

You must fix doxygen warnings for "usersguide" before submitting a pull request

/home/travis/build/nasa/cFS/cfe/docs/src/cfe_es.dox:763: warning: explicit link request to 'CFE_ES_DEFAULT_MEMPOOL_BLOCK_SIZES' could not be resolved

/home/travis/build/nasa/cFS/cfe/docs/src/cfe_es.dox:763: warning: explicit link request to 'CFE_ES_DEFAULT_MEMPOOL_BLOCK_SIZES' could not be resolved

Corrected the link in hotfix commit 8935e89

Small edit to comments in cfe_version.h
@astrogeco astrogeco marked this pull request as ready for review November 4, 2020 01:57
@astrogeco astrogeco merged commit 9804b59 into main Nov 4, 2020
astrogeco added a commit to nasa/cFS that referenced this pull request Nov 4, 2020
@skliper skliper added this to the 7.0.0 milestone Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment