Bug? Endless reboot cycle in exampe sketch

Most stuff is working but one of the examples from the IDE’s File–>Examples fails to even load and run on my ESP32 WROOM “Devkit V1”

I think this is the first ESP32, certainly not an S3

The example sketch is “Position/angle motion control example” It runs on other processors (Arduino UNO, RP2040) and other examples do run on my ESP32.

After loading, I look at “Serial Monitor” and see this following cycling endlessly.

rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1344
load:0x40078000,len:13808
load:0x40080400,len:3608
entry 0x400805f0
ets Jun 8 2016 00:22:57

rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1344
load:0x40078000,len:13808
load:0x40080400,len:3608
entry 0x400805f0
ets Jun 8 2016 00:22:57

rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2

Hmmm… hard to say of course what’s wrong from this. I assume there is a bug in the sketch with relation to the new library or framework versions.

Could you enable debugging to see if SimpleFOC prints anything before crashing out?

I’ll do that. But I already tried placing "Sirial.begin();Serial.print(“setup starts”) as the first line in Setup{} .