Skip to content

Commit c3cd46e

Browse files
committed
stmhal: Fix name of automatically created boot.py.
1 parent 3a35432 commit c3cd46e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stmhal/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ MP_NOINLINE STATIC void init_flash_fs(uint reset_mode) {
249249
uint32_t start_tick = HAL_GetTick();
250250

251251
FIL fp;
252-
f_open(&vfs_fat->fatfs, &fp, "/flash/boot.py", FA_WRITE | FA_CREATE_ALWAYS);
252+
f_open(&vfs_fat->fatfs, &fp, "/boot.py", FA_WRITE | FA_CREATE_ALWAYS);
253253
UINT n;
254254
f_write(&fp, fresh_boot_py, sizeof(fresh_boot_py) - 1 /* don't count null terminator */, &n);
255255
// TODO check we could write n bytes

0 commit comments

Comments
 (0)