levi--g / usblibrarystm32 Goto Github PK
View Code? Open in Web Editor NEWAdds a very basic implementation of the original AVR Arduino USB API to make existing libraries compatible with stm32 boards
License: GNU Lesser General Public License v3.0
Adds a very basic implementation of the original AVR Arduino USB API to make existing libraries compatible with stm32 boards
License: GNU Lesser General Public License v3.0
Hello!
I'm trying to set up MIDIUSB using the following official core:
[env:genericSTM32F103CB]
platform = ststm32
board = genericSTM32F103CB
framework = arduino
However MIDIUSB.h is needed. Can you please share which version will work with your library?
I tried adding MIDIUSB by Gary Grewal buy it won't compile:
#error MIDIUSB can only be used with an USB MCU.
I'd be grateful for your guidance!
Thanks for making this possible, very excited to enjoy the USB midi with the official core!
Thank you for hard working, i tried to use SerialUsb method but device didn't recognize by windows.
Also tried to use only FFB libary but i got some error.
I am making mistake or not yet supporting those features?
First of all thank you for this amazing library which is allowing me to program my Blue Pills as game peripherals through Platformio. Can't say how much I apreciate it.
I am here to ask if it is possible in any way to add the Serial over USB functionality on top of the Game Peripheral HID.
I really need my application to send some Serial messages through USB, but I can't find any reference to the "Custom Pluggable SerialUSB library" you mentioned in your description.
Can you please help me getting this to work?
Hello there, still me.
After succeeding implementing both SerialUSB and custom HID with Joystick library on a F103, I am here to ask if it is possible in any way for you to help me unlocking this possibility also on the better performing and more reliable F401 Black Pill.
Let me attach some info here..
I am running your library on the latest Platformio release, and this is the .ini file config I'm attempting to use.
`[env:genericSTM32F401CD]
platform = ststm32
board = genericSTM32F401CD
framework = arduino
build_flags =
;-D USBD_REENUM_DISABLED
-D USBCON
-D PLUGGABLE_USB_ENABLED
-D USBD_USE_HID_COMPOSITE
-D USBD_VID=0x0CD4
-D USBD_PID=0x1010
'-D USB_PRODUCT_STRING="Custom Handbrake"'
lib_deps =
levi--g/USBLibrarySTM32@^0.2.0
mheironimus/Joystick@^2.1.1
thomasfredericks/Bounce2@^2.72`
But attempting to compile the same code which works flawlessy on a Blue pill, the compiler gives me the following attached errors..
Is there anything I can do to solve this? Or could you help in any way?
Thank you so much in advance, your support has already proven to be unvaluable!
editing to just 'Serial' works fine, suggest some IFDEF gates for F103 vs F401
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.