Hi all, I am try to follow this tutorial to program the OpenMote via usb.
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.
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.
Bruno Oliveira, thank you for your question.
I'll let Pere Tuset answer, as he has (I believe) written that code.
Thank you Thomas Watteyne and Pere Tuset. I appreciate your help.