8000 `microcontroller.cpu.temperature` watchdog safemode on ESP32-S3 when wifi connected · Issue #9320 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content
microcontroller.cpu.temperature watchdog safemode on ESP32-S3 when wifi connected #9320
Closed
@bill88t

Description

@bill88t

CircuitPython version

main
CONFIG_FREERTOS_UNICORE=y
adc-paranoia (the name of the adc multi-sampling branch)
and pretty much every other build I tested

Code/REPL

# Assuming wifi connected via settings.toml
import microcontroller
while True:
    a = microcontroller.cpu.temperature
# `a =` is there to not slow down with printing to serial
# It can take a lot longer than the ADC .value bug to proc.

Behavior

Auto-reload is off.
Running in safe mode! Not running saved code.

You are in safe mode because:
Internal watchdog timer expired.
Press reset to exit safe mode.

Press any key to enter the REPL. Use CTRL-D to reload.

Description

Inserting a:

for _ in range(10):
    pass

seems to fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0