Closed momo1 closed 3 years ago
I had to add a CMakeLists.txt in iot-core/src/port/bsp/esp8266 for the code to compile.
target_sources(iotcore PRIVATE iot_bsp_debug_esp8266.c iot_bsp_fs_esp8266.c iot_bsp_nv_data_esp8266.c iot_bsp_random_esp8266.c iot_bsp_system_esp8266.c iot_bsp_wifi_esp8266.c )
Currently we're not using CMake for building ESP8266 apps. But we have plan to support CMake when ESP8266 BSP migrate to ESP-IDF.
Thanks.
I had to add a CMakeLists.txt in iot-core/src/port/bsp/esp8266 for the code to compile.