feat(http): Modify for esp8266

This commit is contained in:
yuanjm
2020-08-07 11:47:43 +08:00
parent 9ea5d2abe7
commit 08a4fe0d61
7 changed files with 19 additions and 6 deletions

View File

@ -647,7 +647,7 @@ static void http_test_task(void *pvParameters)
void app_main(void)
{
esp_err_t ret = nvs_flash_init();
if (ret == ESP_ERR_NVS_NO_FREE_PAGES || ret == ESP_ERR_NVS_NEW_VERSION_FOUND) {
if (ret == ESP_ERR_NVS_NO_FREE_PAGES) {
ESP_ERROR_CHECK(nvs_flash_erase());
ret = nvs_flash_init();
}

View File

@ -0,0 +1,3 @@
CONFIG_NEWLIB_LIBRARY_LEVEL_NORMAL=y
CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=1024
CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=16384