Skip to content

Core 1 arduino task hangs after calling any mDash function #21

@younesmaia

Description

@younesmaia

While running mDash 1.2.16 on Platformio ESP32 core 6.3.1 (latest), mDash works perfectly until you call mDashShadowUpdate or mDashNotify (with valid args). If you do that, the Arduino main task on core 1 will hang completely. Interestingly, no error is thrown.

I'm also using a LAN8720 PHY using the built-in Arduino Library (ETH), according to the example here: https://github.com/espressif/arduino-esp32/blob/master/libraries/Ethernet/examples/ETH_LAN8720/ETH_LAN8720.ino

What is more interesting is that firmware updates, FS, RPC and even the spontaneous shadow update that happen when the device becomes online are all working normally. The issue only presents itself when the functions noted above are called.

Even if the Arduino task hangs, mDash continues to run normally (you can control the device from the dashboard).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions