Core 0 panic'ed with initArduino()

michikite
Posts: 16
Joined: Thu Oct 22, 2020 1:35 am

Core 0 panic'ed with initArduino()

Postby michikite » Tue Nov 10, 2020 2:44 am

I can run the standard examples just fine on my ESP32, but as soon as I include the Arduino component, the ESP just reboots and reboots.

Even the simplest code fails:

Code: Select all

#include "Arduino.h"

extern "C" void app_main()
{
    initArduino();
    pinMode(4, OUTPUT);
    digitalWrite(4, HIGH);
}

ERROR:
Guru Meditation Error: Core 0 panic'ed (LoadProhibited).



If I remove initArduino() it does not crash.


Any ideas? Something wrong in the sdkconfig maybe?
I tried erasing the flash, did not help unfortunately.

ESP_Sprite
Posts: 9017
Joined: Thu Nov 26, 2015 4:08 am

Re: Core 0 panic'ed with initArduino()

Postby ESP_Sprite » Wed Nov 11, 2020 5:53 am

Do you get a usable backtrace out of the crash?

Who is online

Users browsing this forum: No registered users and 150 guests