support DFU board

This commit is contained in:
NIIBE Yutaka
2012-05-29 08:37:36 +09:00
parent 1576b8303e
commit 8d8e67f1ad
8 changed files with 44 additions and 81 deletions

View File

@@ -31,6 +31,13 @@
/*
* Setup for the STBee Mini board.
*/
#define SET_USB_CONDITION(en) (en) /* To connect USB, call palSetPad */
#define SET_LED_CONDITION(on) (!on) /* To emit light, call palClearPad */
#define GPIO_USB GPIOA_USB_ENABLE
#define IOPORT_USB GPIOA
#define GPIO_LED GPIOA_LED1
#define IOPORT_LED GPIOA
#define FLASH_PAGE_SIZE 1024
/*
* Board identifier.