mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-05 05:01:54 +08:00
feat(http): Modify for esp8266
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
3
examples/protocols/esp_http_client/sdkconfig.defaults
Normal file
3
examples/protocols/esp_http_client/sdkconfig.defaults
Normal 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
|
Reference in New Issue
Block a user