]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/flash.c
CHG: '-DWITH_EMV' - fixing some compilation errors when compiling with peter fillmore...
[proxmark3-svn] / client / flash.c
index 576f0d27a340a0e7cb648672a7483e9322d84fa8..b0ae46b3ba95796254699c8cc859b2aba7a2fbf0 100644 (file)
@@ -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)
Impressum, Datenschutz