Skip to content

esp32.gpio_deep_sleep_hold not defined for esp32c6 #19208

@nmattia

Description

@nmattia

Port, board and/or hardware

esp32 c6 port (SEEED)

MicroPython version

MicroPython v1.28.0 on 2026-04-06; Seeed XIAO ESP32C6 with ESP32C6
MicroPython v1.29.0-preview.199.ga595bbba67 on 2026-05-09; Seeed XIAO ESP32C6 with ESP32C6

Reproduction

>>> import esp32
>>> esp32.gpio_deep_sleep_hold
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'gpio_deep_sleep_hold'
>>> dir(esp32)
['__class__', '__name__', 'HEAP_DATA', 'HEAP_EXEC', 'NVS', 'PCNT', 'Partition', 'RMT', 'WAKEUP_ALL_LOW', 'WAKEUP_ANY_HIGH', '__dict__', 'idf_heap_info', 'mcu_temperature', 'wake_on_ext1', 'wake_on_gpio', 'wake_on_ulp']

Expected behaviour

No response

Observed behaviour

AttributeError: 'module' object has no attribute 'gpio_deep_sleep_hold'

Additional Information

No, I've provided everything above.

Code of Conduct

Yes, I agree

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions