From 154dee1c86195d88c49ba5c58c8725c16541cc16 Mon Sep 17 00:00:00 2001 From: Forty-Bot Date: Sun, 14 Jan 2024 23:54:11 -0500 Subject: [PATCH] Fix msp430_GCC demo application (#1153) * Update kernel Update kernel to bring in a fix for MSP430 task initialization. * msp430_GCC: Decrease heap size to avoid stack overflow With 1800 bytes allocated to the heap, the stack overflows while initializing tasks. Decrease the heap size so we have a bit more space for the initial stack. We are using most of the heap, so 100 bytes is about as much as we can decrease it by. --- FreeRTOS/Demo/msp430_GCC/FreeRTOSConfig.h | 2 +- FreeRTOS/Source | 2 +- manifest.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/FreeRTOS/Demo/msp430_GCC/FreeRTOSConfig.h b/FreeRTOS/Demo/msp430_GCC/FreeRTOSConfig.h index 6b59e6e062..348c443696 100644 --- a/FreeRTOS/Demo/msp430_GCC/FreeRTOSConfig.h +++ b/FreeRTOS/Demo/msp430_GCC/FreeRTOSConfig.h @@ -48,7 +48,7 @@ #define configTICK_RATE_HZ ( ( TickType_t ) 1000 ) #define configMAX_PRIORITIES ( 4 ) #define configMINIMAL_STACK_SIZE ( ( unsigned short ) 50 ) -#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 1800 ) ) +#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 1700 ) ) #define configMAX_TASK_NAME_LEN ( 8 ) #define configUSE_TRACE_FACILITY 0 #define configUSE_16_BIT_TICKS 1 diff --git a/FreeRTOS/Source b/FreeRTOS/Source index ca907b445b..2f628e3f89 160000 --- a/FreeRTOS/Source +++ b/FreeRTOS/Source @@ -1 +1 @@ -Subproject commit ca907b445b52f5814705761cf63cb2ef5e43605a +Subproject commit 2f628e3f89e1f84cb929358886e80d3218791ab8 diff --git a/manifest.yml b/manifest.yml index 1e65f71d01..f3311c2e1b 100644 --- a/manifest.yml +++ b/manifest.yml @@ -5,7 +5,7 @@ license: "MIT" dependencies: - name: "FreeRTOS-Kernel" - version: "ca907b445" + version: "2f628e3" repository: type: "git" url: "https://github.com/FreeRTOS/FreeRTOS-Kernel.git"