Hello everyone,
I am currently designing a battery tester, and would like to use the USB device interface on STM32F103C8T6 as more than just USB CDC.What i mean by this is instead of the USB interface being configured for the endpoints of CDC only, it also adds generic endpoints that can be used by libUSB.
What would be the easiest way to add this using the new core [https://github.com/stm32duino/Arduino_Core_STM32] without losing support for the serial functions on CDC that are available by default.
Thanks for helping
USB custom endpoints STM32F103
Re: USB custom endpoints STM32F103
I guess You should have to modify the CDC descriptor to define your specific needs.
Re: USB custom endpoints STM32F103
Which part of the Code is the descriptor in?
And is there an easy way to modify it from the arduino sketch itself?
And is there an easy way to modify it from the arduino sketch itself?
Re: USB custom endpoints STM32F103
https://github.com/stm32duino/Arduino_C ... #L170-L447
No it is not possible at sketch level.
Maybe you best bet is to create a new custom class for your need but you will be on you own for this.
No it is not possible at sketch level.
Maybe you best bet is to create a new custom class for your need but you will be on you own for this.