Cargo Features
[dependencies]
pyportal = { version = "0.11.0", default-features = false, features = ["rt", "usb", "display", "use_semihosting"] }
- default = rt
-
ask the HAL to enable atsamd51j support
Enables samd51j of atsamd-hal
- rt default = cortex-m-rt
-
Enables samd51j-rt of atsamd-hal
- usb = usb-device
-
Enables usb of atsamd-hal
Affects
pyportal::usb_allocator
… - display = display-interface-parallel-gpio, ili9341
- use_semihosting
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.