diff --git a/src/portable/mm32/dcd_mm32f327x_otg.c b/src/portable/mindmotion/mm32/dcd_mm32f327x_otg.c similarity index 99% rename from src/portable/mm32/dcd_mm32f327x_otg.c rename to 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