ChibiOS-Contrib/demos/GD32VF103/USB_CDC_IAD
zykrahgaming 7014bc09be Even more updates to chconf.h files 2022-01-01 18:24:30 +11:00
..
cfg Even more updates to chconf.h files 2022-01-01 18:24:30 +11:00
driver Add USB CDC demo for the longan nano board 2021-04-06 13:38:23 +02:00
.cproject Add USB CDC demo for the longan nano board 2021-04-06 13:38:23 +02:00
.project Add USB CDC demo for the longan nano board 2021-04-06 13:38:23 +02:00
Makefile Update Makefiles to use new test library 2022-01-01 17:34:33 +11:00
main.c Add USB CDC demo for the longan nano board 2021-04-06 13:38:23 +02:00
mcuconf.h Add myself to copyright notes :-) 2021-04-06 13:38:23 +02:00
readme.txt Add USB CDC demo for the longan nano board 2021-04-06 13:38:23 +02:00
usbcfg.c Add USB CDC demo for the longan nano board 2021-04-06 13:38:23 +02:00
usbcfg.h Add USB CDC demo for the longan nano board 2021-04-06 13:38:23 +02:00

readme.txt

*****************************************************************************
** ChibiOS/HAL - USB-CDC (IAD descriptors) driver demo for STM32F4xx.      **
*****************************************************************************

** TARGET **

The demo runs on an Sipeed Longan Nano GD32VF103CBT6 board.

** The Demo **

The application demonstrates the use of the GD32VF103CBT6 USB driver.

** Build Procedure **

The demo has been tested using the riscv-gnu-toolchain https://github.com/riscv/riscv-gnu-toolchain. 
Flash using a recent dfu-util version wich has the fixes for the DFU Bootloader of the GD32VF103 https://sourceforge.net/projects/dfu-util/.

```shell
make
dfu-util -d 28e9:0189 -s 0x08000000:leave -D ./build/usbcdc.bin -w
```

** Notes **

Some files used by the demo are not part of ChibiOS/RT but are copyright of
ST Microelectronics and are licensed under a different license.
Also note that not all the files present in the ST library are distributed
with ChibiOS/RT, you can find the whole library on the ST web site:

                             http://www.st.com