USB_OTG_DEVICE BARE METAL STACK EXAMPLE

DIRECTORY: "Application" contain provided example

This repository contains the sources created during the USB tutorial video in Polish leanguage. The video is available at this link: https://youtu.be/730B1NHwu7o

Directory: Driver/USBd_otg_fs/* contain prepared files for usb_otg_fs device driver Dicrectory: applications// the prepared examples have been placed...

To check changes history please call: "gitk&" in this project at him location to see changes in diffrent implementation states

This project was created only for educational purposes. Created software is prepared for Board- BlackPill with STM32F401CCU6:

BlackPill

The example presents composite device: VCP+HID (Mouse)

  • You are ready to start adventure with this USB STACK examples when you have this tools in your environment (environment variables)!

    • arm-none-eabi-gcc 9.3.1

    • OpenOCD 0.11.0

    • make 4.2.1 / or 3.81

    • The versions aren't important on 99% ;)

To clone this repo please use following command:

  • git clone --recurse-submodules

Finally:

**_Call "make" in this project at him location to compile provided example

You can call "make flash" to program MCU.

General References:

How to tinyUSB in STM32CubeIDE:

The last only as Curiosity:

https://github.com/alambe94/I-CUBE-USBD-Composite?fbclid=IwAR2vQEj_NNZ7KUWyuTjpTuLJg-uFVfsuOl11_1ine6B1eP6DTmZ_XS_4VLw

Another usefull documents/ links used during video/ writing the driver are available in: Docs/*