This is intended, eventually, to replace the USB support in the core, but for now whilst testing and enhancing it with more devices it is in the form of a standard library you can drop into your favourite IDE.
The new stack gives you easy access to a number of USB device mode profiles which you can mix and match at will:
- USB Serial Port (CDC/ACM)
- MIDI Interface
- Raw HID
As I mentioned you can mix and match them at will. In any combination, and with any quantities, up to the limit of the number of available USB endpoints (15). Note that the USB Serial Port uses 2 endpoints for each instance, but all the others use just one.
At the moment it only supports PIC32MX based boards, but my next task is to work on a PIC32MZ driver for it.
So feel free to have a play and break it. Report bugs back to me either here or on the Github issues page for the repository.
Download from: https://github.com/MajenkoLibraries/USB