Formatting SD card with LittleFS2

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
Post Reply
lofer
Posts: 13
Joined: Tue Mar 31, 2020 5:17 am

Formatting SD card with LittleFS2

Post by lofer » Sat May 29, 2021 6:37 pm

How one can format SD card with LittleFS2?
In other words, what goes for XXX?

Code: Select all

os.umount('/sd')
os.VfsLfs2.mkfs(XXX)

Post Reply