mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-12-15 10:17:49 +08:00
feat(make): Sync code from esp-idf and modify for ESP8266
Commit ID: f6bfe13e
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
set(COMPONENT_SRCDIRS cJSON)
|
||||
set(COMPONENT_ADD_INCLUDEDIRS cJSON)
|
||||
|
||||
set(COMPONENT_REQUIRES "")
|
||||
set(COMPONENT_REQUIRES newlib)
|
||||
|
||||
register_component()
|
||||
|
||||
if(CONFIG_NEWLIB_LIBRARY_LEVEL_NORMAL)
|
||||
target_compile_definitions(${COMPONENT_NAME} PRIVATE -D CJSON_SPRINTF_FLOAT=1)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user