projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update to new name.
[bertos.git]
/
bertos
/
drv
/
eeprom.c
diff --git
a/bertos/drv/eeprom.c
b/bertos/drv/eeprom.c
index 4e7f615fe6068e8589a35482d4ecd6aa4f2c1cf1..7caac605ff3981b405d79a60e8693ac33e80219b 100644
(file)
--- a/
bertos/drv/eeprom.c
+++ b/
bertos/drv/eeprom.c
@@
-32,22
+32,27
@@
*
* \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>
- * \author Bern
ardo Innocenti <bernie@develer.com
>
+ * \author Bern
ie Innocenti <bernie@codewiz.org
>
*/
#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 <cpu/byteorder.h> // cpu_to_be16()
#include <string.h> // memset()
#include <string.h> // memset()
@@
-339,3
+344,4
@@
void eeprom_test(void)
}
#endif // _DEBUG
}
#endif // _DEBUG
+#endif