Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
younesmaia opened this issue Jun 12, 2023 · 1 comment
Open

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

younesmaia opened this issue Jun 12, 2023 · 1 comment

Comments

@younesmaia
Copy link

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).

@Thermelgy-Repo
Copy link

I have solve the issue, Plz check the PR. #24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants