iqlusioninc / usbarmory.rs

Bare metal Rust support for USB armory MkII devices
Apache License 2.0
58 stars 4 forks source link

USB bulk transfer: device & host examples #29

Closed japaric closed 4 years ago

japaric commented 4 years ago

Note that USB examples must be compiled in release mode (with optimizations) and with the big Cargo feature enabled (the feature does nothing in the code, but simplifies the CI logic). The unoptimized binaries are larger than OCRAM (128 KB), where the whole program will be loaded, so building without optimizations will result in a linker error.