docs/risc-v: fix tinyusb firmware path (#511)

This commit is contained in:
Johan Euphrosine 2021-08-24 11:20:02 +09:00 committed by GitHub
parent 15aa2d6978
commit 1965272046
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -346,6 +346,6 @@ The `TinyUSB <https://github.com/hathach/tinyusb>`__ USB stack supports Fomu. To
* Clone the TinyUSB git repository: ``git clone https://github.com/hathach/tinyusb`` (you don't need to initialize the subrepositories) * Clone the TinyUSB git repository: ``git clone https://github.com/hathach/tinyusb`` (you don't need to initialize the subrepositories)
* Change to ``tinyusb/examples/device/cdc_msc`` * Change to ``tinyusb/examples/device/cdc_msc``
* Compile: ``make BOARD=fomu CROSS_COMPILE=riscv64-unknown-elf-`` * Compile: ``make BOARD=fomu CROSS_COMPILE=riscv64-unknown-elf-``
* Load it onto the Fomu: ``dfu-util -D _build/build-fomu/fomu-firmware.bin`` * Load it onto the Fomu: ``dfu-util -D _build/fomu/cdc_msc.bin``
Fomu should now appear as a USB storage device containing a README. Fomu should now appear as a USB storage device containing a README.