Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,11 @@ wiced_result_t wiced_filesystem_mount(BlockDevice *device, wiced_filesystem_hand
return WICED_ERROR;
}

wiced_result_t wiced_filesystem_mount_default(void)
{
return wiced_filesystem_mount(mbr_bd, 0, &resource_fs_handle, WIFI_DEFAULT_MOUNT_NAME);
}

wiced_result_t wiced_filesystem_file_open(wiced_filesystem_t *fs_handle, wiced_file_t *file_handle_out, const char *filename, wiced_filesystem_open_mode_t mode)
{
/* This is called by mbed test system */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,15 @@ typedef int wiced_filesystem_handle_type_t;
*/
wiced_result_t wiced_filesystem_init(void);

/**
* Mount the physical device using default parameters
*
* This assumes that the device is ready to read/write immediately.
*
* @return WICED_SUCCESS on success
*/
wiced_result_t wiced_filesystem_mount_default(void);

/**
* Open a file for reading or writing
*
Expand Down