Skip to content

esp8266 WDT reboot caused by TaskManager c-tor #6

@Palatis

Description

@Palatis

a really simple sketch to reproduce the problem.

#include <Task.h>

TaskManager Tasks;

void setup() {
  Serial.begin(74880);
  Serial.setDebugOutput(true);
  Serial.println();
  Serial.println(ESP.getResetReason());
  Serial.println(ESP.getResetInfo());

  while (true) {
    Serial.print('.');
    if ((i % 80) == 0)
      Serial.println();
    //wdt_reset();
    delay(500);
  }
}

void loop() {
}

normally we don't want to mess around with WDT unless it's really absolutely necessary, the user might make other use with it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions