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:
2026-05-30 21:06:58 +08:00
parent 8763b25839
commit 5e662f8458
31 changed files with 42 additions and 12877 deletions
-15
View File
@@ -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.
*/