diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-05-09 12:06:07 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-05-09 12:06:07 +0200 |
commit | efc9870fb1ddd286954fc056b79dddf39f68353a (patch) | |
tree | 9d70895971460be7c58b434a54fe49c51153da0a /main/FreeRTOSConfig.h | |
parent | cee744e2bd419c0fc47f2b8bb315f183929d1113 (diff) |
freertos + lwip compile working
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 - |