Helloyotta sample link error


just setup the yotta compiler and other tools, and tried to build the first sample code helloyotta.

I received this link error:

mbed/helloyotta/yotta_modules/mbed-drivers/source/retarget.cpp:512: undefined reference to `app_start(int, char**).

is it a module bug or something else?

Looks like that example wasn’t updated when the app_start API changed (it no longer has C linkage).

I just committed the fix here: https://github.com/ARMmbed/helloyotta/blob/master/source/hello.cpp

Hi James,

your fix solves the problem. Appreciated. Thanks

no problem!