MultiTech's official mbed team.

xDot on PlatformIO

26 May 2017

I have been trying to use the platformio ide with the xDot, everything works until I actually attempt to use one of the examples, it can't seem to link with anything:

Linking .pioenvs/xdot_l151cc/firmware.elf
.pioenvs/xdot_l151cc/src/main.o: In function `main':
main.cpp:(.text.startup.main+0x16): undefined reference to `mDot::getInstance()'
main.cpp:(.text.startup.main+0x24): undefined reference to `mDot::getId()'
main.cpp:(.text.startup.main+0x30): undefined reference to `mts::MTSLog::printMessage(int, char const*, ...)'

My ini is such:

[env:xdot_l151cc]
platform = ststm32
board = xdot_l151cc
framework = mbed
lib_deps = libxDot
upload_port = /Volumes/XDOT