← index #16573PR #14245
Related · high · value 6.023
QUERY · ISSUE

docs: ESP32 C3 and C6 has only 2 Timers (0 and 2)

openby dmoibmopened 2025-01-12updated 2025-02-20
port-esp32

Documentation URL

https://docs.micropython.org/en/latest/esp32/quickref.html#timers

Description

A note for ESP32 C3 and C6 would be helpful. These only have two timers, Timer(0) and Timer(2)

Code of Conduct

Yes, I agree

CANDIDATE · PULL REQUEST

esp32/machine_timer.c: Restrict timer numbers for ESP32C3 to 0 and 1.

mergedby robert-hhopened 2024-04-03updated 2024-07-23
port-esp32

The ESP32C3 has only two timers in one group. Previously trying to use timer 3 caused a core dump.

Addresses the issue uncovered in discussion #14235.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied