summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-06-07 18:51:44 +0700
committerhathach <[email protected]>2021-06-07 18:51:44 +0700
commitc2b85c8d6d7fb0cc202e4f1dd0f5e8b359c27396 (patch)
tree14055e2c039db2e126abf9d032cfb4f425183942 /src
parent26b9fc38ed5a525428d81e4ebfc05bfc366083e8 (diff)
add OPT_MCU_MM32F327X
move dcd_mm32f into mindmotion folder
Diffstat (limited to 'src')
-rw-r--r--src/portable/mindmotion/mm32/dcd_mm32f327x_otg.c (renamed from src/portable/mm32/dcd_mm32f327x_otg.c)8
-rw-r--r--src/tusb_option.h3
2 files changed, 7 insertions, 4 deletions
diff --git a/src/portable/mm32/dcd_mm32f327x_otg.c b/src/portable/mindmotion/mm32/dcd_mm32f327x_otg.c
index e7518830e..59a40dc68 100644
--- a/src/portable/mm32/dcd_mm32f327x_otg.c
+++ b/src/portable/mindmotion/mm32/dcd_mm32f327x_otg.c
@@ -1,4 +1,4 @@
-/*
+/*
* The MIT License (MIT)
*
* Copyright (c) 2020 SE TEAM
@@ -25,12 +25,12 @@
*/
#include "tusb_option.h"
-#include "reg_usb_otg_fs.h"
-#include "mm32_device.h"
-#include "hal_conf.h"
#if TUSB_OPT_DEVICE_ENABLED && ( CFG_TUSB_MCU == OPT_MCU_MM32F327X )
+#include "reg_usb_otg_fs.h"
+#include "mm32_device.h"
+#include "hal_conf.h"
#include "device/dcd.h"
//--------------------------------------------------------------------+
diff --git a/src/tusb_option.h b/src/tusb_option.h
index cdaf074db..5cfcc08e2 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -113,6 +113,9 @@
// Renesas RX
#define OPT_MCU_RX63X 1400 ///< Renesas RX63N/631
+// Mind Motion
+#define OPT_MCU_MM32F327X 1500 ///< Mind Motion MM32F327
+
/** @} */
/** \defgroup group_supported_os Supported RTOS