You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
There is a laundry list of string size definitions in sample_mission_cfg.h, cpu1_platform_cfg.h, and default_osconfig.cmake that should be documented as to whether the setting includes a byte for a null-terminator (so say CFE_MISSION_TBL_MAX_NAME_LENGTH is defined as 16, does that mean I must limit my table name to 15 characters plus the null-terminator?)
This commit clarifies null termination in some of the settings in
cmake/sample_defs. There are also a couple small changes to detect the
case where the string is exactly as long as the maximum, so would not
have a null terminator.
Is your feature request related to a problem? Please describe.
There is a laundry list of string size definitions in sample_mission_cfg.h, cpu1_platform_cfg.h, and default_osconfig.cmake that should be documented as to whether the setting includes a byte for a null-terminator (so say
CFE_MISSION_TBL_MAX_NAME_LENGTH
is defined as 16, does that mean I must limit my table name to 15 characters plus the null-terminator?)This is related to #730 .
Requester Info
[email protected]
The text was updated successfully, but these errors were encountered: