Skip to content

Commit d90cad7

Browse files
committed
Merge branch 'bugfix/c5_newlib_reent_cleanup_fix' into 'master'
fix(newlib): fix stub_table init on C5 Closes IDF-9093 See merge request espressif/esp-idf!28647
2 parents 0e79083 + 4b89e52 commit d90cad7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

components/newlib/newlib_init.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,7 @@ static struct syscall_stub_table s_stub_table = {
129129
._printf_float = NULL,
130130
._scanf_float = NULL,
131131
#endif
132-
#if CONFIG_IDF_TARGET_ESP32S3 || CONFIG_IDF_TARGET_ESP32C3 \
133-
|| CONFIG_IDF_TARGET_ESP32C2 || CONFIG_IDF_TARGET_ESP32C6 || CONFIG_IDF_TARGET_ESP32H2 || CONFIG_IDF_TARGET_ESP32P4
132+
#if !CONFIG_IDF_TARGET_ESP32 && !CONFIG_IDF_TARGET_ESP32S2
134133
/* TODO IDF-2570 : mark that this assert failed in ROM, to avoid confusion between IDF & ROM
135134
assertion failures (as function names & source file names will be similar)
136135
*/

0 commit comments

Comments
 (0)