From 610d1af2428ce3b9ba94619163948c111f6e7ee7 Mon Sep 17 00:00:00 2001 From: armink Date: Thu, 27 Aug 2015 10:00:24 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E3=80=90=E4=BF=AE=E6=AD=A3=E3=80=91?= =?UTF-8?q?=E4=B8=80=E5=A4=84=E9=A2=84=E7=BC=96=E8=AF=91=E5=AE=8F=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E4=B9=A6=E5=86=99=E9=94=99=E8=AF=AF=EF=BC=9B=202?= =?UTF-8?q?=E3=80=81=E3=80=90=E5=AE=8C=E5=96=84=E3=80=91=E9=83=A8=E5=88=86?= =?UTF-8?q?=E6=B3=A8=E9=87=8A=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: armink --- easyflash/inc/easyflash.h | 4 ++-- easyflash/src/easyflash.c | 4 ++-- easyflash/src/ef_log.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/easyflash/inc/easyflash.h b/easyflash/inc/easyflash.h index cc7f374..84ca247 100644 --- a/easyflash/inc/easyflash.h +++ b/easyflash/inc/easyflash.h @@ -51,7 +51,7 @@ extern "C" { #error "Please configure backup area start address (in ef_cfg.h)" #endif -#if !defined(EF_USING_ENV) +#if !defined(EF_ERASE_MIN_SIZE) #error "Please configure minimum size of flash erasure (in ef_cfg.h)" #endif @@ -67,7 +67,7 @@ if (!(EXPR)) \ while (1); \ } /* EasyFlash software version number */ -#define EF_SW_VERSION "1.07.29" +#define EF_SW_VERSION "1.08.27" typedef struct _eflash_env{ char *key; diff --git a/easyflash/src/easyflash.c b/easyflash/src/easyflash.c index c4fdfd5..62ba994 100644 --- a/easyflash/src/easyflash.c +++ b/easyflash/src/easyflash.c @@ -31,8 +31,8 @@ * This all Backup Area Flash storage index. All used flash area configure is under here. * |----------------------------| Storage Size * | Environment variables area | ENV area size @see ENV_AREA_SIZE - * | 1.system section | ENV_SYSTEM_SIZE - * | 2:data section | ENV_AREA_SIZE - ENV_SYSTEM_SIZE + * | 1.system section | ENV system section size + * | 2:data section | ENV_AREA_SIZE - ENV system section size * |----------------------------| * | Saved log area | Log area size @see LOG_AREA_SIZE * |----------------------------| diff --git a/easyflash/src/ef_log.c b/easyflash/src/ef_log.c index 44f00c8..187df82 100644 --- a/easyflash/src/ef_log.c +++ b/easyflash/src/ef_log.c @@ -73,7 +73,7 @@ EfErrCode ef_log_init(void) { * Find the log store start address and end address. * It's like a ring buffer which implement by flash. * The flash log area has two state when find start address and end address. - * state 1 state 2 + * state 1 state 2 * |============| |============| * log area start--> |############| <-- start address |############| <-- end address * |############| | empty |