mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/psram_newlib_time_rom' into 'release/v4.4'
rom: fix newlib time ROM functions being regardless of CONFIG_SPIRAM_CACHE_WORKAROUND (v4.4) See merge request espressif/esp-idf!23003
This commit is contained in:
commit
173676ea8d
@ -28,12 +28,6 @@ ifdef CONFIG_NEWLIB_NANO_FORMAT
|
||||
LINKER_SCRIPTS += esp32.rom.newlib-nano.ld
|
||||
endif
|
||||
|
||||
endif #CONFIG_SPIRAM_CACHE_WORKAROUND
|
||||
|
||||
ifndef CONFIG_SPI_FLASH_ROM_DRIVER_PATCH
|
||||
LINKER_SCRIPTS += esp32.rom.spiflash.ld
|
||||
endif
|
||||
|
||||
ifndef CONFIG_SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS
|
||||
# If SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS option is defined
|
||||
# then all time functions from the ROM memory will not be linked.
|
||||
@ -41,6 +35,13 @@ ifndef CONFIG_SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS
|
||||
LINKER_SCRIPTS += esp32.rom.newlib-time.ld
|
||||
endif
|
||||
|
||||
endif #CONFIG_SPIRAM_CACHE_WORKAROUND
|
||||
|
||||
ifndef CONFIG_SPI_FLASH_ROM_DRIVER_PATCH
|
||||
LINKER_SCRIPTS += esp32.rom.spiflash.ld
|
||||
endif
|
||||
|
||||
|
||||
COMPONENT_ADD_LDFLAGS += -L $(COMPONENT_PATH)/esp32/ld \
|
||||
$(addprefix -T ,$(LINKER_SCRIPTS))
|
||||
ifndef IS_BOOTLOADER_BUILD
|
||||
|
Loading…
x
Reference in New Issue
Block a user