CMakeLists.txt 563 B

123456789101112
  1. idf_component_register( SRCS
  2. cmd_i2ctools.c
  3. cmd_nvs.c
  4. cmd_ota.c
  5. cmd_system.c
  6. cmd_wifi.c
  7. platform_console.c
  8. INCLUDE_DIRS .
  9. REQUIRES nvs_flash
  10. PRIV_REQUIRES console app_update tools services spi_flash platform_config vfs pthread wifi-manager platform_config newlib telnet display )
  11. target_link_libraries(${COMPONENT_LIB} "-Wl,--undefined=GDS_DrawPixelFast")
  12. target_link_libraries(${COMPONENT_LIB} ${build_dir}/esp-idf/$<TARGET_PROPERTY:RECOVERY_PREFIX>/lib$<TARGET_PROPERTY:RECOVERY_PREFIX>.a )