arpruss / USBComposite_stm32f1

USB Composite library for STM32F1 (HID, Serial, MIDI and XBox360 controller)
Other
382 stars 76 forks source link

Porting library to official STM Core #15

Open edogaldo opened 6 years ago

edogaldo commented 6 years ago

Hello @arpruss, did/could you evaluate the porting of your library to the STM's official core?

Thanks in advance and best!

arpruss commented 6 years ago

I would be nice, but no doubt a lot of work. The benefit to me would be that it might then work on the F3.

RickKimball commented 5 years ago

+1 from me. I just discovered the virtues of this USB implementation. It would be great to have code that worked with both stm32duino and the STM official one.

arpruss commented 5 years ago

I don't use that core and know very little about it.

rtek1000 commented 5 years ago

https://github.com/stm32duino/Arduino_Core_STM32/issues/668

macbef commented 4 years ago

Has this awesome lib been ported to STM's stm32duino yet? I tried to compile this but there are still a lot of dependencies to libmaple. Am I doing something wrong? I'd like to use roger's core but my bluepill doesn't jump from bootloader (libusb) to HID when I use roger's core. Maybe there's an issue with FS and HS mode for USB but I can't find a solution (in the STM core [using platformio] there is a build flag to set the USB to FS. But not for roger's core.

rtek1000 commented 4 years ago

I'd like to use roger's core but my bluepill doesn't jump from bootloader (libusb) to HID when I use roger's core.

Maybe you can comment on that in Roger's core issues.

czho commented 4 years ago

Any progress, I would really like to see this and If no one else does this I might do it my self.

arpruss commented 4 years ago

You need to port usb_generic.c to do it.

czho commented 4 years ago

Yea, I've started on a port but Idk if I will ever finish it because I'm still working on other projects. It's actually easier than I originally thought, as ST actually has a USB lib thing called "STM32 USB Device Library" and "STM32 USB Host Library" which are both included with the stm32duino core.

robcazzaro commented 4 years ago

@CZHO404 any progress by chance? If you don't plan to work on this, can you share what you started doing, so I can see if I might be able to help?

czho commented 4 years ago

Well I got some success but my computer died so Im kinda back to square 1. I can't even help cause I have nothing to do it with. Sorry when I get everything sorted I might tho.

BennehBoy commented 3 years ago

bump :D

Is everything that needs some port work abstracted into/self contained in usb_generic?

@czho did you manage to dust off any of the work that you started?

baniaque commented 3 years ago

Man, very important library but without official STM Core support is not usable in many projects because most of libs are not compatibile with Roger's core, like LCD and touch screen libs etc. So please, please, please - make port to official STM Core - much more possibilities and good F4 support :)

czho commented 3 years ago

bump :D

Is everything that needs some port work abstracted into/self contained in usb_generic?

@czho did you manage to dust off any of the work that you started?

Na my pc completely died saddly. It was a laptop with integrated storage so theres really no way of me getting it without paying a data recovery service or buying a new one and soldering the old chips onto my new pc.