-
-
Notifications
You must be signed in to change notification settings - Fork 84
Comparing changes
Open a pull request
base repository: pybricks/pybricks-micropython
base: master
head repository: pybricks/pybricks-micropython
compare: dlech-usb
- 11 commits
- 70 files changed
- 2 contributors
Commits on Nov 26, 2023
-
Replace STM32 USB library with submodule
Replaces the copy of the STM32 USB library with a submodule. Uses v2.6.0 as that was roughly the version that was in the repo. Temporarily adds #undef for MIN and MAX to get it to compile. Removes the CDC file from the build as a subsequent change will replace that with a custom class. Signed-off-by: Nate Karstens <nate.karstens@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 12076e1 - Browse repository at this point
Copy the full SHA 12076e1View commit details -
Updates the USB driver to tips. Removes the MIN & MAX #undefs that were temporarily added in the previous patch. The most important thing to note regarding compatibility is that USBD_HandleTypeDef::pUserData is now an array. Signed-off-by: Nate Karstens <nate.karstens@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7a7f5bb - Browse repository at this point
Copy the full SHA 7a7f5bbView commit details -
Renames VCP (Virtual COM Port) functions to better reflect a Pybricks custom class and makes functions static. Signed-off-by: Nate Karstens <nate.karstens@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for dcd29eb - Browse repository at this point
Copy the full SHA dcd29ebView commit details -
Removes the USB serial driver. A future change will add functionality for a custom USB driver to the existing battery charging driver. Signed-off-by: Nate Karstens <nate.karstens@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9ff624c - Browse repository at this point
Copy the full SHA 9ff624cView commit details -
Adds a new Pybricks device class and provides the correct descriptors so that Windows will use the WinUSB driver. Signed-off-by: Nate Karstens <nate.karstens@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for bda9b67 - Browse repository at this point
Copy the full SHA bda9b67View commit details -
Add UUID little endian utility functions
Adds functions to copy and compare UUIDs in little endian format. USB is a little endian protocol, so this will be used to encode and decode UUIDs properly on this medium. Signed-off-by: Nate Karstens <nate.karstens@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1d0e078 - Browse repository at this point
Copy the full SHA 1d0e078View commit details -
Add versions and capabilities to BOS descriptor
Adds versions and capabilities to the BOS Descriptor by appending dynamically-generated platform descriptors that use the same UUIDs that are used with BLE and contain the following values: * Firmware version * Software (protocol) version * Hub capabilities Signed-off-by: Nate Karstens <nate.karstens@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 715e1cb - Browse repository at this point
Copy the full SHA 715e1cbView commit details -
Configure USB device and process pybricks commands
Configures the USB device and processes pybricks commands. Signed-off-by: Nate Karstens <nate.karstens@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a519633 - Browse repository at this point
Copy the full SHA a519633View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b57c9b - Browse repository at this point
Copy the full SHA 5b57c9bView commit details -
drv/usb/stm32_usbd: use pbdrvconfig for USB info
This moves the USB VID/PID and strings into pbdrvconfig.h, so that each hub can set the appropriate values. Additionally, since SPIKE Prime and Robot Inventor use the same firmware, we have to dynamically set the PID at runtime based on the hub variant.
Configuration menu - View commit details
-
Copy full SHA for 29171f1 - Browse repository at this point
Copy the full SHA 29171f1View commit details
Commits on Nov 27, 2023
-
drv/usb/stm32_usbd: use Pybricks class/subclass/protocol
This adds new defines for the Pybricks USB device class, subclass and protocol. The class (0xff) is defined by the USB-IF and is the vendor- specific class. The subclass and protocol are vendor-specific and come from the first two bytes of the the Pybricks Bluetooth UUIDs. This allows us to identify hubs running Pybricks when enumerating USB devices.
Configuration menu - View commit details
-
Copy full SHA for 1fe0ec5 - Browse repository at this point
Copy the full SHA 1fe0ec5View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...dlech-usb