Compile error with ESP8266 SDK in KAA 0.10.0

后端 未结 1 1505
忘了有多久
忘了有多久 2021-01-26 01:16

I have built the ESP8266 SDK according to this document.

But the compile report shows the error below. Attachemnt is the ld file. Would you please help me to resolve it?

1条回答
  •  梦毁少年i
    2021-01-26 01:43

    To build the C SDK application correctly for the ESP8266 platform, disable the Encryption feature with -DWITH_ENCRYPTION=OFF CMake command line argument.

    Furthermore, disable unused SDK extensions. For example, to disable the notification extension, you should pass the -DWITH_EXTENSION_NOTIFICATION=OFF to CMake. For more information about C SDK build configuration, see this file -- https://github.com/kaaproject/kaa/blob/master/client/client-multi/client-c/CMakeLists.txt

    Also, don't forget to pass the -DCMAKE_BUILD_TYPE=MinSizeRel to CMake so that the resulting executable will be optimized for size.

    0 讨论(0)
提交回复
热议问题