diff --git a/ports/psoc6/freeze/vfs_fat.py b/ports/psoc6/freeze/vfs_fat.py index 91f0a4e57488e..f00bf1f7d5525 100644 --- a/ports/psoc6/freeze/vfs_fat.py +++ b/ports/psoc6/freeze/vfs_fat.py @@ -15,9 +15,10 @@ os.mount(vfs, "/") if "QSPI_Flash" in dir(psoc6): - print("External Flash with FAT filesystem mounted at /\n") - + location = "external QSPI" else: - print("Internal Flash with FAT filesystem mounted at /\n") + location = "internal" + +print(f"Virtual File System: mounted at '/' with FAT format in {location} flash.\n") del machine, os, psoc6, bdev, vfs diff --git a/ports/psoc6/freeze/vfs_fat_qspi_flash.py b/ports/psoc6/freeze/vfs_fat_qspi_flash.py index dc20e60f851fc..32ebbdc0f7592 100644 --- a/ports/psoc6/freeze/vfs_fat_qspi_flash.py +++ b/ports/psoc6/freeze/vfs_fat_qspi_flash.py @@ -13,6 +13,6 @@ vfs = os.VfsFat(bdev) os.mount(vfs, "/flash") -print("External Flash with FAT filesystem mounted at /flash\n") +print("Virtual File System: mounted at '/flash' with FAT format in external QSPI flash.\n") del machine, os, psoc6, bdev, vfs diff --git a/ports/psoc6/freeze/vfs_lfs2.py b/ports/psoc6/freeze/vfs_lfs2.py index b8c68f08b2eda..e7689457a18bf 100644 --- a/ports/psoc6/freeze/vfs_lfs2.py +++ b/ports/psoc6/freeze/vfs_lfs2.py @@ -23,9 +23,10 @@ os.mount(vfs, "/") if "QSPI_Flash" in dir(psoc6): - print("External Flash with LFS2 filesystem mounted at /\n") - + location = "external QSPI" else: - print("Internal Flash with LFS2 filesystem mounted at /\n") + location = "internal" + +print(f"Virtual File System: mounted at '/' with LFS2 format in {location} flash.\n") del machine, os, psoc6, bdev, vfs, read_size, write_size diff --git a/ports/psoc6/freeze/vfs_lfs2_qspi_flash.py b/ports/psoc6/freeze/vfs_lfs2_qspi_flash.py index d016c76e89f8d..a239ba15d83f4 100644 --- a/ports/psoc6/freeze/vfs_lfs2_qspi_flash.py +++ b/ports/psoc6/freeze/vfs_lfs2_qspi_flash.py @@ -12,6 +12,6 @@ vfs = os.VfsLfs2(bdev, progsize=read_size, readsize=write_size) os.mount(vfs, "/flash") -print("External Flash with LFS2 filesystem mounted at /flash\n") +print("Virtual File System: mounted at '/flash' with LFS2 format in external QSPI flash.\n") del machine, os, psoc6, bdev, vfs, read_size, write_size