reduced default sizes

This commit is contained in:
nvt-se 2008-10-09 14:56:53 +00:00
parent 6ecffb0592
commit aff141f56e
2 changed files with 4 additions and 4 deletions

View File

@ -49,11 +49,11 @@
#define COFFEE_START CFS_EEPROM_CONF_OFFSET #define COFFEE_START CFS_EEPROM_CONF_OFFSET
#define COFFEE_SIZE ((32 kb) - COFFEE_START) #define COFFEE_SIZE ((32 kb) - COFFEE_START)
#define COFFEE_NAME_LENGTH 16 #define COFFEE_NAME_LENGTH 16
#define COFFEE_DYN_SIZE (1 kb)
#define COFFEE_FD_SET_SIZE 2 #define COFFEE_FD_SET_SIZE 2
#define COFFEE_LOG_SIZE (256)
#define COFFEE_LOG_TABLE_LIMIT 16 #define COFFEE_LOG_TABLE_LIMIT 16
#define COFFEE_DIR_CACHE_ENTRIES 1 #define COFFEE_DIR_CACHE_ENTRIES 1
#define COFFEE_DYN_SIZE (1 kb)
#define COFFEE_LOG_SIZE (256)
#define COFFEE_WRITE(buf, size, offset) \ #define COFFEE_WRITE(buf, size, offset) \
eeprom_write(COFFEE_START + (offset), (unsigned char *)(buf), (size)) eeprom_write(COFFEE_START + (offset), (unsigned char *)(buf), (size))

View File

@ -49,11 +49,11 @@
#define COFFEE_START COFFEE_SECTOR_SIZE #define COFFEE_START COFFEE_SECTOR_SIZE
#define COFFEE_SIZE ((1024 kb) - COFFEE_START) #define COFFEE_SIZE ((1024 kb) - COFFEE_START)
#define COFFEE_NAME_LENGTH 16 #define COFFEE_NAME_LENGTH 16
#define COFFEE_DYN_SIZE (16 kb)
#define COFFEE_FD_SET_SIZE 8 #define COFFEE_FD_SET_SIZE 8
#define COFFEE_LOG_SIZE (8 kb)
#define COFFEE_LOG_TABLE_LIMIT 256 #define COFFEE_LOG_TABLE_LIMIT 256
#define COFFEE_DIR_CACHE_ENTRIES 16 #define COFFEE_DIR_CACHE_ENTRIES 16
#define COFFEE_DYN_SIZE (4 kb)
#define COFFEE_LOG_SIZE (1 kb)
/* Flash operations. */ /* Flash operations. */
#define COFFEE_WRITE(buf, size, offset) \ #define COFFEE_WRITE(buf, size, offset) \