google / google/wasefire

The board API should only ask for a UsbBus

Open
#33 0 comments 0 reactions 0 assignees View on GitHub
crate:board for:usability needs:implementation
Dominant language
Rust
Stars
188
Forks
41
Avg merge
1d 5h
Merged PRs (30d)
12

Description

This simplifies board implementations by having USB handling fully in the scheduler, thus shared and common across all boards.

This relates to #60 and #61.

The design could be as follow:
- Add an `api-usb-bus` feature for `usb::Api::Bus`.
- Add an `internal-no-api-usb-bus` as a dependency of all other USB APIs.
- Make sure at compile time that `api-usb-bus` and `internal-no-api-usb-bus` are not enabled at the same time.
- Design the applet API to configure and use the USB bus (protocol, serial, HID, HID CTAP, etc).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.