Menu

undefined reference to 'system_tick'

Gsmgbl
2014-08-12
2014-08-13
  • Gsmgbl

    Gsmgbl - 2014-08-12

    Hi, I am a beginner for RTOS and I started to import the freeRTOS with the MegaBlink sample. After compile, I have one error that I couldn't fix, which is undefined reference to 'system_tick'. I have the time.h in my project, but I still have the error. In addition, I found a file called system_tick.S, is this the function? how could i link this to my project. please advice detail. thank you.

     
  • Phillip Stevens

    Phillip Stevens - 2014-08-13

    I've tried compiling for both 328p and 2560 targets, using the standard Eclipse configuration, and not found any issues.

    Just check that this include file is present. Its absence might be your problem. I noted that you say it is present,

    /* system time include file. */
    #include "time.h"
    
     

    Last edit: Phillip Stevens 2014-08-13

Log in to post a comment.