Skip to content
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

[Feature-Request] Support for uploadfs to UserData memory area (LittleFS) #152

Open
CSC-Sendance opened this issue Jun 27, 2022 · 0 comments

Comments

@CSC-Sendance
Copy link

CSC-Sendance commented Jun 27, 2022

Context

The nordic nrf52 series supports a "user data" memory area that contains a littlefs file system (see https://learn.adafruit.com/bluefruit-nrf52-feather-learning-guide/hathach-memory-map ). There is also an Adafruit library for it called "InternalFileSystem".

Request
There is currently no support to upload a LittleFS as a platformIO task called "uploadfs". E.g. ESP8266 have this feature (see here) which will cause an "Upload Filesystem Image" to appear in Tasks > env > Platform

Comments
I am not accustomed to the inner workings of pio but may try to create a pull request upon a discussion what one must accomplish to implement this feature.

Issues

  • After some investigations, I found that flashing the bare filesystem may override existing BLE-bonds. This may not be an issue though, if the BLE controller just reinitializes the necessary directories etc. if they were deleted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant