Replies: 2 comments 25 replies
-
|
Hi @Levi--G I first have to try it to better understand how it works and how to solve/enhance its support. Last idea, I have is to be able to provide build options override from a library as I think it is a real blocker for some support (ex: FreeRTOS). As you can see, I've already think about several solutions. So looking forward to hear from you too 😉 |
Beta Was this translation helpful? Give feedback.
-
|
Hey @Levi--G , I hope you’re doing great 🙂 , I’m currently working on integrating the ArduinoCore-API into the STM32duino core #2852 . As part of this, the core will provide the official PluggableUSB.h / PluggableUSB.cpp implementation. Since you already built an external USB stack that uses PluggableUSB on top of the ST USBDevice library, I’d like to discuss with you how we could eventually use your work as a base to properly integrate it as an alternative to the current built‑in USB classes. Looking forward to your thoughts 😊 Aymane |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey @fpistm
I know you are busy so i'll try not to take up too much time.
This week i made the final changes for https://github.com/Levi--G/USBLibrarySTM32 for the 1.0.0 release, i think this would be a good candidate to eventually be a usb alternative for the now existing usb classes. I am open to eventually integrate it in the base core as a built-in library, but i first want to tackle some issues i didn't get done in 1.0.0. And with the (hopefully) influx of more users using it i bet the amount of issues will also need quick bugfixing and i don't want to make everyone download the platform again each time ;)
To that end I need some help supporting the library on arduino IDE next to platformio. I asked arduino for support and created an issue there but that led nowhere and went dead as soon as it was made. (arduino/arduino-cli#2908) The issue is that USBCON and HAL_PCD_MODULE_ENABLED need to be defined without the composite device or other classes loading. One way i could see this is if we would add an option to the usb menu with "External USB library" and then just defining those 2 without the classes. Would you be open to that? Or do you know a better solution?
If we can find something we can agree on i can make a pull request to integrate it?
Looking forward to hearing from you.
Levi
Beta Was this translation helpful? Give feedback.
All reactions