mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-08-05 22:11:04 +08:00
feat(freertos): add feature to modify task stack deepth dynamically
This commit is contained in:
@ -139,6 +139,12 @@ static void openssl_task(void *p)
|
||||
|
||||
ESP_LOGI(TAG, "OK");
|
||||
|
||||
#if configENABLE_TASK_MODIFY_STACK_DEPTH == 1
|
||||
ESP_LOGI(TAG, "Before modification stack depth of this thread, free heap size is %u", esp_get_free_heap_size());
|
||||
vTaskModifyStackDepth(NULL, 2048);
|
||||
ESP_LOGI(TAG, "After modification stack depth of this thread, free heap size is %u", esp_get_free_heap_size());
|
||||
#endif
|
||||
|
||||
ESP_LOGI(TAG, "send request to %s port %d ......", OPENSSL_DEMO_TARGET_NAME, OPENSSL_DEMO_TARGET_TCP_PORT);
|
||||
ret = SSL_write(ssl, send_data, send_bytes);
|
||||
|
||||
|
Reference in New Issue
Block a user