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

Allow configuring GOPIO wake-up pins as floating during deep sleep #275

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 4, 2024

  1. Allow configuring GOPIO wake-up pins as floating during deep sleep

    According to guide `gpio_stay_*_map` are specifically there to prevent
    pulling pins to a specific level and let them float during deep sleep.
    
    https://docs.bekencorp.com/sdk_3.0.x/bk7238/build/en/latest/developer-guide/power_save/sleep_test.html
    
    This allows any external low-power circuitry to change a pin level, as
    required, to trigger the wake up
    
    This requires changes in BDK and was implemented via fixup. Also, exposed
    `gpio_stay_lo_map` parameter via `lt_deep_sleep_keep_floating_gpio` to
    manage this configuration for pins in range P0-P31.
    devgs committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    794fc34 View commit details
    Browse the repository at this point in the history