Files
fluxengine/lib/usb/usb.proto
2023-05-25 19:50:05 +02:00

25 lines
602 B
Protocol Buffer

syntax = "proto2";
import "lib/common.proto";
message GreaseweazleProto {
enum BusType { /* note that these must match CMD_SET_BUS codes */
BUSTYPE_INVALID = 0;
IBMPC = 1;
SHUGART = 2;
APPLE2 = 3;
};
optional string port = 1
[(help) = "Greaseweazle serial port to use"];
optional BusType bus_type = 2
[(help) = "which FDD bus type is in use", default = IBMPC];
}
message UsbProto {
optional string serial = 1
[(help) = "serial number of FluxEngine or Greaseweazle device to use"];
optional GreaseweazleProto greaseweazle = 2 [(help) = "Greaseweazle-specific options"];
}