1
0
-1

Hi all, I am try to follow this tutorial to program the OpenMote via usb.

http://www.openmote.com/blog/bootstrapping-the-openmote-platform.html

I have installed all dependencies. When I tried this command:

make TARGET=cc2538 all

I receive the following error:

 Variable BOARD is not set..

So, I looked in the code and found that I have to add it.

Then, I tried:

make TARGET=cc2538 BOARD=openmote-cc2538 all

 Now, I receive the following error:

Error! libcc2538.a does not exist..  Stop.

Any suggestions?

Regards,

Bruno.

 

 

    CommentAdd your comment...

    3 answers

    1.  
      3
      2
      1

      Bruno Oliveira, the OpenMote firmware is built around the CC2538 firmware provided by Texas Instruments. To avoid compiling it every time we have built a library (libcc2538.a). This is the part your are missing because you have not run the Python script to generate it. Please go to the platform/cc2538/libcc2538 directory and execute the following command 'python libcc2538.py'. This assumes that you have the arm-none-eabi-gcc toolchain in your PATH. After that there will be a 'libcc2538.a' file in the platform/cc2538 directory and you should be able to compile the example projects.

      Pere

        CommentAdd your comment...
      1.  
        2
        1
        0

        Bruno Oliveira, thank you for your question.

        I'll let Pere Tuset answer, as he has (I believe) written that code.

        Thomas

          CommentAdd your comment...
        1.  
          1
          0
          -1

          Thank you Thomas Watteyne and Pere Tuset. I appreciate your help.

          Regards,

          Bruno.

            CommentAdd your comment...