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.

#include "time.h"

Other Parts Discussed in Thread: Z-STACK

i'm building a new application on the base of the genericApp. the IAR embedded workbench, in linking phase, don'let me include the library time.h .... (i'm using the CLIB runtime environment).  how can i do??

  • Hi renzo,

    What Z-Stack package are you working with? For example, ZStack-CC2430-1.4.3?

     

  • i'm working with the package ZStack-1.4.3-1.2.1 .....

  • I searched for the IAR Embedded Workbench Help for references to <time.h>. It indicates that <time.h> is only supported in DLIB configurations.

    To test this, at line 82 of the GenericApp.c source file, I added #include <time.h> and compiled the file with the default configuration (CLIB) -- this produced the error message "Fatal Error[Pe005]: could not open source file "time.h". Then, I changed the Library option (General Options->Library Configuration) to Normal DLIB, and compiled with no errors.

  • Hi renzo,

    Can you help me about the cc 2430 db and the tempearture application

    I'm using the cc2430db and i want to send the temperature value from an end device to the coordinator every 4 hours.

    can you describe me what had you made your application

    thank in advance

    Best regards

    Oussama