AnsweredAssumed Answered

map library objects to internal memory via .ldf in CCES

Question asked by robin.hu Employee on Aug 9, 2017
Latest reply on Aug 14, 2017 by robin.hu

I am using CCES 2.6.0 for a BF60x project. need help from tools team...

 

With reference to threads:

https://ez.analog.com/message/178181 

https://ez.analog.com/message/33757

 

I tried to map one .doj in prebuilt library to L1.

      L1_code DEF_SECTION_QUAL
      {
         INPUT_SECTION_ALIGN(4)
        
         /*$VDSG<insert-input-sections-at-the-start-of-l1_code>  */
         /* Text inserted between these $VDSG comments will be preserved */
         /*$VDSG<insert-input-sections-at-the-start-of-l1_code>  */
        
         __CORE = 0;
         INPUT_SECTIONS( libevent.dlb [init_memory_bf6xx.doj (program) ])
        
         /*$VDSG<insert-input-sections-at-the-end-of-l1_code>   */
         /* Text inserted between these $VDSG comments will be preserved */
         /*$VDSG<insert-input-sections-at-the-end-of-l1_code>   */
        
      } > MEM_L1_CODE

 

But I got linker errors:

[Error el1010] "C:\MyADIwork\03_Customer\Googol\BF607_exception\Test_BF607_Solution2\gtn_250\gtn_Core0\system\startup_ldf\app.ldf":391 Parsing error: Invalid output SECTION command syntax for output section 'L1_code'

 

[Error el1011] "C:\MyADIwork\03_Customer\Googol\BF607_exception\Test_BF607_Solution2\gtn_250\gtn_Core0\system\startup_ldf\app.ldf":391 Syntax error (missingToken): ']' was unexpected

Outcomes