diff --git a/Core/Src/main.c b/Core/Src/main.c index d6ac9e5..3f5cb91 100644 --- a/Core/Src/main.c +++ b/Core/Src/main.c @@ -33,7 +33,11 @@ /* Private macro -------------------------------------------------------------*/ /* USER CODE BEGIN PM */ +__attribute__((section(".ccmram"))) +StackType_t xCAN1_Stack[CAN_TASK_STACK_WORDS]; +__attribute__((section(".ccmram"))) +StackType_t xCAN2_Stack[CAN_TASK_STACK_WORDS]; /* USER CODE END PM */ /* Private variables ---------------------------------------------------------*/