summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--py/qstrdefs.h11
-rw-r--r--stmhal/qstrdefsport.h9
2 files changed, 11 insertions, 9 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index 4df444d5f..8a751fcc0 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -653,3 +653,14 @@ Q(slip)
Q(status)
#endif
#endif
+
+#if MICROPY_FSUSERMOUNT
+// for user-mountable block devices
+Q(mount)
+Q(readonly)
+Q(mkfs)
+Q(readblocks)
+Q(writeblocks)
+Q(sync)
+Q(count)
+#endif
diff --git a/stmhal/qstrdefsport.h b/stmhal/qstrdefsport.h
index 0c0b40773..7644e9aef 100644
--- a/stmhal/qstrdefsport.h
+++ b/stmhal/qstrdefsport.h
@@ -77,15 +77,6 @@ Q(micros)
Q(elapsed_millis)
Q(elapsed_micros)
-// for user-mountable block devices
-Q(mount)
-Q(readonly)
-Q(mkfs)
-Q(readblocks)
-Q(writeblocks)
-Q(sync)
-Q(count)
-
// for module weak links
Q(binascii)
Q(re)