CMakeLists.txt 477 B

12345678910111213141516
  1. # the JPEG library is in ROM but seems to fail randomly (PSRAM issue?)
  2. set(TJPGD tjpgd)
  3. idf_component_register(SRC_DIRS . core core/ifaces fonts
  4. INCLUDE_DIRS . fonts core
  5. REQUIRES platform_config tools esp_common
  6. PRIV_REQUIRES services freertos driver ${TJPGD}
  7. EMBED_FILES note.jpg )
  8. if (NOT TJPGD)
  9. add_compile_definitions(TJPGD_ROM)
  10. endif()
  11. set_source_files_properties(display.c
  12. PROPERTIES COMPILE_FLAGS
  13. -Wno-format-overflow )