chore: disable USB_OTG_HS in CubeMX, remove USB device library
- Remove USB_OTG_HS peripheral and all USB Device Library files - Remove USB_DEVICE application (usb_device, usbd_cdc_if, usbd_desc, usbd_conf) - Remove HAL PCD/LL USB driver files - Update generated files (main.c, freertos.c, stm32h7xx_it.c, hal_conf.h, CMakeLists)
This commit is contained in:
@@ -55,7 +55,6 @@
|
||||
/* USER CODE END 0 */
|
||||
|
||||
/* External variables --------------------------------------------------------*/
|
||||
extern PCD_HandleTypeDef hpcd_USB_OTG_HS;
|
||||
extern DMA_HandleTypeDef hdma_adc1;
|
||||
extern FDCAN_HandleTypeDef hfdcan1;
|
||||
extern FDCAN_HandleTypeDef hfdcan2;
|
||||
@@ -536,20 +535,6 @@ void DMA2_Stream7_IRQHandler(void)
|
||||
/* USER CODE END DMA2_Stream7_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles USB OTG HS global interrupt.
|
||||
*/
|
||||
void OTG_HS_IRQHandler(void)
|
||||
{
|
||||
/* USER CODE BEGIN OTG_HS_IRQn 0 */
|
||||
|
||||
/* USER CODE END OTG_HS_IRQn 0 */
|
||||
HAL_PCD_IRQHandler(&hpcd_USB_OTG_HS);
|
||||
/* USER CODE BEGIN OTG_HS_IRQn 1 */
|
||||
|
||||
/* USER CODE END OTG_HS_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles UART7 global interrupt.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user