This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi all and happy new year,
I've followed this guide on which is explained how to use eclipse to write code over contiki os. (stackoverflow.com/.../contiki-eclipse-on-windows)
I found very difficult to understand dependencies and find where is every thing in contiki examples folder structure, so use an IDE helps a lot.
Hovewer since I can compile binaries correctly, there are many definitions and functions that are not recognized yet.
I've added this project path in the eclipse project options "C:\Cygwin\home\Eduardo\contiki\core" which refers to contiki core folder in my PC.
Almost every warnings have disapeared and I can jump using "Open declaration" in more code elements but there still are some unidentified.
Any of you are using this method to work and could help me to add the remaining paths?
Also I found this doxygen doccumentation (contiki.sourceforge.net/.../), but if you could link me more ressources to learn Contiki I'll be very grateful.
Yes I've build it on Eclipse, but in fact it's using gcc compiler installed on Cygwin. The projects are imported as makefile projects.
The focus of using eclipse is to be able to take advantage of the features offered by an IDE for code editing.
---
I'm still digging.
For instance with CLOCK_SECOND that can't be resolved, I know it's defined on "...contiki/core/sys/clock.h".
The path points to "...contiki/core" which have "contiki.h", and contiki.h have an include of "sys/clock.h"
I've tried to add "...contiki/core/sys" path but CLOCK_SECOND still remain unresolved.
Hi Eduardo,
Were you able to resolved the not resolved issue?
I'm facing the same issue with CLOCK_SECOND, but I'm using Eclipse inside ubuntu instead.
thanks and best regards,
Cristiano