Skip to content
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

Open
wants to merge 31 commits into
base: master
Choose a base branch
from

Commits on Mar 1, 2021

  1. 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()`.
    matthijskooijman committed Mar 1, 2021
    Configuration menu
    Copy the full SHA
    2c0d86c View commit details
    Browse the repository at this point in the history
  2. 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.
    matthijskooijman committed Mar 1, 2021
    Configuration menu
    Copy the full SHA
    c47898a View commit details
    Browse the repository at this point in the history
  3. 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).
    matthijskooijman committed Mar 1, 2021
    Configuration menu
    Copy the full SHA
    553143d View commit details
    Browse the repository at this point in the history
  4. 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
    matthijskooijman committed Mar 1, 2021
    Configuration menu
    Copy the full SHA
    3d47e60 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2022

  1. Merge pull request #5 from matthijskooijman/vbus-support

    Vbus support
    UT2UH authored Jan 25, 2022
    Configuration menu
    Copy the full SHA
    2f64e7d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #6 from matthijskooijman/disable-usb-pullups

    Disable USB pullup when stopping USB
    UT2UH authored Jan 25, 2022
    Configuration menu
    Copy the full SHA
    46ab52c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b1227c0 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2022

  1. T-Impulse cleanup

    UT2UH committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    b3b3e09 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2022

  1. Configuration menu
    Copy the full SHA
    d5e2a5c View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2022

  1. Variant files cleanup for K52

    UT2UH committed Jun 19, 2022
    Configuration menu
    Copy the full SHA
    d2bb5fc View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2022

  1. Configuration menu
    Copy the full SHA
    4ab8740 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a84a0d6 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #7 from UT2UH/VBUS

    No VBUS detection support
    fronders authored Jun 20, 2022
    Configuration menu
    Copy the full SHA
    61abf8d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    62788ad View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2022

  1. S76S support and cleanups

    UT2UH committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    ad3479d View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2022

  1. Configuration menu
    Copy the full SHA
    625cd5d View commit details
    Browse the repository at this point in the history
  2. added .gitattributes

    UT2UH committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    72a99e5 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2022

  1. Boards Init files cleanup

    UT2UH committed Aug 26, 2022
    Configuration menu
    Copy the full SHA
    0dc7aef View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2022

  1. Configuration menu
    Copy the full SHA
    230bcbf View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2022

  1. Configuration menu
    Copy the full SHA
    6586a52 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2022

  1. variant cleanup

    fronders committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    41ae543 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4ac1a4c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    714cc1b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    70a82eb View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2022

  1. added debugger SVD scripts

    fronders committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    edf60b3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    df3f82b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    76a4a73 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d3dcc9f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1e6e3fd View commit details
    Browse the repository at this point in the history
  6. openocd scripts cleanup

    UT2UH committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    3aba3bb View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2022

  1. Boards cleanup

    UT2UH committed Dec 23, 2022
    Configuration menu
    Copy the full SHA
    9044f14 View commit details
    Browse the repository at this point in the history