How to enable CFG_USB_INTERFACE_ENABLE in STM32CUBEMX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-12-12 5:13 AM
I am trying to make the make the thread command line application on my custom board that communicates through the usb. In the WPAN configuration in CubeMX there does not seem to be an option that turns on CFG_USB_INTERFACE_ENABLE. Does anyone know how to turn this on?
- Labels:
-
STM32CubeMX
-
STM32WB series
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-23 10:04 PM
I ran into this issue, I had to manually edit my .ioc project file. This is what my ioc diff looked like:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-15 4:01 AM
I have the same issue. Every time I generate code from cubeMX I have to manually set the CFG_USB_INTERFACE_ENABLE define in app_conf.h to 1
It seems that cube MX forgets to enable this define even when you configure use of CDC usb device in cubeMx.
If I add it manually to the ioc file like mentioned above, the IOC file is overwritting it again and removed the manually added defines.
Did anyone solved this annoying issue?
