diff options
author | Leo C | 2014-08-23 19:34:22 +0200 |
---|---|---|
committer | Leo C | 2014-08-23 19:34:22 +0200 |
commit | 61b0cfe9df810db4fbca78e5f880d61c5063f324 (patch) | |
tree | ec9b73a87afa5fdd90acc3c7309104399db104b7 /include/config.h | |
parent | 21a24f90c5aaaaf13f91716208b32cde163c5918 (diff) | |
download | z180-stamp-61b0cfe9df810db4fbca78e5f880d61c5063f324.zip |
Add date rtc i2c
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 08d97bd..91b1fae 100644 --- a/include/config.h +++ b/include/config.h @@ -12,6 +12,12 @@ //#define CONFIG_CMD_MEMTEST //#define CONFIG_MX_CYCLIC +#define CONFIG_CMD_DATE 1 + +#define CONFIG_SYS_I2C_RTC_ADDR 0x50 +#define CONFIG_SYS_I2C_BUFSIZE 64 +#define CONFIG_SYS_I2C_CLOCK 100000L /* 100kHz */ + #define CONFIG_SYS_CBSIZE 250 #define CONFIG_SYS_ENV_NAMELEN 16 #define CONFIG_SYS_MAXARGS 8 |