Skip to content

Latest commit

 

History

History
59 lines (38 loc) · 1.99 KB

README.md

File metadata and controls

59 lines (38 loc) · 1.99 KB

mynewt-tinyusb-example

tinyUSB_240x100

Build Status License

Due to the newt package build system, Mynewt examples are better to be a spin-off from the main stack repo. To run the examples

$ git clone https://github.com/hathach/mynewt-tinyusb-example.git
$ cd mynewt-tinyusb-example
$ newt install

Supported Boards

Examples should be able to run with boards that are supported by Mynewt, provided that the mcu is already supported by TinyUSB stack. Following is board that is mainly used and tested

Nordic nRF52840DK PCA10056

Build and load bootloader

$ newt build pca10056_boot
$ newt load pca10056_boot

Now we can build tinyusb example, create image and load it

CDC MSC HID composite example

This example enumerated as composite device with CDC, MSC and HID

$ newt build pca10056_cdc_msc_hid
$ newt create-image pca10056_cdc_msc_hid 1.0.0
$ newt load pca10056_cdc_msc_hid

MSC dual Logical Unit

This example enumerated as mass storage with dual ram disk

$ newt build pca10056_msc_dual_lun
$ newt create-image pca10056_msc_dual_lun 1.0.0
$ newt load pca10056_msc_dual_lun

STMicroeclectronic STM32F4 Discovery

Work in progresss, not able to blink LED just yet.