mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Remove inf file from fresh FS.
This commit is contained in:
parent
8cc740f989
commit
5887129a0a
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user