File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 53
53
ENTRY (Reset_Handler )
54
54
55
55
/* Highest address of the user mode stack */
56
- _estack = 0x20020000; /* end of RAM */
56
+ /*_estack = 0x20020000;*/ /* end of RAM */
57
+ _estack = 0x10010000; /* end of CCRAM */
57
58
/* Generate a link error if heap and stack don't fit into RAM */
58
59
_Min_Heap_Size = 0x200; /* required amount of heap */
59
60
_Min_Stack_Size = 0x400; /* required amount of stack */
@@ -191,7 +192,7 @@ SECTIONS
191
192
. = . + _Min_Heap_Size;
192
193
. = . + _Min_Stack_Size;
193
194
. = ALIGN (8);
194
- } >RAM
195
+ } >CCMRAM
195
196
196
197
197
198
Original file line number Diff line number Diff line change @@ -478,7 +478,7 @@ struct AudioCommand
478
478
uint32_t count ;
479
479
uint8_t sync ;
480
480
uint8_t cmd ;
481
- } audioCommands [2 ];
481
+ } audioCommands [2 ] __attribute__(( section ( ".ccmram" ))) ;
482
482
uint8_t cmdReadIdx = 0 ;
483
483
uint8_t cmdWriteIdx = 0 ;
484
484
You can’t perform that action at this time.
0 commit comments