Skip to content

creating virtual timer on MicroPython v1.25.0 on esp32 s3 fails #17203

Closed
@NilsBe

Description

@NilsBe

Port, board and/or hardware

esp32 s3

MicroPython version

MicroPython v1.25.0 on 2025-04-15; Generic ESP32S3 module with ESP32S3

Reproduction

import machine
t = machine.Timer(-1)

Expected behaviour

no error on MicroPython v1.24.1 on 2024-11-29; Generic ESP32S3 module with ESP32S3

Observed behaviour

Traceback (most recent call last):
File "", line 1, in
ValueError: invalid Timer number

Additional Information

No, I've provided everything above.

Code of Conduct

Yes, I agree

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions