summaryrefslogtreecommitdiff
path: root/src/portable/st
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-03-22 22:06:48 +0700
committerhathach <[email protected]>2019-03-22 22:06:48 +0700
commitba1bea5d536d232cd5e535ff33ac372f7dd9a575 (patch)
treefeef6ec32375ce3c0eb96006b9560476b5ab4a11 /src/portable/st
parent2533f4004eb936cde565b58ea747dd90f981b8c5 (diff)
simplify board API, adding stm32f3 discovery
- remove board header since it is not used
Diffstat (limited to 'src/portable/st')
-rw-r--r--src/portable/st/stm32f4/dcd_stm32f4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/st/stm32f4/dcd_stm32f4.c b/src/portable/st/stm32f4/dcd_stm32f4.c
index 472a63f32..d99e455ed 100644
--- a/src/portable/st/stm32f4/dcd_stm32f4.c
+++ b/src/portable/st/stm32f4/dcd_stm32f4.c
@@ -26,7 +26,7 @@
#include "tusb_option.h"
-#if TUSB_OPT_DEVICE_ENABLED && CFG_TUSB_MCU == OPT_MCU_STM32F4
+#if TUSB_OPT_DEVICE_ENABLED && (CFG_TUSB_MCU == OPT_MCU_STM32F4 || CFG_TUSB_MCU == OPT_MCU_STM32F3)
#include "device/dcd.h"
#include "stm32f4xx.h"