Hello all,
I have been trying to compile an MQX application alongside a BSP and PSP that supports IRTC for MQX 3.8 on my MCF52258 custom board.
I am using the irtc_mcf5xxx.h library inside of my BSP and it compiles fine.
Any time I attempt to call _rtc_set_time from my application, I get a linker error:
Description Resource Path Location Type
Undefined : "_rtc_set_time(rtc_time_struct*)" Referenced from "initializeApplication()" in app_NGUC_SingleBoard_52258 C/C++ Problem
Does anyone know why I might be experiencing problems?
Thanks
Solved! Go to Solution.
Hello Cathy Mencsik,
does your application includes bsp.h ? Does your custom bsp contain rtc source code ? Bsp header should includes
#include <rtc_mcf52xx.h>
#include <rtc.h>
where are declaration of rtc functions.
Regards,
c0170
Hello Cathy Mencsik,
does your application includes bsp.h ? Does your custom bsp contain rtc source code ? Bsp header should includes
#include <rtc_mcf52xx.h>
#include <rtc.h>
where are declaration of rtc functions.
Regards,
c0170