Remove inf file from fresh FS.

This commit is contained in:
iabdalkader 2017-06-09 00:30:13 +02:00
parent 8cc740f989
commit 5887129a0a

View File

@ -90,10 +90,6 @@ static const char fresh_main_py[] =
" time.sleep(600)\n"
;
static const char fresh_openmv_inf[] =
#include "genhdr/openmv_inf.h"
;
static const char fresh_readme_txt[] =
"This is a Micro Python board\r\n"
"\r\n"
@ -264,11 +260,6 @@ static void make_flash_fs()
f_write(&fp, fresh_main_py, sizeof(fresh_main_py) - 1 /* don't count null terminator */, &n);
f_close(&fp);
// create .inf driver file
f_open(&fp, "openmv.inf", FA_WRITE | FA_CREATE_ALWAYS);
f_write(&fp, fresh_openmv_inf, sizeof(fresh_openmv_inf) - 1 /* don't count null terminator */, &n);
f_close(&fp);
// create readme file
f_open(&fp, "README.txt", FA_WRITE | FA_CREATE_ALWAYS);
f_write(&fp, fresh_readme_txt, sizeof(fresh_readme_txt) - 1 /* don't count null terminator */, &n);