summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Bartell <pbartell@amazon.com>2023-03-20 11:43:37 -0700
committerPaul Bartell <paul.bartell@gmail.com>2023-03-30 12:32:55 -0700
commit4408d7430e814364fd9f89b318a623e4ecaf9f12 (patch)
treef080dcab4f9fb38ebc1176cd7fa83577ce311f26
parent63cfc621edf735f8bf2e066f997cd68017466bbf (diff)
downloadfreertos-git-4408d7430e814364fd9f89b318a623e4ecaf9f12.tar.gz
Increase minimal stack size config to 2048 words
Accomodates increased usage due to newlib thread local storage
-rw-r--r--FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/FreeRTOSConfig.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/FreeRTOSConfig.h b/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/FreeRTOSConfig.h
index 3da46b6fb..441e57834 100644
--- a/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/FreeRTOSConfig.h
+++ b/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/FreeRTOSConfig.h
@@ -62,7 +62,7 @@ extern void vAssertCalled( const char * pcFileName,
#endif /* __NEWLIB__ */
#define configUSE_PREEMPTION 1
-#define configUSE_TIME_SLICING 1
+#define configUSE_TIME_SLICING 0
#define configUSE_PORT_OPTIMISED_TASK_SELECTION 0
#define configUSE_IDLE_HOOK 1
@@ -70,8 +70,7 @@ extern void vAssertCalled( const char * pcFileName,
#define configUSE_DAEMON_TASK_STARTUP_HOOK 0
#define configCPU_CLOCK_HZ ( ( unsigned long ) 20000000 )
#define configTICK_RATE_HZ ( ( TickType_t ) 1000 )
-#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 2000 )
-#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 900 ) )
+#define configMINIMAL_STACK_SIZE ( 2048 )
#define configMAX_TASK_NAME_LEN ( 10 )
#define configUSE_TRACE_FACILITY 1
#define configUSE_16_BIT_TICKS 0
@@ -83,7 +82,6 @@ extern void vAssertCalled( const char * pcFileName,
#define configUSE_COUNTING_SEMAPHORES 1
#define configSUPPORT_DYNAMIC_ALLOCATION 1
#define configSUPPORT_STATIC_ALLOCATION 1
-#define configNUM_TX_DESCRIPTORS 15
#define configSTREAM_BUFFER_TRIGGER_LEVEL_TEST_MARGIN 2
#define configQUEUE_REGISTRY_SIZE 20
#define configUSE_QUEUE_SETS 1