Files
ai-passport/docs/experiences
T
Shinku b83d054a89 docs(experiences): add verified deep-sleep GPIO wakeup gotcha
The ESP32-C3 deep-sleep wakeup section now documents the bitmask-vs-pin-number
pitfall: esp_deep_sleep_enable_gpio_wakeup() takes a pin bitmask, so passing
GPIO_NUM_0 (=0) is treated as an empty mask, the function returns
ESP_ERR_INVALID_ARG and arms no wake source at all, and the chip sleeps with no
way to wake. Pass 1ULL << GPIO_NUM_0 and check the return value. This was the
root cause of a real 'slept but won't wake' bug and is now verified on the
sound-keychain firmware (commit 63f0ebd): sleeps after 5 min idle, wakes on any
button. Updated both the English and Simplified Chinese peers.
b83d054a89 · 2026-08-30 11:57:34 +08:00
History
..