1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

REVONANO - exclude ccram stuffs

This commit is contained in:
Alessio Morale 2014-11-17 21:41:42 +01:00
parent 8a02caa33a
commit 632a14023c
2 changed files with 5 additions and 5 deletions

View File

@ -83,7 +83,7 @@ SECTIONS
_irq_stack_end = . ;
*(.irqstack)
_irq_stack_top = . ;
} > CCSRAM
} > SRAM
/*
@ -132,14 +132,14 @@ SECTIONS
/*
* 'Fast' memory goes in the CCM SRAM
*/
.fast (NOLOAD) :
{
_sfast = . ;
*(.fast)
_efast = . ;
} > CCSRAM
*/
/* Stabs debugging sections. */
.stab 0 : { *(.stab) }
.stabstr 0 : { *(.stabstr) }

View File

@ -85,10 +85,10 @@ void _main(void)
/* zero the BSS */
memset(&_sbss, 0, &_ebss - &_sbss);
#ifdef PIOS_TARGET_PROVIDES_FAST_HEAP
/* zero any 'fast' RAM that's been used */
memset(&_sfast, 0, &_efast - &_sfast);
#endif
/* fill most of the IRQ/bootstrap stack with a watermark pattern so we can measure how much is used */
/* leave a little space at the top in case memset() isn't a leaf with no locals */
memset(&irq_stack, 0xa5, sizeof(irq_stack) - 64);