usb-otg-workspace

A collection of examples for synopsys-usb-otg.

Running the examples

STM32F429ZI (NUCLEO-F429ZI board)

rustup target add thumbv7em-none-eabihf
cd example-f429zi-board
openocd -f openocd.cfg &
cargo run --release --features "fs" --example serial
cargo run --release --features "fs" --example test_class

STM32F401CC (STM32F401 Development Board from AliExpress)

rustup target add thumbv7em-none-eabihf
cd example-f401-board
openocd -f openocd.cfg &
cargo run --release --example serial
cargo run --release --example test_class

STM32F407VG (STM32F407G-DISC1 board)

rustup target add thumbv7em-none-eabihf
cd example-f407-board
openocd -f openocd.cfg &
cargo run --release --example serial
cargo run --release --example test_class