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

update:增加w5500的任务栈空间

alienwalker 3 лет назад
Родитель
Сommit
90b1d0cc72
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      components/ethernet/w5500/w5500.c

+ 1 - 1
components/ethernet/w5500/w5500.c

@@ -1876,7 +1876,7 @@ void w5500_init(luat_spi_t* spi, uint8_t irq_pin, uint8_t rst_pin, uint8_t link_
 		luat_thread_t thread;
 		thread.task_fun = w5500_task;
 		thread.name = "w5500";
-		thread.stack_size = 4 * 1024;
+		thread.stack_size = 8 * 1024;
 		thread.priority = 3;
 		thread.userdata = w5500;
 		platform_create_task(&thread);