Place main and tasks stacks in CCM

This commit is contained in:
Raphael Coeffic
2021-05-29 13:31:50 +02:00
committed by Raphael Coeffic
parent c1979338ab
commit 836733618c
4 changed files with 21 additions and 4 deletions
+6
View File
@@ -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")))