diff --git a/Core/Src/freertos.c b/Core/Src/freertos.c index aa4f7a8..3171dda 100644 --- a/Core/Src/freertos.c +++ b/Core/Src/freertos.c @@ -54,7 +54,7 @@ typedef StaticSemaphore_t osStaticMutexDef_t; /* USER CODE END Variables */ /* Definitions for mainTsk */ osThreadId_t mainTskHandle; -uint32_t defaultTaskBuffer[ 128 ]; +uint32_t defaultTaskBuffer[ 300 ]; osStaticThreadDef_t defaultTaskControlBlock; const osThreadAttr_t mainTsk_attributes = { .name = "mainTsk", @@ -135,7 +135,7 @@ void vApplicationMallocFailedHook(void); /* USER CODE BEGIN 4 */ void vApplicationStackOverflowHook(xTaskHandle xTask, signed char *pcTaskName) { - printf("vApplicationStackOverflowHook\r\n"); + printf("vApplicationStackOverflowHook: %s\r\n", pcTaskName); /* Run time stack overflow checking is performed if configCHECK_FOR_STACK_OVERFLOW is defined to 1 or 2. This hook function is called if a stack overflow is detected. */ diff --git a/Core/Src/spi.c b/Core/Src/spi.c index 1b53c52..b83b519 100644 --- a/Core/Src/spi.c +++ b/Core/Src/spi.c @@ -70,6 +70,7 @@ void MX_SPI2_Init(void) } -/* USER CODE BEGIN 1 */ +/* USER CODE BEGIN 1 * + LL_SPI_/ /* USER CODE END 1 */