wild debugging

This commit is contained in:
David Voswinkel
2009-06-24 23:47:39 +02:00
parent a9640af2bf
commit b7b35800cc
14 changed files with 234 additions and 81 deletions

View File

@@ -3,10 +3,10 @@
#define __config_h__
#define DEBUG_USB 1
#undef DEBUG_USB_RAW 1
#undef DEBUG_SRAM 1
#undef DEBUG_SRAM_RAW
#undef DEBUG_SREG
#define DEBUG_USB_RAW 1
#define DEBUG_SRAM 0
#define DEBUG_SRAM_RAW 0
#define DEBUG_SREG 0
#define DEBUG 1
@@ -15,11 +15,12 @@
#define REQ_STATUS_BULK_UPLOAD 0x03
#define REQ_STATUS_BULK_NEXT 0x04
#define REQ_STATUS_CRC 0x05
#define REQ_STATUS_BOOT 0x06
#define USB_MAX_TRANS 0xff
#define USB_CRC_CHECK 0x01
#define TRANSFER_BUFFER_SIZE 0xff
#define TRANSFER_BUFFER_SIZE 0x200
#endif