esp32-s2_dfu/examples
Nathan Conrad 8f3c0663ad Set MSC DISK DUAL readonly on F070. 2019-09-09 19:51:22 -04:00
..
device Set MSC DISK DUAL readonly on F070. 2019-09-09 19:51:22 -04:00
host/cdc_msc_hid rename CFG_TUSB_HOST_CUSTOM_CLASS to CFG_TUH_VENDOR 2019-07-19 16:31:51 +07:00
obsolete/host add TU_ prefix to compiler ATTR to prevent name conflict with application 2019-06-06 10:39:37 +07:00
make.mk board_test work with lpcxpresso55s69 2019-09-03 13:25:36 +07:00
readme.md update docs 2019-09-06 16:50:00 +07:00
rules.mk ported pca10059 2019-09-08 21:55:03 +07:00

readme.md

Examples

Clone this repo

$ git clone https://github.com/hathach/tinyusb tinyusb
$ cd tinyusb

Fetch submodule MCUs drivers

TinyUSB examples includes external repos aka submodules to provide low-level MCU peripheral's driver to compile with. Therefore we will firstly fetch those mcu driver repo by running this command in the top folder repo

$ git submodule update --init --rescursive

It will takes a bit of time due to the number of supported MCUs, luckily we only need to do this once.

Build

Here is the list of supported Boards that should work out of the box with provided examples.

To build example, go to its folder project then type make BOARD=[our_board] all e.g

$ cd examples/device/cdc_msc_hid
$ make BOARD=feather_nrf52840_express all

Flash

TODO: write more on flashing

$ make BOARD=feather_nrf52840_express flash