Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
olimex_stm32-h103.h
Go to the documentation of this file.
1 #ifndef CONFIG_OLIMEX_STM32_H103_H
2 #define CONFIG_OLIMEX_STM32_H103_H
3 
4 /* Olimex STM32-H103 board has an 8MHz external clock and 72MHz internal. */
5 #define EXT_CLK 8000000
6 #define AHB_CLK 72000000
7 
8 /* Onboard LEDs */
9 #ifndef USE_LED_1
10 #define USE_LED_1 1
11 #endif
12 #define LED_1_GPIO GPIOC
13 #define LED_1_GPIO_CLK RCC_APB2Periph_GPIOC
14 #define LED_1_GPIO_PIN GPIO_Pin_12
15 
16 #endif /* CONFIG_OLIMEX_STM32_H103_H */