Просмотр исходного кода

change: lwip线程扩大到8k,不然启用tls必死, stack overflow

Wendal Chen 3 лет назад
Родитель
Сommit
179688510b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/network/lwip2.1.3/include/arch/sys_arch.h

+ 1 - 1
src/network/lwip2.1.3/include/arch/sys_arch.h

@@ -5,7 +5,7 @@
 #include "wm_osal.h"
 #include "wm_config.h"
 
-#define LWIP_STK_SIZE	     512
+#define LWIP_STK_SIZE	     2048
 #define LWIP_TASK_MAX	     1	
 /* The user can change this priority level. 
  * It is important that there was no crossing with other levels.