AnsweredAssumed Answered

Growing BF heap and stack into L2 and L3 memories

Question asked by ybarness on Nov 30, 2011
Latest reply on Dec 10, 2011 by ybarness

Hello,

 

I would like to allow the heap and stack space to grow into the internal L2 space (and perhaps into L3-SDRAM later).

 

The original LDF file has the following

 

L1_data_a_stack_heap
      {
         INPUT_SECTION_ALIGN(4)
         RESERVE_EXPAND(heaps_and_stack_in_L1_data_a, heaps_and_stack_in_L1_data_a_length , 0, 4)
         ldf_heap_space = heaps_and_stack_in_L1_data_a;
         ldf_heap_end = (ldf_heap_space + (heaps_and_stack_in_L1_data_a_length - 4)) & 0xfffffffc;
         ldf_heap_length = ldf_heap_end - ldf_heap_space;
      } > MEM_A_L1_DATA_A

With the same for L1_data_b....... ( and the same for core b, as this is a BF561 project.)

 

I don't need coreb's  heap and stack to grow, but corea would greatly benefit from it.

 

Can you help me?    

 

Thanks

YB

Outcomes