Tagged: , , ,

This topic has 0 replies, 1 voice, and was last updated 1 year, 7 months ago by Pontus. This post has been viewed 625 times

  • Author
  • #789

    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.

© 2021 Telenor Start IoT

Log in with your credentials

Forgot your details?