Home

Awesome

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

STM32F446RE (NUCLEO-F446RE board)

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

STM32F446ZE (NUCLEO-F446ZE board)

rustup target add thumbv7em-none-eabihf
cd example-f446ze-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

STM32F407IG (XCore407I board)

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