rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Functions | Variables
board_storage.cpp File Reference

Functions

bool boardInitMfs ()
 
const MFSConfig * boardGetMfsConfig ()
 

Variables

const MFSConfig mfscfg1
 

Function Documentation

◆ boardGetMfsConfig()

const MFSConfig * boardGetMfsConfig ( void  )

Definition at line 36 of file board_storage.cpp.

37{
38 return &mfscfg1;
39}
const MFSConfig mfscfg1

◆ boardInitMfs()

bool boardInitMfs ( void  )

Definition at line 28 of file board_storage.cpp.

29{
30 /* Starting EFL driver.*/
31 eflStart(&EFLD2, NULL);
32
33 return true;
34}

Variable Documentation

◆ mfscfg1

const MFSConfig mfscfg1
Initial value:
= {
.flashp = (BaseFlash *)&EFLD2,
.erased = 0xFFFFFFFFU,
.bank_size = 128U * 1024U,
.bank0_start = 0U,
.bank0_sectors = 32U,
.bank1_start = 32U,
.bank1_sectors = 32U
}

Definition at line 18 of file board_storage.cpp.

18 {
19 .flashp = (BaseFlash *)&EFLD2,
20 .erased = 0xFFFFFFFFU,
21 .bank_size = 128U * 1024U,
22 .bank0_start = 0U,
23 .bank0_sectors = 32U,
24 .bank1_start = 32U,
25 .bank1_sectors = 32U
26};

Referenced by boardGetMfsConfig().

Go to the source code of this file.