diff options
author | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2007-11-07 16:28:57 +0000 |
---|---|---|
committer | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2007-11-07 16:28:57 +0000 |
commit | 39cb47ed0951074afb24687fcb6e66947b4f8ef8 (patch) | |
tree | 53c25e96487b86ac64113180d3731e73d75c13c5 /openpicc/config/board.h | |
parent | 2306bcac783751b073babef1bf60dd196cfef73d (diff) |
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
Diffstat (limited to 'openpicc/config/board.h')
-rw-r--r-- | openpicc/config/board.h | 19 |
1 files changed, 19 insertions, 0 deletions
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 */ /*-----------------*/ |