-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LilyGo T-Impulse Wristband, Dragino LGT92 tracker and AI RHF76-052 support #198
base: master
Are you sure you want to change the base?
Commits on Mar 1, 2021
-
Support boards without VBUS pin again
Since commit bdd33df (Refresh USB logic; callback for events; hotplug in STOP mode; STOP mode in USB SUSPEND; bunch of race conditions in the USB/CDC code; avoid SOF interrupt; 500mA max power in descriptiors), the USBD code would assume a VBUS pin is available and only initialize the USB stack when a VBUS voltage is present. This commit restores the older behavior of, when `STM32L0_CONFIG_PIN_VBUS` (so indirectly also `usbd_pin_vbus`) is `STM32L0_GPIO_PIN_NONE`, assuming VBUS is always present. USB initialization can still be controlled using `USBDevice.attach()`.
Configuration menu - View commit details
-
Copy full SHA for 2c0d86c - Browse repository at this point
Copy the full SHA 2c0d86cView commit details -
Do no set up VBUS pin mode in init()
This is already done by usbd_conf.c which is also the place where it is read, so no need to do it again here.
Configuration menu - View commit details
-
Copy full SHA for c47898a - Browse repository at this point
Copy the full SHA c47898aView commit details -
Support boards with a voltage divider on VBUS
This can be useful to allow measuring the actual USB voltage, rather than just detect presence. Previously the USB code would always enable an internal pulldown on the VBUS, which would skew the reading (and, if the divider is fairly high impedance, can even prevent detecting VBUS presence using a digital read). With this commit, boards can indicate they use an external divider using the STM32L0_CONFIG_PIN_VBUS_HAS_DIVIDER macro in their variant.h. When this is defined, the internal pullup is not enabled to prevent it from causing issues and because it is no longer needed (the external divider functions as a pulldown).
Configuration menu - View commit details
-
Copy full SHA for 553143d - Browse repository at this point
Copy the full SHA 553143dView commit details -
Disable USB pullup when stopping USB
It turns out that stopping the USB peripheral does not automatically reset this pullup, so stopping USB (e.g. through USBDevice.detach()) would let the pullup enabled, making the USB host think the board was still connected (but any subsequent communication would fail). Additionally, this would use around 300μA of current. This is a bug in the USB HAL used. This commit backports a small change from the HAL v1.11.3 to fix this. This fixes GrumpyOldPizza#171
Configuration menu - View commit details
-
Copy full SHA for 3d47e60 - Browse repository at this point
Copy the full SHA 3d47e60View commit details
Commits on Jan 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2f64e7d - Browse repository at this point
Copy the full SHA 2f64e7dView commit details -
Merge pull request #6 from matthijskooijman/disable-usb-pullups
Disable USB pullup when stopping USB
Configuration menu - View commit details
-
Copy full SHA for 46ab52c - Browse repository at this point
Copy the full SHA 46ab52cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1227c0 - Browse repository at this point
Copy the full SHA b1227c0View commit details
Commits on Feb 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b3b3e09 - Browse repository at this point
Copy the full SHA b3b3e09View commit details
Commits on May 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d5e2a5c - Browse repository at this point
Copy the full SHA d5e2a5cView commit details
Commits on Jun 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d2bb5fc - Browse repository at this point
Copy the full SHA d2bb5fcView commit details
Commits on Jun 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4ab8740 - Browse repository at this point
Copy the full SHA 4ab8740View commit details -
Configuration menu - View commit details
-
Copy full SHA for a84a0d6 - Browse repository at this point
Copy the full SHA a84a0d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61abf8d - Browse repository at this point
Copy the full SHA 61abf8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62788ad - Browse repository at this point
Copy the full SHA 62788adView commit details
Commits on Aug 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ad3479d - Browse repository at this point
Copy the full SHA ad3479dView commit details
Commits on Aug 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 625cd5d - Browse repository at this point
Copy the full SHA 625cd5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72a99e5 - Browse repository at this point
Copy the full SHA 72a99e5View commit details
Commits on Aug 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0dc7aef - Browse repository at this point
Copy the full SHA 0dc7aefView commit details
Commits on Aug 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 230bcbf - Browse repository at this point
Copy the full SHA 230bcbfView commit details
Commits on Sep 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6586a52 - Browse repository at this point
Copy the full SHA 6586a52View commit details
Commits on Sep 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 41ae543 - Browse repository at this point
Copy the full SHA 41ae543View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ac1a4c - Browse repository at this point
Copy the full SHA 4ac1a4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 714cc1b - Browse repository at this point
Copy the full SHA 714cc1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 70a82eb - Browse repository at this point
Copy the full SHA 70a82ebView commit details
Commits on Sep 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for edf60b3 - Browse repository at this point
Copy the full SHA edf60b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for df3f82b - Browse repository at this point
Copy the full SHA df3f82bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 76a4a73 - Browse repository at this point
Copy the full SHA 76a4a73View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3dcc9f - Browse repository at this point
Copy the full SHA d3dcc9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e6e3fd - Browse repository at this point
Copy the full SHA 1e6e3fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3aba3bb - Browse repository at this point
Copy the full SHA 3aba3bbView commit details
Commits on Dec 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9044f14 - Browse repository at this point
Copy the full SHA 9044f14View commit details