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

Function flash_prepare_flashing

Bootloader/flash.c:54–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54int flash_prepare_flashing()
55{
56 /* switch to FlexRAM */
57 if ( !FTFL.fcnfg.ramrdy )
58 {
59 FTFL.fccob.set_flexram.fcmd = FTFL_FCMD_SET_FLEXRAM;
60 FTFL.fccob.set_flexram.flexram_function = FTFL_FLEXRAM_RAM;
61 return (ftfl_submit_cmd());
62 }
63 return (0);
64}
65
66int flash_read_1s_sector( uintptr_t addr, size_t num )
67{

Callers 1

mainFunction · 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…