mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
ADD: added a compiling flag -DHAS_512_FLASH i common/Makefile.common, to be used for PM3 devices with 512KB. Original commit from @hewitt
This commit is contained in:
parent
77e1bab94a
commit
5a08545794
4 changed files with 15 additions and 3 deletions
|
@ -28,7 +28,13 @@ int OpenProxmark(size_t i);
|
|||
unsigned int current_command = CMD_UNKNOWN;
|
||||
|
||||
#define FLASH_START 0x100000
|
||||
#define FLASH_SIZE (256*1024)
|
||||
|
||||
#ifdef HAS_512_FLASH
|
||||
# define FLASH_SIZE (512*1024)
|
||||
#else
|
||||
# define FLASH_SIZE (256*1024)
|
||||
#endif
|
||||
|
||||
#define FLASH_END (FLASH_START + FLASH_SIZE)
|
||||
#define BOOTLOADER_SIZE 0x2000
|
||||
#define BOOTLOADER_END (FLASH_START + BOOTLOADER_SIZE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue