Lines Matching refs:flash
91 struct ElfAppSection flash;
270 fprintf(stderr, " FW header size (flash): %6zu bytes\n", FLASH_RELOC_OFFSET);
271 fprintf(stderr, " Code + RO data (flash): %6" PRIu32 " bytes\n", codeAndRoDataSz);
272 fprintf(stderr, " Relocs (flash): %6" PRIu32 " bytes\n", relocsSz);
273 fprintf(stderr, " GOT + RW data (flash & RAM): %6" PRIu32 " bytes\n", gotSz);
276 fprintf(stderr,"Runtime flash use: %" PRIu32 " bytes\n", (uint32_t)(codeAndRoDataSz + relocsSz + gotSz + FLASH_RELOC_OFFSET));
395 fprintf(stderr, "In-header reloc %" PRIu32 " of location 0x%08" PRIX32 " is outside of FLASH!\n"
404 // binary header generated by objcopy, .napp header and final FW header in flash are of different size.
521 //adjust headers for easy access (FLASH)
523 fprintf(stderr, "data.data, or rel not in flash\n");
539 // this assumes that the linker script puts text/code in the .flash section,
547 .name = ".flash",
548 .offset = offsetof(struct ElfNanoApp, flash),
655 DBG("Fixup addr 0x%08" PRIX32 " (flash) --> 0x%08" PRIX32, *addr,
676 struct BinHdr *hdr = (struct BinHdr *) app->flash.data;
692 ERR(".data loadaddr, or .relocs not in flash address space!");
699 ERR("Entry point(s) not in flash address space!");
711 const struct BinHdr *hdr = (const struct BinHdr *) app->flash.data;
803 size_t bufSize = app.flash.size + app.data.size + app.packedNanoRelocs.size
812 memcpy(buf, app.flash.data, app.flash.size);
813 offset += app.flash.size;