"make cooja" doesn't work inside pkg

Hi all,

I’m just making my very first steps in RIOT world these days. I have experiences with Contiki on Cooja but not with RIOT. So, I’m sorry if this is just a stupid question.

I want to get Cooja inside RIOT in order to try some example applications. As explained in https://github.com/RIOT-OS/RIOT/wiki/RIOT-and-Cooja , I tried make cooja inside the pkg directory but it returns with make: *** No rule to make target `cooja’. Stop.

Did you guys just remove the support for cooja inside pkg directory even though the wiki is not updated yet? or is there anything I missed?

Thank you for your patience :slight_smile:

Regards,

Asanka

I guess it is important to state that I have JDK 7 and ant installed and the JAVA_HOME variable is set properly. May be I’m running make cooja in the wrong place.

Hi Asanka, I don’t know much about cooja, but in general you have to build from an application, not from a module (or package). So go to an application in examples/ or tests/ or try one in our applications repository [1]. For more information on make and RIOT read the documentation [2].

Cheers, Martine

[1] https://github.com/RIOT-OS/applications [2] http://doc.riot-os.org/getting-started.html#compiling-riot

I guess it is important to state that I have JDK 7 and ant installed and the JAVA_HOME variable is set properly. May be I’m running make cooja in the wrong place.

Hi Martine,

Thank you so much for your response. I tried default example application by compiling it into native platform and also to telosb. Unfortunately since I don’t have many other types of motes, I thought a tool like cooja would help.

Regards,

Asanka

Hi Asanka, As far as I see the wiki page you were referring to isn’t really up to date. Due to lack of engagement of the contributor who originally imported it we closed the PR that originally was about to merge the functionality [1]. If you want to continue to work on this, feel free!

Cheers, Martine

[1] https://github.com/RIOT-OS/RIOT/pull/1921

Hi Asanka, alternatives that are in master could be use desvirt [1] or to get yourself an IoT-Lab account [2] and use their testbed [3].

[1] https://github.com/RIOT-OS/RIOT/blob/master/dist/tools/desvirt/README.desvirt.md [2] https://www.iot-lab.info/ [3] https://github.com/RIOT-OS/RIOT/blob/master/dist/testbed-support/README.iotlab.md

Dear Martine,

Desvirt looks interesting to try riot applications. I will try that.

thanks.

regards, Asanka