Skip to content

Kotsiubynskyi/stm32wb55_usb

Repository files navigation

STM32WB55 USB Example

Simple USB program for WeAct Studio board based on STM32WB55CGU6

LED is on pin PE4 and user button is on PH3

How to build and flash (for Ubuntu)

  1. Install needed ARM development toolchain and other utilities:

    apt update; apt install -y cmake git usbutils ninja-build gcc-arm-none-eabi stlink-tools
  2. Clone the project:

    git clone --recursive https://github.com/Kotsiubynskyi/stm32wb55_usb.git
    cd stm32wb55_usb
  3. Generate build files:

    cmake -B build -G Ninja
  4. Build project from build folder:

    cmake --build build
  5. Insert ST-LINK programmer USB stick and make sure it's visible by OS:

    lsusb|grep STMicroelectronics
  6. Upload built firmware to MCU:

    st-flash erase && st-flash --reset write build/stm32wb55_usb.bin 0x8000000

About

Example usage project of TinyUSB + STM32WB55

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages