Cargo Features

printhor-hwi_nucleo_64_arduino_cnc_hat has no features set by default.

[dependencies]
printhor-hwi_nucleo_64_arduino_cnc_hat = { version = "0.0.3", features = ["nightly", "nucleo64-l476rg", "nucleo64-f410rb", "with-usbserial", "with-printjob", "with-uart-port-1", "with-spi", "with-hotend", "with-hotbed", "with-motion", "with-probe", "with-endstops", "with-sdcard", "with-layer-fan", "with-fan1", "with-laser", "with-defmt", "with-trinamic", "ili9341_parallel", "ili9341_spi"] }
nightly

Enables nightly of printhor-hwa-common

nucleo64-l476rg

Board kind

Enables task-arena-size-16384 of embassy-executor, stm32l476rg and time-driver-tim5 of embassy-stm32, tick-hz-100_000 of embassy-time

Affects device::AdcHotendPin, device::AdcHotbedPin, device::PwmServo, device::PwmHotendHotbed, device::PwmLayerFan, device::PwmHotend, device::PwmHotbed, device::PwmLaser, board::MACHINE_PROCESSOR, board::PROCESSOR_SYS_CK_MHZ, device::UartPort1TxDevice, device::UartPort1RxDevice, device::UartPort1RingBufferedRxDevice

nucleo64-f410rb

Enables stm32f410rb and time-driver-tim9 of embassy-stm32, tick-hz-100_000 of embassy-time and task-arena-size-16384 of embassy-executor

embassy-executor:

16384

Affects device::AdcHotendPin, device::AdcHotbedPin, device::PwmServo, device::PwmHotendHotbedLayer, device::PwmLayerFan, device::PwmHotend, device::PwmHotbed, device::PwmLaser, board::MACHINE_PROCESSOR, board::PROCESSOR_SYS_CK_MHZ, device::UartPort1TxDevice, device::UartPort1RxDevice, device::UartPort1RingBufferedRxDevice

with-usbserial = embassy-usb

Hardware device features

Affects device::USBDrv, io::usbserial, board::Controllers.usbserial_tx, board::IODevices.usbserial_rx_stream

with-printjob
with-uart-port-1 = embedded-io-async

Affects device::UartPort1TxControllerRef, io::uart_port1, board::Controllers.uart_port1_tx, board::IODevices.uart_port1_rx_stream, device::UartPort1TxDevice, device::UartPort1TxDevice, device::UartPort1RxDevice, device::UartPort1RingBufferedRxDevice, device::UartPort1RxDevice, device::UartPort1RingBufferedRxDevice

with-spi ili9341_spi? = embedded-hal

Affects device::SpiCardDevice, device::Spi, device::SpiDeviceRef

with-hotend = embedded-hal

Affects device::HotendPeripherals, board::PwmDevices.hotend

with-hotbed = embedded-hal

Affects device::HotbedPeripherals, board::PwmDevices.hotbed

with-motion

Affects device::MotionPins, device::MotionDevice, board::MotionDevices.motion_devices

with-probe = embedded-hal

Affects device::ProbePeripherals, board::PwmDevices.probe

with-endstops
with-sdcard

Affects device::SpiCardDeviceRef, device::SpiCardCSPin, device::CardDevice, board::SDCARD_PARTITION, board::IODevices.sdcard_device, board::IODevices.sdcard_cs_pin

with-layer-fan = embedded-hal

Affects device::LayerFanPeripherals, board::PwmDevices.layer_fan

with-fan1 = embedded-hal

Affects device::Fan1Peripherals

with-laser = embedded-hal

Affects device::LaserPeripherals, board::PwmDevices.laser

with-defmt

Enables with-defmt of printhor-hwa-common and defmt of embassy-executor and embassy-stm32

embassy-stm32:

Use defmt for logging

with-trinamic

Affects device::Uart4, device::UartTrinamic, device::MotionDevice.trinamic_uart

sdcard-uses-spi ili9341_parallel
ili9341_spi = with-spi

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.

embassy-usb with-usbserial?
embedded-hal with-fan1? with-hotbed? with-hotend? with-laser? with-layer-fan? with-probe? with-spi?
embedded-io-async with-uart-port-1?