summaryrefslogtreecommitdiff
path: root/stmhal/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/main.c')
-rw-r--r--stmhal/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/stmhal/main.c b/stmhal/main.c
index 05b097b7b..84ce6353a 100644
--- a/stmhal/main.c
+++ b/stmhal/main.c
@@ -350,6 +350,9 @@ soft_reset:
__fatal_error("could not create LFS");
}
+ // set label
+ f_setlabel("/flash/pybflash");
+
// create empty main.py
FIL fp;
f_open(&fp, "/flash/main.py", FA_WRITE | FA_CREATE_ALWAYS);