cmake: Fix SPIRAM options
This commit is contained in:
parent
88df8fd293
commit
bc1693aae3
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ else()
|
||||||
target_link_libraries(esp32 "-T esp32.peripherals.ld")
|
target_link_libraries(esp32 "-T esp32.peripherals.ld")
|
||||||
|
|
||||||
if(CONFIG_SPIRAM_CACHE_WORKAROUND)
|
if(CONFIG_SPIRAM_CACHE_WORKAROUND)
|
||||||
target_link_libraries(esp32 ${CMAKE_CURRENT_SOURCE_DIR}/libstdc++-psram-workaround.a)
|
add_compile_options(-mfix-esp32-psram-cache-issue)
|
||||||
else()
|
else()
|
||||||
target_link_libraries(esp32 "-T esp32.rom.spiram_incompatible_fns.ld")
|
target_link_libraries(esp32 "-T esp32.rom.spiram_incompatible_fns.ld")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue