MCPcopy Create free account
hub / github.com/kiibohd/controller / flash_program_section

Function flash_program_section

Bootloader/flash.c:93–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93int flash_program_section( uintptr_t addr, size_t num )
94{
95#ifdef FLASH_DEBUG
96 // Debug
97 print("Programming Sector: address(");
98 printHex( addr );
99 print(") units (");
100 printHex( num );
101 printNL(")");
102#endif
103
104 FTFL.fccob.program_section.fcmd = FTFL_FCMD_PROGRAM_SECTION;
105 FTFL.fccob.program_section.addr = addr;
106 FTFL.fccob.program_section.num_words = num;
107
108 return ftfl_submit_cmd();
109}
110
111int flash_program_sector( uintptr_t addr, size_t len )
112{

Callers 1

flash_program_sectorFunction · 0.85

Calls 1

ftfl_submit_cmdFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…