1、【更新】外部 SPI Flash Demo 使用的 SFUD 库至最新版本。

Signed-off-by: armink <armink.ztl@gmail.com>
pull/7/merge
armink 9 years ago
parent 04ec3a785c
commit e5e2a879c3

@ -43,6 +43,15 @@ extern "C" {
*/
sfud_err sfud_init(void);
/**
* get flash device by its index which in the flash information table
*
* @param index the index which in the flash information table @see flash_table
*
* @return flash device
*/
sfud_flash *sfud_get_device(size_t index);
/**
* get flash device total number on flash device information table @see flash_table
*

@ -73,7 +73,7 @@ if (!(EXPR)) \
else {if (__delay_temp) {__delay_temp();} retry --;}
/* software version number */
#define SFUD_SW_VERSION "0.08.25"
#define SFUD_SW_VERSION "0.10.29"
/*
* all defined supported command
*/

@ -110,7 +110,7 @@ sfud_err sfud_init(void) {
cur_flash_result = sfud_device_init(&flash_table[i]);
if (cur_flash_result != SFUD_SUCCESS) {
cur_flash_result = cur_flash_result;
all_flash_result = cur_flash_result;
}
}

Loading…
Cancel
Save