mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-01 16:16:54 +08:00
feat(task): Change all tasks size 4 times the original
This commit is contained in:
@ -185,7 +185,7 @@ void uart_init(void)
|
||||
|
||||
xQueueUart = xQueueCreate(32, sizeof(os_event_t));
|
||||
|
||||
xTaskCreate(uart_task, (uint8_t const*)"uTask", 512, NULL, tskIDLE_PRIORITY + 2, &xUartTaskHandle);
|
||||
xTaskCreate(uart_task, (uint8_t const*)"uTask", 2048, NULL, tskIDLE_PRIORITY + 2, &xUartTaskHandle);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
gwen:
|
||||
crypto: 8943c89
|
||||
espnow: 8943c89
|
||||
core: 15348a7
|
||||
net80211: 68f6a7c
|
||||
pp: bdb3c08
|
||||
core: fdd8880
|
||||
net80211: fdd8880
|
||||
pp: fdd8880
|
||||
pwm: 0181338
|
||||
smartconfig:9ec59b5
|
||||
wpa: 8943c89
|
||||
wps: 8943c89
|
||||
wps: fdd8880
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -98,7 +98,7 @@ esp_err_t esp_event_loop_init(system_event_cb_t cb, void *ctx)
|
||||
s_event_queue = wifi_queue_create(32, sizeof(system_event_t));
|
||||
if(s_event_queue == NULL)
|
||||
return ESP_ERR_NO_MEM;
|
||||
if(wifi_task_create(esp_event_loop_task, "esp_event_loop_task", 512, NULL, 2) == NULL) {
|
||||
if(wifi_task_create(esp_event_loop_task, "esp_event_loop_task", 2048, NULL, 2) == NULL) {
|
||||
return ESP_ERR_NO_MEM;
|
||||
}
|
||||
s_event_handler_cb = cb;
|
||||
|
@ -103,7 +103,7 @@ void call_user_start(void)
|
||||
|
||||
wifi_os_init();
|
||||
|
||||
assert(wifi_task_create(user_init_entry, "uiT", 512, NULL, wifi_task_get_max_priority()) != NULL);
|
||||
assert(wifi_task_create(user_init_entry, "uiT", 2048, NULL, wifi_task_get_max_priority()) != NULL);
|
||||
|
||||
wifi_os_start();
|
||||
}
|
||||
|
@ -86,7 +86,7 @@
|
||||
#define configCPU_CLOCK_HZ ( ( unsigned long ) 80000000 )
|
||||
#define configTICK_RATE_HZ ( ( portTickType ) 100 )
|
||||
#define configMAX_PRIORITIES 15
|
||||
#define configMINIMAL_STACK_SIZE ( ( unsigned short )176 )
|
||||
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 768 )
|
||||
//#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 17 * 1024 ) )
|
||||
#define configMAX_TASK_NAME_LEN ( 16 )
|
||||
#define configUSE_TRACE_FACILITY 0
|
||||
@ -106,7 +106,7 @@
|
||||
#if configUSE_TIMERS
|
||||
#define configTIMER_TASK_PRIORITY ( tskIDLE_PRIORITY + 2 )
|
||||
#define configTIMER_QUEUE_LENGTH (10)
|
||||
#define configTIMER_TASK_STACK_DEPTH ( ( unsigned short ) 512 )
|
||||
#define configTIMER_TASK_STACK_DEPTH ( ( unsigned short ) 2048 )
|
||||
#endif
|
||||
|
||||
/* Co-routine definitions. */
|
||||
|
@ -387,8 +387,8 @@ endmenu # UDP
|
||||
|
||||
config TCPIP_TASK_STACK_SIZE
|
||||
int "TCP/IP Task Stack Size"
|
||||
default 512
|
||||
range 512 2048
|
||||
default 2048
|
||||
range 2048 8192
|
||||
help
|
||||
Configure TCP/IP task stack size, used by LWIP to process multi-threaded TCP/IP operations.
|
||||
Setting this stack too small will result in stack overflow crashes.
|
||||
|
Reference in New Issue
Block a user