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

Function initialize

Sming/Components/Storage/src/Storage.cpp:17–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15namespace Storage
16{
17void initialize()
18{
19 if(spiFlash == nullptr) {
20 spiFlash = new SpiFlash;
21 registerDevice(spiFlash);
22 spiFlash->loadPartitions(PARTITION_TABLE_OFFSET);
23 }
24}
25
26const Device::List getDevices()
27{

Callers 13

app_mainFunction · 0.85
user_initFunction · 0.85
user_pre_initFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
TcpConnectionMethod · 0.85
UdpConnectionMethod · 0.85
connectMethod · 0.85
listenMethod · 0.85
listenMethod · 0.85
connectMethod · 0.85
setMulticastMethod · 0.85

Calls 2

registerDeviceFunction · 0.85
loadPartitionsMethod · 0.45

Tested by

no test coverage detected