-
Notifications
You must be signed in to change notification settings - Fork 206
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 #2507, add EDS cmake hooks #2511
Conversation
@@ -126,6 +126,78 @@ | |||
*/ | |||
extern CFE_StaticModuleLoadEntry_t CFE_PSP_MODULE_LIST[]; | |||
|
|||
#ifdef CFE_EDS_ENABLED_BUILD |
Check notice
Code scanning / CodeQL-coding-standard
Conditional compilation Note
* non-const pointer gets set NULL. There are no "write" operations | ||
* in this mode -- registration and de-registration is not necessary. | ||
*/ | ||
#ifdef CFE_EDS_LINK_MODE_GLOBAL |
Check notice
Code scanning / CodeQL-coding-standard
Conditional compilation Note
* Dynamic (non-const) runtime EDS database object | ||
* This is filled in as additional EDS datasheet objects are registered | ||
*/ | ||
#ifdef CFE_EDS_LINK_MODE_LOCAL |
Check notice
Code scanning / CodeQL-coding-standard
Conditional compilation Note
* For all of these DB objects, use NULL if not defined. | ||
* This covers the case where EDS is not being used. | ||
*/ | ||
#ifndef CFE_NONCONST_EDS_DB_PTR |
Check notice
Code scanning / CodeQL-coding-standard
Conditional compilation Note
* Note that the non-const object can be used as a const object, | ||
* but not the other way around. This can also be NULL. | ||
*/ | ||
#ifndef CFE_CONST_EDS_DB_PTR |
Check notice
Code scanning / CodeQL-coding-standard
Conditional compilation Note
* of the software bus messages. This can also be NULL if | ||
* EDS is not being used. | ||
*/ | ||
#ifndef CFE_SB_INTF_DB_PTR |
Check notice
Code scanning / CodeQL-coding-standard
Conditional compilation Note
Adds CFE_EDS_ENABLED_BUILD option at the top level, along with other logic that is tied in only when this is set TRUE. By default it is set to FALSE, so it does not change any existing workflows yet. Also added are the keys for two configuration values for reflecting EDS DB objects (pointers) and some minor cleanup.
76ee213
to
350f57e
Compare
*Combines:* cFE equuleus-rc1+dev90 ci_lab equuleus-rc1+dev57 **Includes:** *cFE* - nasa/cFE#2510 - nasa/cFE#2511 *osal* - nasa/ci_lab#174 Co-authored by: Joseph Hickey <[email protected]>
*Combines:* cFE equuleus-rc1+dev90 ci_lab equuleus-rc1+dev57 **Includes:** *cFE* - nasa/cFE#2510 - nasa/cFE#2511 *osal* - nasa/ci_lab#174 Co-authored by: Joseph Hickey <[email protected]>
Checklist (Please check before submitting)
Describe the contribution
Adds CFE_EDS_ENABLED_BUILD option at the top level, along with other logic that is tied in only when this is set TRUE.
By default it is set to FALSE, so it does not change any existing workflows yet.
Also added are the keys for two configuration values for reflecting EDS DB objects (pointers) and some minor cleanup.
Fixes #2507
Testing performed
Build CFE and run all tests
Expected behavior changes
None when using defaults (EDS=OFF). All mods are behind the switch.
System(s) tested on
Debian
Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.