mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-08-06 07:00:05 +08:00
feat(esp8266): Add uiT task stack configuration
This commit is contained in:
@ -63,6 +63,14 @@ config CONSOLE_UART_SWAP_IO
|
|||||||
help
|
help
|
||||||
Enable this option, UART0's I/O pins are swaped: TXD <-> RTS, RTX <-> CTS.
|
Enable this option, UART0's I/O pins are swaped: TXD <-> RTS, RTX <-> CTS.
|
||||||
|
|
||||||
|
config MAIN_TASK_STACK_SIZE
|
||||||
|
int "Main task stack size"
|
||||||
|
default 3584
|
||||||
|
help
|
||||||
|
Configure the "main task" stack size. This is the stack of the task
|
||||||
|
which calls app_main(). If app_main() returns then this task is deleted
|
||||||
|
and its stack memory is freed.
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu WIFI
|
menu WIFI
|
||||||
|
@ -114,7 +114,7 @@ void call_user_start(size_t start_addr)
|
|||||||
|
|
||||||
wifi_os_init();
|
wifi_os_init();
|
||||||
|
|
||||||
assert(wifi_task_create(user_init_entry, "uiT", 2048, NULL, wifi_task_get_max_priority()) != NULL);
|
assert(wifi_task_create(user_init_entry, "uiT", CONFIG_MAIN_TASK_STACK_SIZE, NULL, wifi_task_get_max_priority()) != NULL);
|
||||||
|
|
||||||
wifi_os_start();
|
wifi_os_start();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user