// Might as well have the hardware-specific defines everywhere.
#include "at91sam7s512.h"
#include "config_gpio.h"
+#include "usb_cmd.h"
#define WDT_HIT() AT91C_BASE_WDTC->WDTC_WDCR = 0xa5000001
#define SPI_FPGA_MODE 0
#define SPI_LCD_MODE 1
-#define FPGA_BITSTREAM_ERR 0
-#define FPGA_BITSTREAM_LF 1
-#define FPGA_BITSTREAM_HF 2
-
#define TRUE 1
#define FALSE 0
-#include <usb_cmd.h>
+#ifndef COTAG_BITS
+#define COTAG_BITS 264
+#endif
//#define PACKED __attribute__((__packed__))