Problem with latest Heltec ESP32 Arduino

Hello
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:

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clockdiv:1
load:0x3fff0018,len:4
load:0x3fff001c,len:928
ho 0 tail 12 room 4
load:0x40078000,len:10080
load:0x40080400,len:5856
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
SPIClass SPI1(HSPI);
Everything works in the old version.
operator
SPIClass *spi = new SPIClass(HSPI);
returns a NULL