提交 a8216a23 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #672 from armink/master

完善 SFUD 驱动代码,并在 IotCamera 平台测试通过
......@@ -57,6 +57,6 @@
#error "Please configure RT_SFUD_USING_SFDP or RT_SFUD_USING_FLASH_INFO_TABLE at least one kind of mode (in rtconfig.h)."
#endif
#define SFUD_FLASH_DEVICE_TABLE NULL
#define SFUD_FLASH_DEVICE_TABLE {0}
#endif /* _SFUD_CFG_H_ */
......@@ -501,7 +501,7 @@ static void sf(uint8_t argc, char **argv) {
}
} else if (!rt_strcmp(operator, "bench")) {
if ((argc > 2 && rt_strcmp(argv[2], "yes")) || argc < 3) {
rt_kprintf("DANGER: It will erase full chip! Please run 'sf bench yes'.");
rt_kprintf("DANGER: It will erase full chip! Please run 'sf bench yes'.\n");
return;
}
/* full chip benchmark test */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册