Skip to content

ESP32S2: hard crash with gamepad on soft reboot #4288

@Neradoc

Description

@Neradoc

The following codeon a UM Feather S2 causes a crash (loss of USB and reset) on soft reboot, like by saving a file, with latest (and drops into safe mode on 6.1.0, which is better in terms of recoverability).

import board
import gamepad
from digitalio import DigitalInOut, Pull
button1 = DigitalInOut(board.IO7)
pad = gamepad.GamePad(
	button1,
)

Tested on a Lilygo TTGO too.
Seems similar to #4166, but different port, slightly different symptoms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    crashespressifapplies to multiple Espressif chips

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions