MagTag LEDs flash on waking from deep sleep
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 25/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Domaine
- embedded-iot
Piste de recherche
The reproduction is the alarm.exit_and_deep_sleep_until_alarms snippet on a MagTag (ESP32-S2), and the report says the flash first appears between 10.2.1 and 10.3.0, so start by bisecting that range. Look at the ESP32-S2 port's deep-sleep and wake path and at what initializes the NeoPixels on boot. Done means the NeoPixels no longer flash yellow after waking, confirmed on real MagTag hardware, since the pretend-sleep mode does not reproduce it.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
CircuitPython version and board name
Adafruit CircuitPython 11.0.0-alpha.3-9-g1ae2bac84e on 2026-11-13; Adafruit MagTag with ESP32S2
Code/REPL
import time
import alarm
print("Awake.")
time.sleep(5)
time_alarm = alarm.time.TimeAlarm(monotonic_time=time.monotonic() + 15)
print("Entering deep sleep.")
alarm.exit_and_deep_sleep_until_alarms(time_alarm)
Behavior
(See Item #1 in "Additional Information")
code.py output:
Awake.
Entering deep sleep.
Code done running.
Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
Press any key to enter the REPL. Use CTRL-D to reload.
Pretending to deep sleep until alarm, CTRL-C or file write.
Adafruit CircuitPython 11.0.0-alpha.3-9-g1ae2bac84e on 2026-11-13; Adafruit MagTag with ESP32S2
Description
- Neopixels flash yellow 4x on waking from deep sleep (does not flash the initial blue)
Additional information
- Does not actually happen when running code above, per item 2 immediately following. To my knowledge I don't have a way to access the serial output while also putting the board into actual deep sleep (not pretend)
- Does not happen when Magtag is plugged in (i.e. pretending to deep sleep)
- Behavior is not present in 10.2.1 (no LEDs flash on wakeup from deep sleep), but is present on everything I've tested beyond that (10.3.0, 10.3.2, absolute newest 11.0.0 as listed above)
(Opened per recommendation of tannewt: https://forums.adafruit.com/viewtopic.php?t=225848)
- Langage dominant
- C
- Étoiles
- 4.6k
- Forks
- 1.4k
- Merge moyen
- 1 j
- PR mergées (30 j)
- 212
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de adafruit/circuitpython
-
documentation
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
adafruit/circuitpython#11877 ·
Les mainteneurs répondent en général sous 1 jour
-
Update Learn Guides for #11777Ouvertedocumentation rp2
Difficulté 1/5 1-3 heures Accessibilité débutants 67/100
adafruit/circuitpython#11779 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
documentation enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
adafruit/circuitpython#11689 ·
Les mainteneurs répondent en général sous 1 jour
-
esp32-c3 memory optimization network
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 12/100
adafruit/circuitpython#11879 ·
Les mainteneurs répondent en général sous 1 jour
-
I2S audio playback is garbled for tone and mp3 playback on Metro ESP32-P4Peut-être pris @mikeysklar l’a pris il y a 1 jour. Ouvertebug
adafruit/circuitpython#11873 · 6 commentaires · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de adafruit/circuitpython
Issues similaires
-
agent:WSL code-review linux pri:low refactoring tooling
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
DOC BUG Missing
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
SDL-Hercules-390/hyperion#911 ·
Les mainteneurs répondent en général sous 1 jour
-
build: man page directory doubledPeut-être pris @zeusgoose l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
-
ATtiny xy2: Missing #else path may lead to inconsistencies in core digital_pin_to_timer[] arrayOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
SpenceKonde/megaTinyCore#1294 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
ROCm/rocm-libraries#15866 ·
Les mainteneurs répondent en général sous 2 jours