From 033585af1abc8f609f3104419023457dec1cfd72 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 3 Mar 2013 08:45:54 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5345 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/ARMCM4-STM32F373-STM32373C_EVAL/Makefile | 6 +++--- demos/ARMCM4-STM32F373-STM32373C_EVAL/mcuconf.h | 9 ++------- 2 files changed, 5 insertions(+), 10 deletions(-) (limited to 'demos/ARMCM4-STM32F373-STM32373C_EVAL') diff --git a/demos/ARMCM4-STM32F373-STM32373C_EVAL/Makefile b/demos/ARMCM4-STM32F373-STM32373C_EVAL/Makefile index 0a5b2300e..3d26f0169 100644 --- a/demos/ARMCM4-STM32F373-STM32373C_EVAL/Makefile +++ b/demos/ARMCM4-STM32F373-STM32373C_EVAL/Makefile @@ -65,15 +65,15 @@ PROJECT = ch # Imported source files and paths CHIBIOS = ../.. -include $(CHIBIOS)/boards/ST_STM32F3_DISCOVERY/board.mk -include $(CHIBIOS)/os/hal/platforms/STM32F30x/platform.mk +include $(CHIBIOS)/boards/ST_STM32373C_EVAL/board.mk +include $(CHIBIOS)/os/hal/platforms/STM32F37x/platform.mk include $(CHIBIOS)/os/hal/hal.mk include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F3xx/port.mk include $(CHIBIOS)/os/kernel/kernel.mk include $(CHIBIOS)/test/test.mk # Define linker script file here -LDSCRIPT= $(PORTLD)/STM32F303xC.ld +LDSCRIPT= $(PORTLD)/STM32F373xC.ld # C sources that can be compiled in ARM or THUMB mode depending on the global # setting. diff --git a/demos/ARMCM4-STM32F373-STM32373C_EVAL/mcuconf.h b/demos/ARMCM4-STM32F373-STM32373C_EVAL/mcuconf.h index 7472fe42b..59e0975ff 100644 --- a/demos/ARMCM4-STM32F373-STM32373C_EVAL/mcuconf.h +++ b/demos/ARMCM4-STM32F373-STM32373C_EVAL/mcuconf.h @@ -32,7 +32,7 @@ * 0...3 Lowest...Highest. */ -#define STM32F30x_MCUCONF +#define STM32F37x_MCUCONF /* * HAL driver system settings. @@ -52,17 +52,12 @@ #define STM32_PPRE1 STM32_PPRE1_DIV2 #define STM32_PPRE2 STM32_PPRE2_DIV2 #define STM32_MCOSEL STM32_MCOSEL_NOCLOCK -#define STM32_ADC12PRES STM32_ADC12PRES_DIV1 -#define STM32_ADC34PRES STM32_ADC34PRES_DIV1 +#define STM32_ADCPRE STM32_ADCPRE_DIV4 #define STM32_USART1SW STM32_USART1SW_PCLK #define STM32_USART2SW STM32_USART2SW_PCLK #define STM32_USART3SW STM32_USART3SW_PCLK -#define STM32_UART4SW STM32_UART4SW_PCLK -#define STM32_UART5SW STM32_UART5SW_PCLK #define STM32_I2C1SW STM32_I2C1SW_SYSCLK #define STM32_I2C2SW STM32_I2C2SW_SYSCLK -#define STM32_TIM1SW STM32_TIM1SW_PCLK2 -#define STM32_TIM8SW STM32_TIM8SW_PCLK2 #define STM32_RTCSEL STM32_RTCSEL_LSI #define STM32_USB_CLOCK_REQUIRED TRUE #define STM32_USBPRE STM32_USBPRE_DIV1P5 -- cgit v1.2.3