Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plase make port for official STM Cores #96

Open
baniaque opened this issue May 16, 2021 · 11 comments
Open

Plase make port for official STM Cores #96

baniaque opened this issue May 16, 2021 · 11 comments

Comments

@baniaque
Copy link

PLEASE! :) Most of libs are focused to official cores and this make impossible to use your library in many cool projects.

@lzref
Copy link

lzref commented Oct 19, 2021

This would be huge!

@madias123
Copy link

madias123 commented Mar 8, 2022

Since no "real" STM32F103Cx isn't available anymore, I have to change completely to the F401/F411 pills, this this superb library is getting obsolete.

@arpruss
Copy link
Owner

arpruss commented Mar 8, 2022

The library works fine with the fakes that I've used.

@arpruss
Copy link
Owner

arpruss commented Mar 8, 2022

I don't have the time or the need to figure out how the official core works. I would love it if someone ported this library.

@twisted-electrons
Copy link

Hello, has there been any progress porting this to the official core? I'd love to know if there is a solution to get USB MIDI working on the STM32 official core? Thanks!

@arpruss
Copy link
Owner

arpruss commented Jun 25, 2023

Nobody seems interested in picking up the task. And I don't use the official core as I'm told it's bloated.

@twisted-electrons
Copy link

@arpruss Hi Thanks for your reply.

@BennehBoy
Copy link

For anyone revisiting this topic...

I had a stab at porting this but it proved to be a bit of a Sisyphean task - there's too much of the USB stack embedded in the official core which would require multiple PR's to interface with it... most of that is based on the bog standard HAL implementation which is really rather thin in content. Another considerable issue in that space is that there are multiple other PRs for USB HID that conflict with one another, I just don't think that @fpistm has the time to refactor any of the USB side of things. So another PR would likely similarly languish in the repo.

@fpistm
Copy link

fpistm commented Sep 28, 2023

@BennehBoy

I just don't think that @fpistm has the time to refactor any of the USB side of things. So another PR would likely similarly languish in the repo.

I would like refactor USB to be inline with Arduino implementation (Pluggable USB,...) and probably use TinyUSB. But currently time is always the missing ingredient.

@arpruss
Copy link
Owner

arpruss commented Sep 28, 2023

I haven't looked at the official core, but if it exposes enough mid-level APIs, it shouldn't be super hard. On my library's side, I once put a lot of time into refactoring it so that all the core-dependent code is in usb_generic.c. So at most one just has to rewrite those 918 lines of code.

I suggest setting up a bounty, and then hopefully someone will be found to do it. Maybe even me. :-)

@twisted-electrons
Copy link

twisted-electrons commented Jun 25, 2024

@arpruss

Hi! Hope all is well

I have two STM32F4 projects in PlatformIO that desperately need USB MIDI support. I need this to work on the STM32F405. You mentioned setting up a bounty—I'm happy to do that, but could you please explain how?

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants