diff options
Diffstat (limited to 'main/FreeRTOSConfig.h')
-rw-r--r-- | main/FreeRTOSConfig.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/main/FreeRTOSConfig.h b/main/FreeRTOSConfig.h index 4897d8d..c811296 100644 --- a/main/FreeRTOSConfig.h +++ b/main/FreeRTOSConfig.h @@ -1,17 +1,13 @@ #pragma once // values from pico-examples/pico_w/wifi/freertos -#ifdef __cplusplus -extern "C" { -#endif - #define configUSE_PREEMPTION 1 #define configUSE_TICKLESS_IDLE 0 #define configUSE_IDLE_HOOK 0 #define configUSE_TICK_HOOK 0 #define configTICK_RATE_HZ ((TickType_t) 1000) #define configMAX_PRIORITIES 32 -#define configMINIMAL_STACK_SIZE ((configSTACK_DEPTH_TYPE) 256) +#define configMINIMAL_STACK_SIZE ((configSTACK_DEPTH_TYPE) 512) #define configUSE_16_BIT_TICKS 0 #define configIDLE_SHOULD_YIELD 1 #define configUSE_MUTEXES 1 @@ -29,7 +25,7 @@ extern "C" { #define configSUPPORT_STATIC_ALLOCATION 0 #define configSUPPORT_DYNAMIC_ALLOCATION 1 #define configTOTAL_HEAP_SIZE (128 * 1024) -#define configAPPLICATION_ALLOCATED_HEAP 4 +#define configAPPLICATION_ALLOCATED_HEAP 0 #define configCHECK_FOR_STACK_OVERFLOW 0 #define configUSE_MALLOC_FAILED_HOOK 0 #define configUSE_DAEMON_TASK_STARTUP_HOOK 0 @@ -71,7 +67,3 @@ extern "C" { #define INCLUDE_xTaskResumeFromISR 1 #define INCLUDE_xQueueGetMutexHolder 1 -#ifdef __cplusplus -} // extern "C" -#endif - |