Applets

class squishy.gateware.applet.AppletElaboratable None

Squishy Applet gateware interface.

This is the base class for the gateware for Squishy applets. It provides a common consumable API that allows the Squishy gateware superstructure to interface with the applet core.

Attributes:

usb_request_handlers (list[USBRequestHandler] | None) – Any additional USB request handlers to register.

property usb_request_handlers: list[USBRequestHandler] | None

Returns a list of USB request handlers

classmethod usb_init_descriptors(desc_collection: DeviceDescriptorCollection) int

Initialize USB descriptors

Return type:

int

abstractmethod elaborate(platform: SquishyPlatform | Platform) Module

Gateware elaboration

Return type:

Module