Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Namespaces | Classes | Functions | Variables
lampda::bsp::filesystem Namespace Reference

File system high level actions. 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 shutdown ()
 call once on program stop.
 
void clear_internal_fs ()
 hard clean of the whole filesystem, you will loose all stored data.
 

Variables

static constexpr const char *const FILENAME_USER = "/.lampda.par"
 Store lamp general parameters.
 
static constexpr const char *const FILENAME_INTERNAL = "/.internal.par"
 store lamp internal parameters, that should not be erased
 
size_t lastUserParameterSize = 0
 
std::map< uint32_t, uint32_t > _userParametersValueMap
 
std::map< uint32_t, uint32_t > _systemParametersValueMap
 
constexpr size_t sizeOfData = sizeof(keyValue)
 

Detailed Description

File system high level actions.