git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1912 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2010-05-09 18:02:08 +00:00
parent bf0c75c33e
commit 302956a3d9
4 changed files with 13 additions and 3 deletions

View File

@ -34,7 +34,10 @@
/* /*
* HAL driver system settings. * HAL driver system settings.
*/ */
#define STM32_SYSCLK 72 #define STM32_SW STM32_SW_PLL
#define STM32_PLLSRC STM32_PLLSRC_HSE
#define STM32_PLLXTPRE STM32_PLLXTPRE_DIV1
#define STM32_PLLCLKOUT 72000000
/* /*
* ADC driver system settings. * ADC driver system settings.

View File

@ -34,6 +34,10 @@
/* /*
* HAL driver system settings. * HAL driver system settings.
*/ */
#define STM32_SW STM32_SW_PLL
#define STM32_PLLSRC STM32_PLLSRC_HSE
#define STM32_PLLXTPRE STM32_PLLXTPRE_DIV1
#define STM32_PLLCLKOUT 72000000
/* /*
* ADC driver system settings. * ADC driver system settings.

View File

@ -118,7 +118,7 @@ INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
MCU = cortex-m3 MCU = cortex-m3
TRGT = arm-elf- TRGT = arm-none-eabi-
CC = $(TRGT)gcc CC = $(TRGT)gcc
CPPC = $(TRGT)g++ CPPC = $(TRGT)g++
# Enable loading with g++ only if you need C++ runtime support. # Enable loading with g++ only if you need C++ runtime support.

View File

@ -38,7 +38,10 @@
/* /*
* HAL driver system settings. * HAL driver system settings.
*/ */
#define STM32_SYSCLK 72 #define STM32_SW STM32_SW_PLL
#define STM32_PLLSRC STM32_PLLSRC_HSE
#define STM32_PLLXTPRE STM32_PLLXTPRE_DIV1
#define STM32_PLLCLKOUT 72000000
/* /*
* ADC driver system settings. * ADC driver system settings.