This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Converting GEL functions to C code?

Guru 15580 points

I am moving from debug to production and would like to convert my GEL initialization files to C code. How do I convert the following to c?

<Linking>

 undefined     first referenced
  symbol           in file    
 ---------     ----------------
 GEL_MapAddStr ./amx_init.obj 
 GEL_MapOff    ./amx_init.obj 
 GEL_MapOn     ./amx_init.obj 
 GEL_MapReset  ./amx_init.obj 
 GEL_TextOut   ./amx_init.obj

Thx,

MikeH

 

  • Hi Mike,

    The first four GEL functions are for setting the debugger memory map. This is something you would not have in your production C code.

    The last is for sending strings from GEL files to the GEL output window in the debugger. Again you would not have this in your C code.

    ki

  • Thanks Ki. I totally overlooked that.

    BTW, is there a newer version of your app note SPRAA74A. The only one I can find is dated 2004.

    thx


    MikeH

  • There has not been an update of that app note. For the most part, the content of that app note is still up to date. CCSv4 GEL functionality behaves the same as v3.3 in respect to when OnTargetConnect() gets called, etc.