@@ -156,11 +156,13 @@ REGISTRATION_FUNCTIONS = \
156156 -u __ubsan_include \
157157 -u esp_system_include_startup_funcs \
158158 -u esp_efuse_startup_include_func \
159- -u newlib_include_heap_impl \
160- -u newlib_include_syscalls_impl \
161- -u newlib_include_pthread_impl \
162- -u newlib_include_assert_impl \
163- -u newlib_include_init_funcs \
159+ -u esp_libc_include_heap_impl \
160+ -u esp_libc_include_reent_syscalls_impl \
161+ -u esp_libc_include_syscalls_impl \
162+ -u esp_libc_include_pthread_impl \
163+ -u esp_libc_include_assert_impl \
164+ -u esp_libc_include_getentropy_impl \
165+ -u esp_libc_include_init_funcs \
164166 -u include_esp_phy_override \
165167 -u vfs_include_syscalls_impl
166168
@@ -222,7 +224,6 @@ else ifeq ($(IDF_TARGET_ARCH),riscv)
222224 -Trom.api.ld
223225endif
224226
225- $(BUILD ) /lib/tlsf/tlsf.o : CFLAGS += -Wno-cast-align
226227
227228LDFLAGS += $(CFLAGS ) -Wl,-nostdlib -Wl,-Map=$@ .map -Wl,-cref -Wl,--undefined=uxTopUsedPriority
228229
@@ -782,7 +783,7 @@ endif
782783
783784IDF_CMAKE_TARGETS = \
784785 bootloader/bootloader.bin \
785- esp-idf/esp_system/ __ldgen_output_sections.ld \
786+ __ldgen_output_sections.ld \
786787 $(foreach component, $(ESP_IDF_COMPONENTS_LINK ) , esp-idf/$(component ) /lib$(component ) .a)
787788
788789PARTITION_TABLE_OFFSET = 0x8000
0 commit comments