projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set EMBEDDED_TARGET=0 on config.mk for compiling the demo app
[bertos.git]
/
bertos
/
drv
/
eeprom.c
diff --git
a/bertos/drv/eeprom.c
b/bertos/drv/eeprom.c
index 4e7f615fe6068e8589a35482d4ecd6aa4f2c1cf1..baaff4e34ee1524520ac4325e97067db4e18a543 100644
(file)
--- a/
bertos/drv/eeprom.c
+++ b/
bertos/drv/eeprom.c
@@
-32,7
+32,6
@@
*
* \brief Driver for the 24xx16 and 24xx256 I2C EEPROMS (implementation)
*
*
* \brief Driver for the 24xx16 and 24xx256 I2C EEPROMS (implementation)
*
- * \note This implementation is AVR specific.
*
* \version $Id$
* \author Stefano Fedrigo <aleph@develer.com>
*
* \version $Id$
* \author Stefano Fedrigo <aleph@develer.com>
@@
-41,12
+40,18
@@
#include "eeprom.h"
#include "eeprom.h"
-#include <cfg/debug.h>
-#include <appconfig.h> // CONFIG_EEPROM_VERIFY
+#warning TODO:Test and complete this module for arm platform.
+
+#if 0
+#include "cfg/cfg_eeprom.h" // CONFIG_EEPROM_VERIFY
#include <cfg/macros.h> // MIN()
#include <cfg/macros.h> // MIN()
+#include <cfg/debug.h>
+
#include <cpu/attr.h>
#include CPU_HEADER(twi)
#include <cpu/attr.h>
#include CPU_HEADER(twi)
+
#include <drv/wdt.h>
#include <drv/wdt.h>
+
#include <mware/byteorder.h> // cpu_to_be16()
#include <string.h> // memset()
#include <mware/byteorder.h> // cpu_to_be16()
#include <string.h> // memset()
@@
-339,3
+344,4
@@
void eeprom_test(void)
}
#endif // _DEBUG
}
#endif // _DEBUG
+#endif