mDot EVB and Attolic TrueStudio

Home Forums mDot/xDot mDot EVB and Attolic TrueStudio

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #12365
    Adrian Mitevski
    Participant

    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().

    #12366
    Mike Fiore
    Blocked

    Hi 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

    Downloads

    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.
    #12371
    Adrian Mitevski
    Participant

    Thanks 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?

    #12373
    Mike Fiore
    Blocked

    Adrian,

    Try 7-Zip:

    http://www.7-zip.org/

    Cheers,

    Mike

    #12383
    Adrian Mitevski
    Participant

    Hi 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?

    #12385
    Mike Fiore
    Blocked

    We 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?

    #12386
    Adrian Mitevski
    Participant

    Yes 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.

    #12391
    Mike Fiore
    Blocked

    You said you exported for GCC, but you never said what toolchain Attolic is using to compile. Is Attolic using GCC or something else?

    #12392
    Adrian Mitevski
    Participant

    Properties>>C/C++ Build>>Tool Chain Editor>>

    Current toolchain: Attolic ARM Tools

    This means I’m not using GCC?

    #12394
    Mike Fiore
    Blocked

    Adrian,

    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

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.