Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't use Esp32 ROM time functions, they're 32-bit only #2835

Merged
merged 1 commit into from
Jun 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions Sming/Arch/Esp32/Components/esp32/component.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand All @@ -366,20 +364,14 @@ 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) \
$(call LinkerScript,rom.version) \
$(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 :=

Expand Down
Loading