GithubHelp home page GithubHelp logo

levi--g / usblibrarystm32 Goto Github PK

View Code? Open in Web Editor NEW
16.0 16.0 0.0 97 KB

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

C++ 38.02% C 61.98%

usblibrarystm32's People

Contributors

levi--g avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

usblibrarystm32's Issues

which MIDIUSB library needed?

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!

Using Joystick Libary with SerialUSB Communication

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?

Custom pluggable SerialUSB library?

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?

STM32F401 Black Pill SerialUSB + Joystick

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!

F401 Serial and HID

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.