Problem with latest Heltec ESP32 Arduino

Problem with latest Heltec ESP32 Arduino

I’m developing a program for an ESP32-PICO based Wireless Stick Lite board
In the Heltec ESP32 Arduino version 0.0.5 and below, the program compiles and runs normally

In the Heltec ESP32 Arduino version 0.0.6 and 0.0.7 environment, after loading, I get a cyclic reboot with a message to the port:

configsip: 188777542, SPIWP:0xee
mode:DIO, clockdiv:1
ho 0 tail 12 room 4
entry 0x400806a8

For what it’s worth, I just successfully loaded a couple of the example sketches to a WSL (V1-PICO) board using the 0.0.7 library (Arduino IDE 2.0.2) without any problem. But I have certainly had issues with the new software environment and older ESP32 boards, all of which to date, I am pleased to say, have been resolved.

In my own case, it’s been a case of looking at the individual libraries or files involved. Sometimes, Heltec has provided versions that need to be used with their [newer?] boards, without necessarily thinking carefully enough about how they might impact older boards.

This error occurs when and I try to use SPI1
Everything works in the old version.
SPIClass *spi = new SPIClass(HSPI);
returns a NULL