From 10de5a3e7884cc6172a5e2b1dccab4ad0cdf1626 Mon Sep 17 00:00:00 2001 From: sakimisu <1203593632@qq.com> Date: Sun, 6 Nov 2022 16:29:47 +0800 Subject: [PATCH] add video class into compile --- .../MDK-ARM/stm32f429igt6.uvoptx | 26 ++++++++++++++----- .../MDK-ARM/stm32f429igt6.uvprojx | 7 ++++- .../MDK-ARM/stm32h743xih6.uvoptx | 16 ++++++++++-- .../MDK-ARM/stm32h743xih6.uvprojx | 7 ++++- 4 files changed, 45 insertions(+), 11 deletions(-) diff --git a/demo/stm32/usb_host/stm32f429igt6/MDK-ARM/stm32f429igt6.uvoptx b/demo/stm32/usb_host/stm32f429igt6/MDK-ARM/stm32f429igt6.uvoptx index 3a19fbd0..1ad1a650 100644 --- a/demo/stm32/usb_host/stm32f429igt6/MDK-ARM/stm32f429igt6.uvoptx +++ b/demo/stm32/usb_host/stm32f429igt6/MDK-ARM/stm32f429igt6.uvoptx @@ -715,7 +715,7 @@ CherryUSB - 0 + 1 0 0 0 @@ -798,6 +798,18 @@ 0 0 0 + ..\..\..\..\..\class\video\usbh_video.c + usbh_video.c + 0 + 0 + + + 6 + 41 + 1 + 0 + 0 + 0 ..\..\..\..\..\osal\usb_osal_freertos.c usb_osal_freertos.c 0 @@ -805,7 +817,7 @@ 6 - 41 + 42 1 0 0 @@ -825,7 +837,7 @@ 0 7 - 42 + 43 1 0 0 @@ -837,7 +849,7 @@ 7 - 43 + 44 1 0 0 @@ -849,7 +861,7 @@ 7 - 44 + 45 1 0 0 @@ -861,7 +873,7 @@ 7 - 45 + 46 1 0 0 @@ -873,7 +885,7 @@ 7 - 46 + 47 1 0 0 diff --git a/demo/stm32/usb_host/stm32f429igt6/MDK-ARM/stm32f429igt6.uvprojx b/demo/stm32/usb_host/stm32f429igt6/MDK-ARM/stm32f429igt6.uvprojx index f1212211..e5aa437e 100644 --- a/demo/stm32/usb_host/stm32f429igt6/MDK-ARM/stm32f429igt6.uvprojx +++ b/demo/stm32/usb_host/stm32f429igt6/MDK-ARM/stm32f429igt6.uvprojx @@ -340,7 +340,7 @@ USE_HAL_DRIVER,STM32F429xx - ../Core/Inc;../Drivers/STM32F4xx_HAL_Driver/Inc;../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy;../Drivers/CMSIS/Device/ST/STM32F4xx/Include;../Drivers/CMSIS/Include;..\..\..\..\..\common;..\..\..\..\..\core;..\..\..\..\..\class\cdc;..\..\..\..\..\class\hub;..\..\..\..\..\class\hid;..\..\..\..\..\class\msc;..\..\..\..\..\class\wireless;..\..\..\..\..\osal;..\..\..\..\..\third_party\FreeRTOS-10.4\include;..\..\..\..\..\third_party\FreeRTOS-10.4\portable\GCC\ARM_CM4F;..\..\..\..\..\third_party\fatfs-0.14\source + ../Core/Inc;../Drivers/STM32F4xx_HAL_Driver/Inc;../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy;../Drivers/CMSIS/Device/ST/STM32F4xx/Include;../Drivers/CMSIS/Include;..\..\..\..\..\common;..\..\..\..\..\core;..\..\..\..\..\class\cdc;..\..\..\..\..\class\hub;..\..\..\..\..\class\hid;..\..\..\..\..\class\msc;..\..\..\..\..\class\wireless;..\..\..\..\..\class\video;..\..\..\..\..\osal;..\..\..\..\..\third_party\FreeRTOS-10.4\include;..\..\..\..\..\third_party\FreeRTOS-10.4\portable\GCC\ARM_CM4F;..\..\..\..\..\third_party\fatfs-0.14\source @@ -604,6 +604,11 @@ 1 ..\..\..\..\..\class\wireless\usbh_rndis.c + + usbh_video.c + 1 + ..\..\..\..\..\class\video\usbh_video.c + usb_osal_freertos.c 1 diff --git a/demo/stm32/usb_host/stm32h743xih6/MDK-ARM/stm32h743xih6.uvoptx b/demo/stm32/usb_host/stm32h743xih6/MDK-ARM/stm32h743xih6.uvoptx index 71451a05..89e31081 100644 --- a/demo/stm32/usb_host/stm32h743xih6/MDK-ARM/stm32h743xih6.uvoptx +++ b/demo/stm32/usb_host/stm32h743xih6/MDK-ARM/stm32h743xih6.uvoptx @@ -848,6 +848,18 @@ 0 0 0 + ..\..\..\..\..\class\video\usbh_video.c + usbh_video.c + 0 + 0 + + + 6 + 43 + 1 + 0 + 0 + 0 ..\..\..\..\..\class\wireless\usbh_rndis.c usbh_rndis.c 0 @@ -855,7 +867,7 @@ 6 - 43 + 44 1 0 0 @@ -867,7 +879,7 @@ 6 - 44 + 45 1 0 0 diff --git a/demo/stm32/usb_host/stm32h743xih6/MDK-ARM/stm32h743xih6.uvprojx b/demo/stm32/usb_host/stm32h743xih6/MDK-ARM/stm32h743xih6.uvprojx index 059518c6..5040a9ce 100644 --- a/demo/stm32/usb_host/stm32h743xih6/MDK-ARM/stm32h743xih6.uvprojx +++ b/demo/stm32/usb_host/stm32h743xih6/MDK-ARM/stm32h743xih6.uvprojx @@ -340,7 +340,7 @@ USE_HAL_DRIVER,STM32H743xx,STM32H7 - ../Core/Inc;../Drivers/STM32H7xx_HAL_Driver/Inc;../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy;../Drivers/CMSIS/Device/ST/STM32H7xx/Include;../Drivers/CMSIS/Include;..\..\..\..\..\core;..\..\..\..\..\common;..\..\..\..\..\osal;..\..\..\..\..\class\cdc;..\..\..\..\..\class\hid;..\..\..\..\..\class\msc;..\..\..\..\..\class\hub;..\..\..\..\..\class\wireless;..\..\..\..\..\third_party\FreeRTOS-10.4\include;..\..\..\..\..\third_party\FreeRTOS-10.4\portable\GCC\ARM_CM7\r0p1 + ../Core/Inc;../Drivers/STM32H7xx_HAL_Driver/Inc;../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy;../Drivers/CMSIS/Device/ST/STM32H7xx/Include;../Drivers/CMSIS/Include;..\..\..\..\..\core;..\..\..\..\..\common;..\..\..\..\..\osal;..\..\..\..\..\class\cdc;..\..\..\..\..\class\hid;..\..\..\..\..\class\msc;..\..\..\..\..\class\hub;..\..\..\..\..\class\wireless;..\..\..\..\..\class\video;..\..\..\..\..\third_party\FreeRTOS-10.4\include;..\..\..\..\..\third_party\FreeRTOS-10.4\portable\GCC\ARM_CM7\r0p1 @@ -614,6 +614,11 @@ 1 ..\..\..\..\..\class\msc\usbh_msc.c + + usbh_video.c + 1 + ..\..\..\..\..\class\video\usbh_video.c + usbh_rndis.c 1