diff options
author | Damien George <damien.p.george@gmail.com> | 2017-01-29 15:09:36 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-01-29 15:09:36 +1100 |
commit | c3cd46e5c2dc110d6f0f9f1803f60f8832d156f2 (patch) | |
tree | b48b64427fa3cf8f8147b65823bcca9e157c866c /stmhal | |
parent | 3a3543251fee73597c2cebefea94da78c4fc8b89 (diff) | |
download | micropython-c3cd46e5c2dc110d6f0f9f1803f60f8832d156f2.tar.gz micropython-c3cd46e5c2dc110d6f0f9f1803f60f8832d156f2.zip |
stmhal: Fix name of automatically created boot.py.
Diffstat (limited to 'stmhal')
-rw-r--r-- | stmhal/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/main.c b/stmhal/main.c index 1918658b7b..9eab50061f 100644 --- a/stmhal/main.c +++ b/stmhal/main.c @@ -249,7 +249,7 @@ MP_NOINLINE STATIC void init_flash_fs(uint reset_mode) { uint32_t start_tick = HAL_GetTick(); FIL fp; - f_open(&vfs_fat->fatfs, &fp, "/flash/boot.py", FA_WRITE | FA_CREATE_ALWAYS); + f_open(&vfs_fat->fatfs, &fp, "/boot.py", FA_WRITE | FA_CREATE_ALWAYS); UINT n; f_write(&fp, fresh_boot_py, sizeof(fresh_boot_py) - 1 /* don't count null terminator */, &n); // TODO check we could write n bytes |