From 09a7566e0175acfefa8c7fd483dcf2613d2c8f14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Th=C3=A9baudeau?= Date: Sun, 29 May 2016 23:36:01 +0200 Subject: [PATCH] cc2538: coffee: Add default micro-log configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Benoît Thébaudeau --- cpu/cc2538/cfs-coffee-arch.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cpu/cc2538/cfs-coffee-arch.h b/cpu/cc2538/cfs-coffee-arch.h index 9d53994e5..a0bf3dd75 100644 --- a/cpu/cc2538/cfs-coffee-arch.h +++ b/cpu/cc2538/cfs-coffee-arch.h @@ -102,6 +102,8 @@ /** Maximal amount of log table entries read in one batch */ #ifdef COFFEE_CONF_LOG_TABLE_LIMIT #define COFFEE_LOG_TABLE_LIMIT COFFEE_CONF_LOG_TABLE_LIMIT +#else +#define COFFEE_LOG_TABLE_LIMIT 16 #endif /** Default reserved file size */ #ifdef COFFEE_CONF_DYN_SIZE @@ -112,6 +114,8 @@ /** Default micro-log size */ #ifdef COFFEE_CONF_LOG_SIZE #define COFFEE_LOG_SIZE COFFEE_CONF_LOG_SIZE +#else +#define COFFEE_LOG_SIZE (4 * COFFEE_PAGE_SIZE) #endif /** Whether Coffee will use micro logs */ #ifdef COFFEE_CONF_MICRO_LOGS