mDot EVB and Attolic TrueStudio
Tagged: Attolic mdot evb ide
- This topic has 9 replies, 2 voices, and was last updated 8 years, 6 months ago by Mike Fiore.
-
AuthorPosts
-
May 2, 2016 at 8:38 am #12365Adrian MitevskiParticipant
Could anyone of you tell me how i can program the mDot EVB inside Attolic using the libmDot. Btw. I’m using Windows. I would really appreciate if anyone could give some instructions what I have to do.
I tried to export the LoRaConnect Example from mBed Compiler as a zip file and added the files manually to a Project inside Attolic. But it doesn’t seem to work as the compiler can’t find a reference to mbed::mDot::getInstance().
May 2, 2016 at 8:43 am #12366Mike FioreBlockedHi Adrian,
What toolchain are you using? I’d guess GCC with Attolic.
If that’s the case, the reason your build is probably failing because the mbed exporter gave you the ARMCC build of the mDot library. Try replacing it with the GCC build, which can be found here
Version 1.0.8-1 of the mDot library is currently the latest release.
Hope this helps!
Cheers,
Mike
- This reply was modified 8 years, 6 months ago by Mike Fiore.
May 2, 2016 at 1:26 pm #12371Adrian MitevskiParticipantThanks for your answer.
Are there any instructions for Windows User I don’t have any Linux. I only got a .tar3 file if I extract the download file of the libmdot. What do I have to do with it?
May 2, 2016 at 1:32 pm #12373Mike FioreBlockedMay 2, 2016 at 2:20 pm #12383Adrian MitevskiParticipantHi Mike,
Thanks, I was able to extract and added the files to my project containing the other mbed related files. But I still get the same message undefined reference to mDot::getInstance(). I’m sure I added all the necessary include paths to the project properties. I’ve also chosen the GCC (ARM Embedded) Option when I exported the other mbed code from the mbed compiler.
Do you have any idea what could be wrong? Do you have any template projects for attolic that works?
May 2, 2016 at 2:29 pm #12385Mike FioreBlockedWe don’t have any templates, unfortunately.
Have you added the mDot library itself to your project in addition to the headers and other source files?
May 2, 2016 at 2:46 pm #12386Adrian MitevskiParticipantYes excactly. I’ve created a new source folder named libmDot and copied the extracted files into this folder. Then I added the necessary include paths for the newly added libmDot files.
I also did the same for the other files exported from mbed compiler before i added the libmDot.
- This reply was modified 8 years, 6 months ago by Adrian Mitevski.
May 2, 2016 at 3:23 pm #12391Mike FioreBlockedYou said you exported for GCC, but you never said what toolchain Attolic is using to compile. Is Attolic using GCC or something else?
May 3, 2016 at 1:53 am #12392Adrian MitevskiParticipantProperties>>C/C++ Build>>Tool Chain Editor>>
Current toolchain: Attolic ARM Tools
This means I’m not using GCC?
May 3, 2016 at 10:45 am #12394Mike FioreBlockedAdrian,
Based on the website, it sounds like they use GCC by default:
http://timor.atollic.com/truestudio/building/
That being said, we don’t support Atollic for the MTDOT-EVB. You might be able to get it to work, but we don’t have any guides or instructions.
A compromise might be to use Atollic to browse and edit your source code and then use the mbed SDK tools to build your application. We have a wiki page on mbed that explains how to use the mbed SDK tools:
https://developer.mbed.org/teams/MultiTech/wiki/Using-the-mbed-SDK-for-mDot-development
Cheers,
Mike
-
AuthorPosts
- You must be logged in to reply to this topic.