From 4b89e5296497c2fea3a1e0b358663a711a1af57b Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Tue, 23 Jan 2024 18:05:53 +0800 Subject: [PATCH] fix(newlib): fix stub_table init on C5 --- components/newlib/newlib_init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/newlib/newlib_init.c b/components/newlib/newlib_init.c index b941aaa02f..b1e5c20b2a 100644 --- a/components/newlib/newlib_init.c +++ b/components/newlib/newlib_init.c @@ -129,8 +129,7 @@ static struct syscall_stub_table s_stub_table = { ._printf_float = NULL, ._scanf_float = NULL, #endif -#if CONFIG_IDF_TARGET_ESP32S3 || CONFIG_IDF_TARGET_ESP32C3 \ - || CONFIG_IDF_TARGET_ESP32C2 || CONFIG_IDF_TARGET_ESP32C6 || CONFIG_IDF_TARGET_ESP32H2 || CONFIG_IDF_TARGET_ESP32P4 +#if !CONFIG_IDF_TARGET_ESP32 && !CONFIG_IDF_TARGET_ESP32S2 /* TODO IDF-2570 : mark that this assert failed in ROM, to avoid confusion between IDF & ROM assertion failures (as function names & source file names will be similar) */