mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-25 19:17:23 +08:00
fix(newlib): fix some initialization function is not done when using float-nano newlib and VFS
Using option "NEWLIB_LIBRARY_CUSTOMER" instead of "NEWLIB_ENABLE".
This commit is contained in:
@ -42,7 +42,7 @@ extern "C" {
|
||||
#include "xtensa_rtos.h"
|
||||
|
||||
#if defined(configUSE_NEWLIB_REENTRANT) && configUSE_NEWLIB_REENTRANT == 1
|
||||
#if defined(CONFIG_NEWLIB_LIBRARY_LEVEL_NORMAL) || defined(CONFIG_NEWLIB_LIBRARY_LEVEL_NANO)
|
||||
#ifndef CONFIG_NEWLIB_LIBRARY_CUSTOMER
|
||||
#include "esp_newlib.h"
|
||||
|
||||
#define _impure_ptr _global_impure_ptr
|
||||
|
Reference in New Issue
Block a user