Update for ChibiOS 2.4.3
[gnuk/neug.git] / boards / STBEE_MINI / mcuconf.h
1 /*
2  * HAL driver system settings.
3  */
4 #define STM32_SW                    STM32_SW_PLL
5 #define STM32_PLLSRC                STM32_PLLSRC_HSE
6 #define STM32_PLLXTPRE              STM32_PLLXTPRE_DIV1
7 #define STM32_PLLMUL_VALUE          6
8 #define STM32_HPRE                  STM32_HPRE_DIV1
9 #define STM32_PPRE1                 STM32_PPRE1_DIV2
10 /*
11  * Don't know the reason, but ADC doesn't work well with 12MHz clock.
12  * So, it is configured as 9MHz
13  */
14 #define STM32_PPRE2                 STM32_PPRE2_DIV2
15 #define STM32_ADCPRE                STM32_ADCPRE_DIV4
16 #define STM32_RTCSEL                STM32_RTCSEL_NOCLOCK
17
18 #include "mcuconf-common.h"