Home
last modified time | relevance | path

Searched refs:FLASH_BASE (Results 1 – 3 of 3) sorted by relevance

/device/google/contexthub/util/nanoapp_postprocess/
Dpostprocess.c34 #define FLASH_BASE 0x10000000 macro
44 #define IS_IN_FLASH(_val) IS_IN_RANGE(_val, FLASH_BASE, FLASH_SIZE)
128 relocs = (struct RelocEntry*)(buf + sect->rel_start - FLASH_BASE); in handleApp()
129 syms = (struct SymtabEntry*)(buf + sect->rel_end - FLASH_BASE); in handleApp()
131 numSyms = (bufUsed + FLASH_BASE - sect->rel_end) / sizeof(struct SymtabEntry); in handleApp()
138 if (numSyms * sizeof(struct SymtabEntry) + sect->rel_end != bufUsed + FLASH_BASE) { in handleApp()
183 else if (IS_IN_RANGE_E(relocs[i].where, FLASH_BASE, FLASH_BASE + sizeof(struct BinHdr))) in handleApp()
191 …if (IS_IN_FLASH(relocs[i].where) && relocs[i].where - FLASH_BASE < sizeof(struct BinHdr) && relocT… in handleApp()
199 valThereP = (uint32_t*)(buf + relocs[i].where - FLASH_BASE); in handleApp()
215 *valThereP -= FLASH_BASE + BINARY_RELOC_OFFSET; in handleApp()
[all …]
/device/google/contexthub/firmware/inc/platform/stm32f4xx/
Dpwr.h161 #define FLASH_BASE 0x40023C00UL macro
/device/google/contexthub/firmware/src/platform/stm32f4xx/
Dbl.c377 struct StmFlash *flash = (struct StmFlash *)FLASH_BASE; in blEraseSectors()
404 struct StmFlash *flash = (struct StmFlash *)FLASH_BASE; in blWriteBytes()
431 struct StmFlash *flash = (struct StmFlash *)FLASH_BASE; in blProgramFlash()
544 struct StmFlash *flash = (struct StmFlash *)FLASH_BASE; in blEraseTypedArea()