-
-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add littlefs file system #2911
base: develop-sys.io.filestream
Are you sure you want to change the base?
Add littlefs file system #2911
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice heavy lifting! Few comments
...oCLR/System.IO.FileSystem/nf_sys_io_filesystem_nanoFramework_System_IO_FileSystem_SDCard.cpp
Show resolved
Hide resolved
cfd4dfb
to
7f3d6a2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A lot of work and efforts in the PR and I know a lot of tests. So approving it.
.devcontainer/TI/Dockerfile.TI.SRC
Outdated
@@ -61,7 +60,7 @@ RUN mkdir -p /usr/local/bin/gcc \ | |||
# Clone what is needed for TI | |||
RUN git clone --branch 4.10.00.07 https://github.com/nanoframework/SimpleLink_CC32xx_SDK.git --depth 1 ./sources/SimpleLinkCC32 \ | |||
# you can't use the nanoFramework repository as it's Windows only | |||
# && git clone --branch 3.62.01.15 https://github.com/nanoframework/TI_XDCTools.git --depth 1 ./sources/TI_XDCTools \ | |||
# && git clone --branch 3.61.00.16 https://github.com/nanoframework/TI_XDCTools.git --depth 1 ./sources/TI_XDCTools \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason in particular for this downgrade in version? perhaps it should be noted as to why.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
None. I was probably testing something and forgot to revert it.
Actually this line could (should?) be removed as is not doing anything here...
Note: there is no need to continually bump the dockerfile version for smoke tests to succeed. The CI uses the SRC file as default, so the PR should only bump by one version when ready to merge. |
|
||
mutex_t lfs_mutex[LITTLEFS_INSTANCES_COUNT]; | ||
|
||
//bool lfsFileSystemReady; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uncommenting this will allow the build to succeed for STM32, but might be commented out for a reason (defined as extern in the header).
# file system drivers | ||
nanoPAL_FileSystem.cpp | ||
|
||
targetPAL_FileSystem.cpp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These three files are missing in the ESP32 target.
targetPAL_FileSystem.cpp
Target_System_IO_FileSystem.c
target_FileSystem.cpp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct. I'm working on STM32 only. Other platforms will follow.
…into develop-add-littlefs
961cf71
to
d792c7a
Compare
Description
Motivation and Context
How Has This Been Tested?
Screenshots
Types of changes
Checklist