|
Lamp-Da 0.1
A compact lantern project
|
Handle the interaction with the file system. More...
Namespaces | |
| namespace | system |
| internal system file space. | |
| namespace | user |
| user file space. | |
Classes | |
| union | KeyValToByteArray |
| Used to convert a KeyValues to an array of bytes. More... | |
| struct | keyValue |
| Store a key and a value. More... | |
Functions | |
| void | setup () |
| void | shutdown () |
| call once on program stop. | |
| void | clear () |
| clear the stored values in the currently loaded file system. | |
| void | clear_system_parameters () |
| Clear the system parameters. | |
| void | clear_internal_fs () |
| hard clean of the whole filesystem, you will loose all stored data. | |
Variables | |
| static constexpr auto | FILENAME_USER = "/.lampda.par" |
| static constexpr auto | FILENAME_INTERNAL = "/.internal.par" |
| File | paramFile (InternalFS) |
| size_t | lastUserParameterSize = 0 |
| std::map< uint32_t, uint32_t > | _userParametersValueMap |
| std::map< uint32_t, uint32_t > | _systemParametersValueMap |
| constexpr size_t | sizeOfData = sizeof(keyValue) |
| static bool | isSetup = false |
Handle the interaction with the file system.
| void lampda::physical::fileSystem::clear_system_parameters | ( | ) |
Clear the system parameters.