project_include.cmake 405 B

12345678
  1. if(CONFIG_SPIRAM_CACHE_WORKAROUND)
  2. # We do this here as well as in CMakeLists.txt, because targets that
  3. # are not part of the ESP-IDF build system (for cases where a generic
  4. # non-IDF CMakeLists.txt file is imported into a component) don't depend
  5. # on the esp32 component so don't get the extra flag. This handles that case.
  6. add_compile_options(-mfix-esp32-psram-cache-issue)
  7. endif()