mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-19 19:38:52 +08:00
commit
1138f2b7ec
1 changed files with 2 additions and 1 deletions
|
@ -123,7 +123,8 @@ static int build_segs_from_phdrs(flash_file_t *ctx, FILE *fd, Elf32_Phdr *phdrs,
|
||||||
if (paddr < FLASH_START || (paddr + filesz) > flash_end) {
|
if (paddr < FLASH_START || (paddr + filesz) > flash_end) {
|
||||||
PrintAndLogEx(ERR, "Error: PHDR is not contained in Flash");
|
PrintAndLogEx(ERR, "Error: PHDR is not contained in Flash");
|
||||||
if ((paddr + filesz) > flash_end) {
|
if ((paddr + filesz) > flash_end) {
|
||||||
PrintAndLogEx(ERR, "Firmware probably too big for your device");
|
PrintAndLogEx(ERR, "Firmware is probably too big for your device");
|
||||||
|
PrintAndLogEx(ERR, "See README.md for information on compiling for platforms with 256KB of flash memory");
|
||||||
}
|
}
|
||||||
return PM3_EFILE;
|
return PM3_EFILE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue