aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-05-28 14:42:44 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-05-28 14:42:44 +0000
commitc7a158233872f963344bd1a0c57fdfbd559aed57 (patch)
treebaba8b58df44860fdf7859010df7fae2d8cee923 /testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h
parentdce45c502e691cc8ec98bc7c88a4922aedfcb76d (diff)
downloadChibiOS-c7a158233872f963344bd1a0c57fdfbd559aed57.tar.gz
ChibiOS-c7a158233872f963344bd1a0c57fdfbd559aed57.tar.bz2
ChibiOS-c7a158233872f963344bd1a0c57fdfbd559aed57.zip
Fixed broken F107 USB demo.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10213 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h')
-rw-r--r--testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h b/testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h
index 2f97cfb45..3064f16a5 100644
--- a/testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h
+++ b/testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h
@@ -17,8 +17,6 @@
#ifndef MCUCONF_H
#define MCUCONF_H
-#define STM32F103_MCUCONF
-
/*
* STM32F107 drivers configuration.
* The following settings override the default settings present in
@@ -33,6 +31,8 @@
* 0...3 Lowest...Highest.
*/
+#define STM32F107_MCUCONF
+
/*
* HAL driver system settings.
*/
@@ -117,7 +117,8 @@
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
#define STM32_I2C_I2C1_DMA_PRIORITY 3
#define STM32_I2C_I2C2_DMA_PRIORITY 3
-#define STM32_I2C_DMA_ERROR_HOOK(i2cp) osalSysHalt("DMA failure")
+#define STM32_I2C_I2C1_DMA_ERROR_HOOK(i2cp) osalSysHalt("DMA failure")
+#define STM32_I2C_I2C2_DMA_ERROR_HOOK(i2cp) osalSysHalt("DMA failure")
/*
* ICU driver system settings.