File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
components/newlib/test_apps/newlib/main Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,8 @@ static bool fn_in_rom(void *fn)
131131/* Older chips have newlib nano in rom as well, but this is not linked in due to us now using 64 bit time_t
132132 and the ROM code was compiled for 32 bit.
133133 */
134- #define PRINTF_NANO_IN_ROM (CONFIG_NEWLIB_NANO_FORMAT && (CONFIG_IDF_TARGET_ESP32C2 || CONFIG_IDF_TARGET_ESP32H21))
134+ #define PRINTF_NANO_IN_ROM (CONFIG_NEWLIB_NANO_FORMAT && ESP_ROM_HAS_NEWLIB_NANO_FORMAT && !ESP_ROM_HAS_NEWLIB_32BIT_TIME && !ESP_ROM_HAS_NEWLIB_NANO_PRINTF_FLOAT_BUG)
135+
135136#define SSCANF_NANO_IN_ROM (CONFIG_NEWLIB_NANO_FORMAT && CONFIG_IDF_TARGET_ESP32C2)
136137
137138TEST_CASE ("check if ROM or Flash is used for functions" , "[newlib]" )
You can’t perform that action at this time.
0 commit comments