-
Notifications
You must be signed in to change notification settings - Fork 57
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
PSP Headers need a scrub/cleanup #274
Labels
enhancement
New feature or request
Comments
To further cleanup - it wouldn't hurt to split this single PSP interface into several "sub-interface" definitions:
These should be separate sub-headers and could even become separate cmake interface libraries for more modularity. |
2 tasks
thnkslprpt
added a commit
to thnkslprpt/PSP
that referenced
this issue
Dec 12, 2023
dmknutsen
added a commit
that referenced
this issue
Dec 14, 2023
Part #274, Cleanup and add doxygen for cfe_psp.h
2 tasks
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.
The
cfe_psp.h
header file puts its comments/description after the function declaration and does not use doxygen style. It also contains at least a few functions that are not used by CFE and also may not even be implementedDescribe the solution you'd like
Cleanup. At least fixup comments to be more readable - put before declaration and ideally also add some doxygen markup.
At least the
CFE_PSP_Decompress()
function appears to be not implemented at all - recommend removing this prototype.Additional context
Other functions which are inconsistently implemented or too hardware specific to be useful, might be targets for deprecation/removal (These are not used by CFE, either):
CFE_PSP_InitSSR()
- why an init but no read/write/mount/etc? Seems like a thought that was never completed.CFE_PSP_Get_Timer_Tick()
- note this is different thanCFE_PSP_GetTimerTicksPerSecond()
CFE_PSP_Get_Dec()
- not well defined what this value really is, so not really usable in portable apps.These are referenced but have some issues:
CFE_PSP_GetTime()
- The definition is inconsistent, sometimes it maps to a real clock and sometimes its more of an interval timer with an arbitrary wrap point, needs more info/definition at least because it is generally hard to use correctly.Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: