Use fixed size types for addresses and address offsets in tables/tlm/cmd
Checklist (Please check before submitting)
- [x] I reviewed the Contributing Guide.
- [x] I reviewed the README file to see if the feature is in the major future work.
- [x] I performed a cursory search to see if the feature request is relevant, not redundant, nor in conflict with other tickets.
Is your feature request related to a problem? Please describe.
Changing telemetry and table sizes depending on platform (32 vs 64 bit) when using the cpuaddr type in structures.
Describe the solution you'd like
Use cfe_es_memaddress and cfe_es_offset types for tables and telemetry and define those types as 64 bits. If space is an issue, users can redefine these types as 32-bit.
From CCB:2022-04-27
- cpuaddress type will "change size". Use cfe_es_memaddress and cfe_es_offset types for tables and telemetry
- open new issue to address and discuss with customers Originally posted by @astrogeco in https://github.com/nasa/CS/issues/24#issuecomment-1111211271
EDIT: CFE_ES_MemAddress_t and CFE_ES_MemOffset_t are the actual types that should be used
Describe alternatives you've considered
Leave as is, redefine telemetry sizes based on platform in the "ground system"
Additional context None
Requester Info Gerardo E. Cruz-Ortiz, NASA
See also nasa/cFE#2093