diff --git a/radio/src/FreeRTOSConfig.h b/radio/src/FreeRTOSConfig.h index 023d5c49a..4ae31c3ae 100644 --- a/radio/src/FreeRTOSConfig.h +++ b/radio/src/FreeRTOSConfig.h @@ -29,8 +29,9 @@ #define configCPU_CLOCK_HZ ( SystemCoreClock ) #define configTICK_RATE_HZ ( ( TickType_t ) 1000 ) #define configMAX_PRIORITIES ( 5 ) -#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 130 ) -//#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 75 * 1024 ) ) +#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 30 ) +// static memory is used instead +// #define configTOTAL_HEAP_SIZE ( ( size_t ) ( 75 * 1024 ) ) #define configUSE_16_BIT_TICKS 0 #define configIDLE_SHOULD_YIELD 1 // Use notifications @@ -39,13 +40,13 @@ #define configUSE_RECURSIVE_MUTEXES 0 #define configUSE_MALLOC_FAILED_HOOK 0 #define configUSE_APPLICATION_TASK_TAG 0 -#define configUSE_COUNTING_SEMAPHORES 0 // 1 rco: save some memory? +#define configUSE_COUNTING_SEMAPHORES 0 #define configGENERATE_RUN_TIME_STATS 0 #define configUSE_TIMERS 0 #if !defined(DEBUG) - #define configMAX_TASK_NAME_LEN 1 - #define configUSE_TRACE_FACILITY 0 // 1 rco: save some memory? + #define configMAX_TASK_NAME_LEN 4 + #define configUSE_TRACE_FACILITY 0 #define configCHECK_FOR_STACK_OVERFLOW 0 #else #define configMAX_TASK_NAME_LEN 10