Exporting mbedOS projects for KDS

13 Oct 2016

Hi all, i'm using mbed Classic (mbed Libraries, or how you want to call it) from about 1 year and now, with mbed 5.0 release it's time to upgrade myself. So, i tried to do something with mbedOS with online compiler and all works fine (i don't understand how to import mbed-os from Import Wizard but it's ok...). This morning i tried to export an mbedOS project for Kinetis Design Studio (my favourite IDE) and...nothing works! Seems that GCC try to compile some features (like IPV6, CLIENT etc...) that are not supported from my board (FRDM-K64F) and that have not the include paths in the project.

an example of compilation error

In file included from ../mbed-os/features/net/FEATURE_IPV6/mbed-mesh-api/source/AbstractMesh.cpp:25:0:
../mbed-os/features/net/FEATURE_IPV6/mbed-mesh-api/source/include/mesh_system.h:19:22: fatal error: ns_types.h: No such file or directory
 #include "ns_types.h"
                      ^
compilation terminated.

How can i fix it without having to manually patch every line of include paths in compiler's settings?

Thank you and have a good day!

25 Nov 2016

Hi Francesco Did you find a work around?

17 Dec 2016

Having the same problems (Windows 10, 64Bit, Kinetis, FRDM-K64F) with mbed-os Blinky export. First set some includes: /${ProjName}/mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/include

/${ProjName}/mbed-os/features/FEATURE_COMMON_PAL/nanostack-libservice/mbed-client-libservice

/${ProjName}/mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/test/unit

Also set MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE to 9600 in two files.

But than a huge number of error on unknown references occurs.