You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, There is an error here. When CONFIG_SPIRAM_CACHE_WORKAROUND is defined, the libc-psram-workaround.a and libm-psram-workaround.a libraries should be connected. However, libc.a and libm.a are now connected, which results in reading and writing errors in ESP32 of Revision 1 when using PSRAM (MBEDTLS_ERR_SSL_INVALID_MAC errors in the use of mbedtls). Can you imitate esp-idf/components/newlib/CMakeLists.txt:
if(CONFIG_SPIRAM_CACHE_WORKAROUND) set(LIBC c-psram-workaround) set(LIBM m-psram-workaround) else() if(CONFIG_NEWLIB_NANO_FORMAT) set(LIBC c_nano) else() set(LIBC c) endif() set(LIBM m) endif()
Thanks!
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi, There is an error here. When CONFIG_SPIRAM_CACHE_WORKAROUND is defined, the libc-psram-workaround.a and libm-psram-workaround.a libraries should be connected. However, libc.a and libm.a are now connected, which results in reading and writing errors in ESP32 of Revision 1 when using PSRAM (MBEDTLS_ERR_SSL_INVALID_MAC errors in the use of mbedtls). Can you imitate esp-idf/components/newlib/CMakeLists.txt:
if(CONFIG_SPIRAM_CACHE_WORKAROUND)
set(LIBC c-psram-workaround)
set(LIBM m-psram-workaround)
else()
if(CONFIG_NEWLIB_NANO_FORMAT)
set(LIBC c_nano)
else()
set(LIBC c)
endif()
set(LIBM m)
endif()
Thanks!
The text was updated successfully, but these errors were encountered: