Skip to content

Commit aeb5bac

Browse files
committed
Remove *.rom.newlib-time.ld from link of esp32, esp32c3, and esp32s2 to resolve newlib stat struct mismatch.
1 parent 22519d8 commit aeb5bac

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ports/espressif/Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ ifeq ($(IDF_TARGET),esp32)
242242
LDFLAGS += \
243243
-Tesp32.rom.newlib-data.ld \
244244
-Tesp32.rom.newlib-funcs.ld \
245-
-Tesp32.rom.newlib-time.ld \
246245
-Tesp32.rom.spiflash_legacy.ld
247246

248247
CHIP_COMPONENTS = \
@@ -265,7 +264,6 @@ CHIP_COMPONENTS = \
265264
else ifeq ($(IDF_TARGET),esp32c3)
266265
LDFLAGS += \
267266
-Tesp32c3.rom.newlib.ld \
268-
-Tesp32c3.rom.newlib-time.ld \
269267
-Tesp32c3.rom.version.ld \
270268
-Tesp32c3.rom.eco3.ld \
271269
-Tesp32c3.rom.bt_funcs.ld
@@ -312,7 +310,6 @@ else ifeq ($(IDF_TARGET),esp32s2)
312310
LDFLAGS += \
313311
-Tesp32s2.rom.newlib-data.ld \
314312
-Tesp32s2.rom.newlib-funcs.ld \
315-
-Tesp32s2.rom.newlib-time.ld \
316313
-Tesp32s2.rom.spiflash_legacy.ld
317314

318315
CHIP_COMPONENTS = \

0 commit comments

Comments
 (0)