SmartThingsCommunity / st-device-sdk-c

SmartThings SDK for Direct Connected Devices for C
Other
118 stars 126 forks source link

Missing CMakeLists for ESP8266 #58

Closed momo1 closed 3 years ago

momo1 commented 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
        )
Kwang-Hui commented 3 years ago

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.