From 39cb47ed0951074afb24687fcb6e66947b4f8ef8 Mon Sep 17 00:00:00 2001 From: henryk Date: Wed, 7 Nov 2007 16:28:57 +0000 Subject: Start working at dfu by copying from main openpcd repository (with modifications), doesn't boot application yet git-svn-id: https://svn.openpcd.org:2342/trunk@315 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- openpicc/config/board.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'openpicc/config') diff --git a/openpicc/config/board.h b/openpicc/config/board.h index 065c26d..c052d1e 100644 --- a/openpicc/config/board.h +++ b/openpicc/config/board.h @@ -61,6 +61,25 @@ #define OPENPICC_PIO_PLL_INHIBIT AT91C_PIO_PA24 #define OPENPICC_PIO_PLL_LOCK AT91C_PIO_PA4 +#define OPENPCD_PIO_UDP_CNX NO_UDP_CNX +#define OPENPCD_PIO_UDP_PUPv4 AT91C_PIO_PA16 +#define OPENPCD_PIO_LED1 AT91C_PIO_PA25 +#define OPENPCD_PIO_LED2 AT91C_PIO_PA12 +#define PIO_BOOTLDR AT91C_PIO_PA6 + +#define OPENPCD_VENDOR_ID 0x16c0 +#define OPENPCD_PRODUCT_ID 0x076b +#define OPENPICC_PRODUCT_ID 0x076c + +#define USB_PRODUCT_ID OPENPICC_PRODUCT_ID +#define USB_VENDOR_ID OPENPCD_VENDOR_ID + +/*----------------------*/ +/* interrupt priorities */ +/*----------------------*/ + +#define OPENPCD_IRQ_PRIO_UDP (AT91C_AIC_PRIOR_LOWEST+2) + /*-----------------*/ /* task priorities */ /*-----------------*/ -- cgit v1.2.3