nasa / SIL

Tools for generating CFS ECI-compatible code from Simulink models
Other
19 stars 12 forks source link

Maximum length of table names #12

Closed SpaceSteve121 closed 5 years ago

SpaceSteve121 commented 5 years ago

Before we go back and start editing our Simulink models to reduce name sizes, is there something that makes the accommodation of table names greater than 16 characters not possible in the code?

We’ve set the CFE_TBL_MAX_NAME_LENGTH to 28 and got through the initial issue with lengths. The problem shows up with the CFE_TBL_FileDef length not properly defined. I’ve looked to see how this happens and found eci_tbl_if.h to contain logic for defining this parameter. Is there another setting here or elsewhere to allow CFE_TBL_FileDef to be under a limit?

Here is the error if this helps:

image

Originally posted by @JimKaidyNASA in https://github.com/nasa/SIL/issues/5#issuecomment-527956270

SpaceSteve121 commented 5 years ago

Closed because duplicate of #11