Finally, rewrote bootrom and flasher program, much faster now

This commit is contained in:
roel@libnfc.org committed 2013-02-28 15:11:52 +00:00
1 parent 79a73ab2d1
commit 28fdb04fd8
38 files changed
+311 -1032

No files matched your search

+3
View File
@@ -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
-9
View File
@@ -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 {