diff options
Diffstat (limited to 'board/board-fst-01-00.h')
-rw-r--r-- | board/board-fst-01-00.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/board/board-fst-01-00.h b/board/board-fst-01-00.h index a00995e..5af9f56 100644 --- a/board/board-fst-01-00.h +++ b/board/board-fst-01-00.h @@ -4,8 +4,11 @@ #define STM32_PLLMUL_VALUE 9 #define STM32_HSECLK 8000000 -#define GPIO_USB_SET_TO_ENABLE 10 +#define GPIO_LED_BASE GPIOA_BASE #define GPIO_LED_SET_TO_EMIT 8 +#define GPIO_USB_BASE GPIOA_BASE +#define GPIO_USB_SET_TO_ENABLE 10 +#undef GPIO_OTHER_BASE /* * Port A setup. @@ -18,12 +21,9 @@ * ------------------------ Default * PAx - input with pull-up */ -#define VAL_GPIO_ODR 0xFFFFE7FF -#define VAL_GPIO_CRL 0x88888888 /* PA7...PA0 */ -#define VAL_GPIO_CRH 0x88811383 /* PA15...PA8 */ - -#define GPIO_USB_BASE GPIOA_BASE -#define GPIO_LED_BASE GPIOA_BASE +#define VAL_GPIO_LED_ODR 0xFFFFE7FF +#define VAL_GPIO_LED_CRL 0x88888888 /* PA7...PA0 */ +#define VAL_GPIO_LED_CRH 0x88811383 /* PA15...PA8 */ #define RCC_ENR_IOP_EN RCC_APB2ENR_IOPAEN #define RCC_RSTR_IOP_RST RCC_APB2RSTR_IOPARST |