-
Notifications
You must be signed in to change notification settings - Fork 202
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
Deprecate CFE_PLATFORM_CPU_ID, CFE_PLATFORM_CPU_NAME, and CFE_MISSION_SPACECRAFT_ID #827
Labels
Milestone
Comments
This was referenced Aug 24, 2020
dumb question, why not |
Thought about it, but I didn't think it was worth the bandaid. Could do it short term while it's deprecated, but not my preference as a permanent solution. Also might require adding cfe_psp.h depending on what includes are already in. |
skliper
added a commit
to skliper/cFE
that referenced
this issue
Sep 11, 2020
skliper
added a commit
to skliper/cFE
that referenced
this issue
Sep 11, 2020
Removed CFE_PLATFORM_CPU_ID, CFE_PLATFORM_CPU_NAME, and CFE_MISSION_SPACECRAFT_ID. Use CFE_PSP_GetProcessorId(), CFE_PSP_GetProcessorName(), CFE_PSP_GetSpacecraftId().
skliper
added a commit
to skliper/cFE
that referenced
this issue
Sep 24, 2020
Removed CFE_PLATFORM_CPU_ID, CFE_PLATFORM_CPU_NAME, and CFE_MISSION_SPACECRAFT_ID. Use CFE_PSP_GetProcessorId(), CFE_PSP_GetProcessorName(), CFE_PSP_GetSpacecraftId().
yammajamma
added a commit
that referenced
this issue
Sep 24, 2020
Fix #827, Remove old name and id defines
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Got bit by this again (used CFE_MISSION_SPACECRAFT_ID when CFE_PSP_GetSpacecraftId() should have been used). They also currently return different numbers since the define has historically been 0x42, but the setting in targets.cmake is 42 (decimal).
Related to #710
Describe the solution you'd like
Deprecate, actually suggest this error out at compile if defined since it leads to bugs (mismatch of IDs) in favor of CFE_PSP_GetSpacecraftId() and CFE_PSP_GetProcessorId() (and eventually CFE_PSP_GetProcessorName(), See nasa/PSP#165)
Describe alternatives you've considered
None.
Additional context
#710
Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: