Place main and tasks stacks in CCM
This commit is contained in:
committed by
Raphael Coeffic
parent
c1979338ab
commit
836733618c
@@ -61,6 +61,12 @@
|
||||
#define __DMA __ALIGNED(4)
|
||||
#endif
|
||||
|
||||
#if defined(CCMRAM) && !defined(SIMU)
|
||||
#define __CCMRAM __attribute__((section(".ccm"), aligned(4)))
|
||||
#else
|
||||
#define __CCMRAM
|
||||
#endif
|
||||
|
||||
#if defined(SDRAM) && !defined(SIMU)
|
||||
#define __SDRAM __attribute__((section(".sdram"), aligned(4)))
|
||||
#define __NOINIT __attribute__((section(".noinit")))
|
||||
|
||||
Reference in New Issue
Block a user