aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARMCM4-STM32F373-STM32373C_EVAL/mcuconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'demos/ARMCM4-STM32F373-STM32373C_EVAL/mcuconf.h')
-rw-r--r--demos/ARMCM4-STM32F373-STM32373C_EVAL/mcuconf.h9
1 files changed, 2 insertions, 7 deletions
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