Hi I want to use rtc in cmsis but I faced with this error would you please help me linking... flash_fs.axf: Error: L6218E: Undefined symbol CLKPWR_ConfigPPWR (referred from lpc17xx_rtc.o). flash_fs.axf: Error: L6218E: Undefined symbol check_failed (referred from lpc17xx_rtc.o).
If you are not getting any errors, that means the compilation is ok. (to "Translate" press "Ctrl+F7" _Shortcut keys_)
Now, "CLKPWR_ConfigPPWR" is a function called from your "lpc17xx_rtc.c" file, but the linker is unable to find the function (in the "lpc17xx_rtc.c" file).
i m sure that the function is defined in some other file. may be "lpc17xx_clkpwr.c" file!!
so how do you tell(inform) the linker that the function code exists in some other file?
thanks I Add "lpc17xx_clkpwr.c" file to my project so, I don't face with that error but I have 1 error yet linking... flash_fs.axf: Error: L6218E: Undefined symbol check_failed (referred from lpc17xx_rtc.o).
I'm found it!!!
check_failed function is in "lpc17xx_libcfg_default.c"
thanks in advanced