stm32l4x6: implement flash storage server #477
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds a flash storage server to the STM32 multiserver. It allows data to be read from and written to flash storage through a block device, as well as mounting of filesystems. Currently only meterfs is supported, but LittleFS support is planned in the future.
The file server can be disabled through compile time flags. If the file server will be used to mount root filesystem, another compile time flag disables the use of dummyfs for that purpose (in that case dummyfs is only used for creating
devfs
).Partition and file system setup is done through command line arguments in the user script.
Motivation and Context
With this PR it is possible to use a filesystem and persistently store files on STM32 targets.
Types of changes
How Has This Been Tested?
Checklist:
Special treatment