feat(esp8266): Add ppT task stack size configuration

This commit is contained in:
Dong Heng
2018-09-13 13:44:09 +08:00
parent a10ebed0e8
commit f5c913ed4f
4 changed files with 12 additions and 1 deletions

View File

@ -110,6 +110,15 @@ config TASK_WDT_TIMEOUT_S
default 14 if TASK_WDT_TIMEOUT_14N
default 15 if TASK_WDT_TIMEOUT_15N
config WIFI_PPT_TASKSTACK_SIZE
int "ppT task stack size"
default 2048
range 2048 8192
help
Configure the "ppT task" stack size. This is the stack of the task
which calls promiscuous callback function. So if user's function is
complex, the stack must be set larger.
endmenu
menu WIFI

View File

@ -1,7 +1,7 @@
gwen:
core: 103fbb8
net80211: 103fbb8
pp: 103fbb8
pp: 760166c
smartconfig:103fbb8
wpa: 103fbb8
espnow: 103fbb8

Binary file not shown.

View File

@ -20,6 +20,8 @@
#include "net/sockio.h"
#include "phy.h"
const size_t _g_esp_wifi_ppt_task_stk_size = CONFIG_WIFI_PPT_TASKSTACK_SIZE;
esp_err_t esp_wifi_init_internal(const wifi_init_config_t *config);
/**