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

About CONFIG_SPIRAM_CACHE_WORKAROUND #2080

Closed
xiruilin opened this issue Nov 19, 2018 · 2 comments
Closed

About CONFIG_SPIRAM_CACHE_WORKAROUND #2080

xiruilin opened this issue Nov 19, 2018 · 2 comments
Labels
Status: Stale Issue is stale stage (outdated/stuck)

Comments

@xiruilin
Copy link

xiruilin commented Nov 19, 2018

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!

@stale
Copy link

stale bot commented Aug 1, 2019

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.

@stale stale bot added the Status: Stale Issue is stale stage (outdated/stuck) label Aug 1, 2019
@stale
Copy link

stale bot commented Aug 15, 2019

This stale issue has been automatically closed. Thank you for your contributions.

@stale stale bot closed this as completed Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Stale Issue is stale stage (outdated/stuck)
Projects
None yet
Development

No branches or pull requests

1 participant