Recently I am working on Contiki
and cc2530dk
.
What I want to do is to run Contiki
on cc2530dk
. As far as I know, I need to make
a hex file, and then burn it to cc2530dk
. However, I meet trouble in making a hex file for hello-world.
I download InstantContiki-2.6
, and run in VMware
. Then I changed directory to contiki-sensinode-cc-ports
from here.
I can run make
in examples/hello-world/
. But I don't know how to create hex file. I tried:
make TARGET=cc2530dk
but failed. I got Error:
make: sdcc: Command not found
make: *** [obj_cc2530dk/rimeaddr.rel] Error 127
What I want to do is: run contiki
on cc2530dk
.
You must install the Small Device C Compiler (SDCC). To do that, follow this guide from Contiki wiki.