Content-Length: 222397 | pFad | https://github.com/adafruit/circuitpython/issues/9372

A0 Add pin to PinAlarm object after deep sleep on raspberry pi pico · Issue #9372 · adafruit/circuitpython · GitHub
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

Add pin to PinAlarm object after deep sleep on raspberry pi pico #9372

Open
Levtastic opened this issue Jun 25, 2024 · 1 comment
Open

Add pin to PinAlarm object after deep sleep on raspberry pi pico #9372

Levtastic opened this issue Jun 25, 2024 · 1 comment
Assignees
Milestone

Comments

@Levtastic
Copy link

Currently on a raspberry pi pico after a deep sleep the alarm.wake_alarm object has a None in the pin attribute because finding the correct pin has not yet been implemented (see below)

mp_obj_t alarm_pin_pinalarm_record_wake_alarm(void) {
alarm_pin_pinalarm_obj_t *const alarm = &alarm_wake_alarm.pin_alarm;
alarm->base.type = &alarm_pin_pinalarm_type;
// TODO: how to obtain the correct pin from memory?
alarm->pin = NULL;
return alarm;
}

@tannewt tannewt added rp2040 Raspberry Pi RP2040 alarms and sleep labels Jun 25, 2024
@tannewt tannewt added this to the 9.x.x milestone Jun 25, 2024
@dhalbert dhalbert self-assigned this Dec 11, 2024
@dhalbert
Copy link
Collaborator

Fix in progress. Awaiting test by discord user.

@dhalbert dhalbert modified the milestones: 9.x.x, 10.0.0 Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/adafruit/circuitpython/issues/9372

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy