Tagged: , , ,

This topic has 0 replies, 1 voice, and was last updated 2 months, 2 weeks ago by Pontus. This post has been viewed 122 times

  • Author
    Posts
  • #789
     Pontus
    Keymaster

    The Pycom documentation is lacking so I’ll add a tip here about how to format the filesystem on your FiPy.

    Starting from Firmware Release v1.20.0; the function os.mkfs() has been replaced with os.fsformat().
    To format the internal file system, use os.fsformat('/flash') and os.fsformat('/sd') to format SD cards (card needs to be mounted as ‘/sd’).

    To mount the SD card, use this code:


    sd = SD()
    fs = os.mkfat(sd)
    os.mount(fs, ‘/sd’)

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

© 2020 Telenor Start IoT
 

Log in with your credentials

Forgot your details?