Skip to content
  • Damien George's avatar
    extmod/fsusermount: Support mounting of multiple block devices. · b33a7705
    Damien George authored
    This patch adds support to fsusermount for multiple block devices
    (instead of just one).  The maximum allowed is fixed at compile time by
    the size of the fs_user_mount array accessed via MP_STATE_PORT, which
    in turn is set by MICROPY_FATFS_VOLUMES.
    
    With this patch, stmhal (which is still tightly coupled to fsusermount)
    is also modified to support mounting multiple devices   And the flash and
    SD card are now just two block devices that are mounted at start up if
    they exist (and they have special native code to make them more
    efficient).
    b33a7705