projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add definitions for 24C32, 24C64 and 24C128 eeproms. Use the right eeprom type.
[bertos.git]
/
bertos
/
drv
/
eeprom.h
diff --git
a/bertos/drv/eeprom.h
b/bertos/drv/eeprom.h
index ef6c58c952100e42feb733ba3f758e21cbfcda8a..accbba6f83eb88365f4b5446b2e8ab1b7e512b8e 100644
(file)
--- a/
bertos/drv/eeprom.h
+++ b/
bertos/drv/eeprom.h
@@
-36,7
+36,8
@@
* \author Bernie Innocenti <bernie@codewiz.org>
*
* $WIZ$ module_name = "eeprom"
* \author Bernie Innocenti <bernie@codewiz.org>
*
* $WIZ$ module_name = "eeprom"
- * $WIZ$ module_depends = "kfile", "i2c"
+ * $WIZ$ module_configuration = "bertos/cfg/cfg_eeprom.h"
+ * $WIZ$ module_depends = "kfile", "kfile_block", "kblock", "i2c"
*/
#ifndef DRV_EEPROM_H
*/
#ifndef DRV_EEPROM_H
@@
-71,6
+72,9
@@
typedef enum EepromType
{
EEPROM_24XX08,
EEPROM_24XX16,
{
EEPROM_24XX08,
EEPROM_24XX16,
+ EEPROM_24XX32,
+ EEPROM_24XX64,
+ EEPROM_24XX128,
EEPROM_24XX256,
EEPROM_24XX512,
EEPROM_24XX1024,
EEPROM_24XX256,
EEPROM_24XX512,
EEPROM_24XX1024,