Bugfix: use libc-psram-workaround.a instead of libg-psram-workaround.a

libg-psram-workaround.a causes some errors
This commit is contained in:
Amir Gonnen 2020-10-13 00:27:08 +03:00
parent 59334c0731
commit b1276905f1

View File

@ -315,7 +315,7 @@ MPY_CROSS_FLAGS += -march=xtensawin
# Enable SPIRAM support if CONFIG_ESP32_SPIRAM_SUPPORT=y in sdkconfig
ifeq ($(CONFIG_ESP32_SPIRAM_SUPPORT),y)
CFLAGS_COMMON += -mfix-esp32-psram-cache-issue
LIBC_LIBM = $(ESPCOMP)/newlib/lib/libg-psram-workaround.a $(ESPCOMP)/newlib/lib/libm-psram-workaround.a
LIBC_LIBM = $(ESPCOMP)/newlib/lib/libc-psram-workaround.a $(ESPCOMP)/newlib/lib/libm-psram-workaround.a
else
# Additional newlib symbols that can only be used with spiram disabled.
ifeq ($(ESPIDF_CURHASH),$(ESPIDF_SUPHASH_V4))