MCF54418, CW 3.8, CW 10.2
I am having a problem where code warrior is saying that functions from the BSP are undefined, though it compiles fine. This is only happening with the real time clock module in particular. What I am really lost on is that it is able to build the sample RTC project provided by freescale, but is unable to build in my own project, the error output and calling code are below
C:/Freescale/CW MCU v10.2/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
>Undefined : "_rtc_init(unsigned long)"
>Referenced from "initRTC()" in
C:/Freescale/CW MCU v10.2/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
>Undefined : "_rtc_int_enable(unsigned long,unsigned long)"
>Referenced from "initRTC()" in
int initRTC() { int temp = _rtc_init(RTC_INIT_FLAG_ENABLE); //install our interrupt install_interrupt(); _rtc_int_enable (TRUE, RTC_INT_MIN_MASK); return temp; }
Added error for other part Message was edited by: Kevin Davis