Applets

class squishy.gateware.applet.AppletElaboratable(*args: Any, src_loc_at: int = 0, **kwargs: Any)

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.

Variables:

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

abstract elaborate(platform: SquishyPlatform | Platform) Module

Gateware elaboration