Skip to content

[BUG] Adafruit RP2350 CircuitPython Doesn't Support Alarms #1

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

Closed
Mikefly123 opened this issue Apr 21, 2025 · 2 comments
Closed

[BUG] Adafruit RP2350 CircuitPython Doesn't Support Alarms #1

Mikefly123 opened this issue Apr 21, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@Mikefly123
Copy link
Member

Summary

Uh yeah I guess the alarm module is not supported for RP2350's. Not sure why yet, it might just be a config thing? More research is needed.

Steps to reproduce

Attempt to run the sleep_helper in pysquared it throws the following error:

main.py output:
Traceback (most recent call last):
  File "main.py", line 25, in <module>
  File "lib/pysquared/functions.py", line 23, in <module>
  File "lib/pysquared/sleep_helper.py", line 4, in <module>
ImportError: no module named 'alarm'

Environment

FC Board V5a running code from main.

@Mikefly123 Mikefly123 added the bug Something isn't working label Apr 21, 2025
@Mikefly123
Copy link
Member Author

For now I am going to try and just bypass this by not using the sleep_helper in the V5a flight controller board implementation.

@Mikefly123
Copy link
Member Author

This has been solved by building firmware using the code in this open Pull Request on upstream CircuitPython:

adafruit/circuitpython#10023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant