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.