
30 Jan
2008
30 Jan
'08
1:18 p.m.
hello,
when I choose to use DS1337, I add definitions in header file:
#define CONFIG_RTC_DS1337 #define CFG_I2C_RTC_ADDR 0x68
but, during making process, error appears:
rtc/librtc.a(ds1337.o): in function 'rtc_read': .../rtc/ds1337.c: 172: undefined reference to 'i2c_reg_read' rtc/librtc.a(ds1337.o): in function 'rtc_write': .../rtc/ds1337.c: 178: undefined reference tp 'i2c_reg_write'
how to solve this error?
thank you.
-lxg