Skip to content

Commit 6b625ef

Browse files
committed
USB-related fixes
1 parent 87bce34 commit 6b625ef

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

variants/RUMBA32_F446VE/PeripheralPins.c

+6
Original file line numberDiff line numberDiff line change
@@ -349,4 +349,10 @@ const PinMap PinMap_USB_OTG_FS[] = {
349349
};
350350
#endif
351351

352+
#ifdef HAL_PCD_MODULE_ENABLED
353+
const PinMap PinMap_USB_OTG_HS[] = {
354+
{NC, NP, 0}
355+
};
356+
#endif
357+
352358

variants/RUMBA32_F446VE/stm32f4xx_hal_conf.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@
8787
/* #define HAL_SMARTCARD_MODULE_ENABLED */
8888
/* #define HAL_WWDG_MODULE_ENABLED */
8989
#define HAL_CORTEX_MODULE_ENABLED
90-
#define HAL_PCD_MODULE_ENABLED
91-
#define HAL_HCD_MODULE_ENABLED
90+
/* #define HAL_PCD_MODULE_ENABLED */
91+
/* #define HAL_HCD_MODULE_ENABLED */
9292
/* #define HAL_FMPI2C_MODULE_ENABLED */
9393
/* #define HAL_SPDIFRX_MODULE_ENABLED */
9494
/* #define HAL_DFSDM_MODULE_ENABLED */

0 commit comments

Comments
 (0)