Skip to content

LocalFileSystem stop working in mbed_lib_rev138 #3983

Closed
@toyowata

Description

@toyowata

Description


Bug

Target
LPC1768 (and possibly LPC11U24)

Toolchain:
ARM (online IDE)

Toolchain version:
5.06

meed-os sha:
f4864dc

Expected behavior
LocalFileSystem API should work.

Actual behavior
LocalFileSystem API does not seem to work with mbed_lib_rev138.
If I rollback to mbed_lib_rev137, it works fine.

Steps to reproduce
Create new problem as code below with mbed_lib_rev138.

#include "mbed.h"

#if !defined(TARGET_LPC1768) && !defined(TARGET_LPC11U24)
#error This target does not support LocalFileSystem.
#endif

LocalFileSystem local("local");               // Create the local filesystem under the name "local"
 
int main() {
    FILE *fp = fopen("/local/out.txt", "w");  // Open "out.txt" on the local file system for writing
    fprintf(fp, "Hello World!");
    fclose(fp);
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions