https_mbedtls_example: Add minimum free heap print in the example and

respective check in the example_test.py
This commit is contained in:
Aditya Patwardhan
2021-03-16 16:13:22 +05:30
parent be30289364
commit a06dbc11a7
2 changed files with 9 additions and 1 deletions

View File

@@ -249,6 +249,7 @@ static void https_get_task(void *pvParameters)
static int request_count;
ESP_LOGI(TAG, "Completed %d requests", ++request_count);
printf("Minimum free heap size: %d bytes\n", esp_get_minimum_free_heap_size());
for(int countdown = 10; countdown >= 0; countdown--) {
ESP_LOGI(TAG, "%d...", countdown);