Note: When switching between LittleFS and FatFS, the flash file system will be re-formatted thus erasing all content.
Please try the following:
import pycom
pycom.bootmgr(fs_type=pycom.LittleFS, reset=True)
This will update the configuration to use LittleFS instead of FatFS. The board will reset automatically.
Similarly you can switch back to FatFS:
import pycom
pycom.bootmgr(fs_type=pycom.FAT, reset=True)
– Christian Ehlers, Pycom Engineering Director
– New Firmware Release Candidate v1.20.0 | Pycom user forum