MCPcopy Create free account
hub / github.com/SmingHub/Sming / hyfs_mount

Function hyfs_mount

Sming/Libraries/Spiffs/src/Spiffs.cpp:56–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56bool hyfs_mount()
57{
58 auto fwfsPart = Storage::findDefaultPartition(Storage::Partition::SubType::Data::fwfs);
59 auto spiffsPart = Storage::findDefaultPartition(Storage::Partition::SubType::Data::spiffs);
60 return (fwfsPart && spiffsPart) ? hyfs_mount(fwfsPart, spiffsPart) : false;
61}
62
63bool hyfs_mount(Storage::Partition fwfsPartition, Storage::Partition spiffsPartition)
64{

Callers 1

initFunction · 0.85

Calls 3

findDefaultPartitionFunction · 0.85
createSpiffsFilesystemFunction · 0.85
fileMountFileSystemFunction · 0.85

Tested by

no test coverage detected