Merge branch 'bugfix/fix_vfs_uart_noinit_by_using_fnano_newlib' into 'master'

newlib: fix some initialization function is not done when using float nano newlib

See merge request sdk/ESP8266_RTOS_SDK!1070
This commit is contained in:
Dong Heng
2019-08-29 11:40:22 +08:00
6 changed files with 32 additions and 42 deletions

View File

@ -34,7 +34,7 @@
#include "FreeRTOS.h"
#include "task.h"
#if defined(CONFIG_NEWLIB_LIBRARY_LEVEL_NORMAL) || defined(CONFIG_NEWLIB_LIBRARY_LEVEL_NANO)
#ifndef CONFIG_NEWLIB_LIBRARY_CUSTOMER
#include "esp_newlib.h"
#endif
@ -163,7 +163,7 @@ void call_start_cpu(size_t start_addr)
assert(__esp_os_init() == 0);
#endif
#if defined(CONFIG_NEWLIB_LIBRARY_LEVEL_NORMAL) || defined(CONFIG_NEWLIB_LIBRARY_LEVEL_NANO)
#ifndef CONFIG_NEWLIB_LIBRARY_CUSTOMER
esp_newlib_init();
#endif