From 554380cfb5089875332ca6bf2114f12071fadba0 Mon Sep 17 00:00:00 2001 From: mikee47 Date: Mon, 24 Jun 2024 16:42:57 +0100 Subject: [PATCH] Don't use ROM time functions, they're 32-bit only --- Sming/Arch/Esp32/Components/esp32/component.mk | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/Sming/Arch/Esp32/Components/esp32/component.mk b/Sming/Arch/Esp32/Components/esp32/component.mk index 8a78673a58..586ffbe0f7 100644 --- a/Sming/Arch/Esp32/Components/esp32/component.mk +++ b/Sming/Arch/Esp32/Components/esp32/component.mk @@ -350,14 +350,12 @@ LDFLAGS_esp32 := \ $(call LinkerScript,rom.newlib-funcs) \ $(call LinkerScript,rom.newlib-data) \ $(call LinkerScript,rom.syscalls) \ - $(call LinkerScript,rom.newlib-time) \ $(call LinkerScript,rom.eco3) LDFLAGS_esp32s2 := \ $(call LinkerScript,rom.newlib-funcs) \ $(call LinkerScript,rom.newlib-data) \ - $(call LinkerScript,rom.spiflash) \ - $(call LinkerScript,rom.newlib-time) \ + $(call LinkerScript,rom.spiflash) LDFLAGS_esp32c3 := \ $(call LinkerScript,rom.newlib) \ @@ -366,8 +364,7 @@ LDFLAGS_esp32c3 := \ LDFLAGS_esp32s3 := \ $(call LinkerScript,rom.newlib) \ - $(call LinkerScript,rom.version) \ - $(call LinkerScript,rom.newlib-time) + $(call LinkerScript,rom.version) LDFLAGS_esp32c2 := \ $(call LinkerScript,rom.newlib) \ @@ -375,11 +372,6 @@ LDFLAGS_esp32c2 := \ $(call LinkerScript,rom.heap) \ $(call LinkerScript,rom.mbedtls) -ifneq (v5.2,$(IDF_VERSION)) -LDFLAGS_esp32c2 += \ - $(call LinkerScript,rom.newlib-time) -endif - SDK_WRAP_SYMBOLS := SDK_UNDEF_SYMBOLS :=