diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2013-11-02 14:23:44 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2013-11-02 14:23:44 +0900 |
commit | 9fe6cefdc0564b6bb3d938c0c1074d57a4b9500f (patch) | |
tree | 915cfcf02076427abd45c4ca862d2062d947e50c /board/board-olimex-stm32-h103.h | |
parent | 5f14824977c1b7f281aa0b31cc8dbf93a649b504 (diff) |
fix spurious interrupts, Gnuk pin-cir support
Diffstat (limited to 'board/board-olimex-stm32-h103.h')
-rw-r--r-- | board/board-olimex-stm32-h103.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/board/board-olimex-stm32-h103.h b/board/board-olimex-stm32-h103.h index d7470bc..a8cb7a0 100644 --- a/board/board-olimex-stm32-h103.h +++ b/board/board-olimex-stm32-h103.h @@ -1,11 +1,11 @@ #define FLASH_PAGE_SIZE 1024 -#define STM32_PLLXTPRE STM32_PLLXTPRE_DIV1 -#define STM32_PLLMUL_VALUE 9 -#define STM32_HSECLK 8000000 +#define STM32_PLLXTPRE STM32_PLLXTPRE_DIV1 +#define STM32_PLLMUL_VALUE 9 +#define STM32_HSECLK 8000000 -#define GPIO_USB_CLEAR_TO_ENABLE 11 -#define GPIO_LED_CLEAR_TO_EMIT 12 +#define GPIO_USB_CLEAR_TO_ENABLE 11 +#define GPIO_LED_CLEAR_TO_EMIT 12 /* * Port C setup. @@ -22,11 +22,11 @@ #define VAL_GPIO_CRL 0x44888888 /* PC7...PC0 */ #define VAL_GPIO_CRH 0x88837888 /* PC15...PC8 */ -#define GPIO_USB_BASE GPIOC_BASE -#define GPIO_LED_BASE GPIOC_BASE +#define GPIO_USB_BASE GPIOC_BASE +#define GPIO_LED_BASE GPIOC_BASE -#define RCC_APB2ENR_IOP_EN RCC_APB2ENR_IOPCEN -#define RCC_APB2RSTR_IOP_RST RCC_APB2RSTR_IOPCRST +#define RCC_APB2ENR_IOP_EN RCC_APB2ENR_IOPCEN +#define RCC_APB2RSTR_IOP_RST RCC_APB2RSTR_IOPCRST /* NeuG settings for ADC2. */ #define NEUG_ADC_SETTING2_SMPR1 ADC_SMPR1_SMP_AN10(ADC_SAMPLE_1P5) \ |