|
|
|
@ -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. */ |
|
|
|
|