Skip to content

HAL Update Guide

Ian edited this page Aug 29, 2024 · 3 revisions

v0.17

usb-device updates

The interface for supplying string descriptors has changed from:

.manufacturer("Fake company")
.product("Serial port")
.serial_number("TEST")

to

.strings(&[StringDescriptors::new(LangID::EN)
    .manufacturer("Fake company")
    .product("Serial port")
    .serial_number("TEST")])
.expect("Failed to set strings")
Clone this wiki locally