aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-03-03 08:45:54 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-03-03 08:45:54 +0000
commit033585af1abc8f609f3104419023457dec1cfd72 (patch)
tree74d844a6ff770261f092b041495b9a5da59ae9b3 /demos
parentb2a6a639f874bdf2a731995b191ad0ca65ca65ed (diff)
downloadChibiOS-033585af1abc8f609f3104419023457dec1cfd72.tar.gz
ChibiOS-033585af1abc8f609f3104419023457dec1cfd72.tar.bz2
ChibiOS-033585af1abc8f609f3104419023457dec1cfd72.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5345 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r--demos/ARMCM4-STM32F373-STM32373C_EVAL/Makefile6
-rw-r--r--demos/ARMCM4-STM32F373-STM32373C_EVAL/mcuconf.h9
2 files changed, 5 insertions, 10 deletions
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