STM32H725 usb missing ux_dcd_stm32.h
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-18 8:06 AM
Subject: STM32H7 USBX Virtual COM Port Setup - Missing ux_dcd_stm32.h File
Hello ST Community,
I'm working on setting up a USB Virtual COM port on an STM32H7 microcontroller using Azure RTOS (AzureRTOS-H7). I'm encountering an issue with missing USBX files, specifically the STM32 device controller driver header.
**Project Details:**
- Microcontroller: STM32H7 (specific model: STM32H725RGVX)
- IDE: STM32CubeIDE (Version: 1.16.0)
- Azure RTOS Package Version: 3.3.0
I Have tried
- Created a new STM32H7 project in STM32CubeIDE
- Enabled USB in the .ioc file(Device Only)
- Configured USBX middleware
- Checked the following packages in the manager
- Core System
- UX Device CoreStack
- UX Device Class CDC ACM
- Enable the the USB USBX
**Issue:**
After enabling USB in the .ioc file and generating the code, I'm getting the following error when trying to compile:
```
app_usbx_device.h:32:10: fatal error: ux_dcd_stm32.h: No such file or directory
```
Any guidance or suggestions would be greatly appreciated. Thank you in advance for your help!
[Your Name/Username]
Solved! Go to Solution.
- Labels:
-
STM32H7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-18 8:24 AM - edited ‎2024-09-18 8:28 AM
Hello @MiB_s,
Make sure to Include the correct paths to your include directories.
This article may help you: How to implement the USB device composite class in... - STMicroelectronics Community
You can also refer to this github repository :
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-18 8:24 AM - edited ‎2024-09-18 8:28 AM
Hello @MiB_s,
Make sure to Include the correct paths to your include directories.
This article may help you: How to implement the USB device composite class in... - STMicroelectronics Community
You can also refer to this github repository :
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-18 12:18 PM
It seems that the file is missing when i generate the project, i tried to copy the ux_dcd_stm32.h into the folder(\Middlewares\ST\usbx\common\usbx_device_classes\inc\) and this seems to fix the problem building the project. So thanks for the help!
