mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 05:13:22 -07:00
Finally, rewrote bootrom and flasher program, much faster now
This commit is contained in:
parent
79a73ab2d1
commit
28fdb04fd8
38 changed files with 311 additions and 1032 deletions
|
@ -18,4 +18,7 @@
|
|||
#include <at91sam7s512.h>
|
||||
typedef unsigned char byte_t;
|
||||
|
||||
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
|
||||
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
|
||||
|
||||
#endif
|
||||
|
|
|
@ -23,15 +23,6 @@ typedef BYTE uint8_t;
|
|||
#define PACKED __attribute__((packed))
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
uint32_t cmd;
|
||||
uint32_t arg[3];
|
||||
union {
|
||||
uint8_t asBytes[48];
|
||||
uint32_t asDwords[12];
|
||||
} d;
|
||||
} PACKED HidCommand;
|
||||
|
||||
#define USB_CMD_DATA_SIZE 512
|
||||
|
||||
typedef struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue