I updated esp-idf on 4 June 2018 from a version on the 22 March 2018 and found the tasks I start the stacks are much smaller. I have seen this before but can't remember between which versions.
Why would the EPS tasks like esp_timer or wifi not be affected but my initiated task stacks are 800 bytes or more smaller. I got stack overflow detection's and had to increase the stack sizes across most of my tasks.
For example the first decode_thread was from esp-idf 22/3/2018 and the second from 4/6/2018:
Code: Select all
Name State Priority Stack Num
22/3/2018
decode_thread R 5 2268 14
esp_timer B 22 1972 1
wifi B 23 1912 21
Code: Select all
4/6/2018
decode_thread R 5 220 14
esp_timer B 22 1892 1
wifi B 23 1884 21
CONFIG_BOOTLOADER_FACTORY_RESET=
CONFIG_BOOTLOADER_APP_TEST=
CONFIG_WARN_WRITE_STRINGS=
CONFIG_ADC_FORCE_XPD_FSM=
CONFIG_ADC2_DISABLE_DAC=y
CONFIG_ESP32_DEBUG_STUBS_ENABLE=
CONFIG_ESP_ERR_TO_NAME_LOOKUP=
CONFIG_ESP32_WIFI_CSI_ENABLED=
CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_0=y
CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_1=
CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS=
CONFIG_FATFS_API_ENCODING_ANSI_OEM=y
CONFIG_FATFS_API_ENCODING_UTF_16=
CONFIG_FATFS_API_ENCODING_UTF_8=
CONFIG_USE_ONLY_LWIP_SELECT=
Any help will be appreciated.
Regards,
Charles