OK, I can confirm that the boot message that is generated when I reset my WSL V3 after uploading your code is unusual in that it suggests that there has been an error in the upload:
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x43c
load:0x403c9700,len:0xbec
load:0x403cc700,len:0x2a3c
SHA-256 comparison failed:
Calculated: dcde8d8a4817d9bf5d5d69a7247667264e4e10ac7493514868b61f5aa6146539
Expected: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Attempting to boot anyway...
entry 0x403c98d8
but a few seconds later I see
HOLA
suggesting that the program did indeed upload and execute successfully, in spite of the apparent error message.
And on closer inspection, it seems that that initial message is issued any time I upload a sketch, but the sketch executes normally thereafter.
There would, however, appear to be a problem with the WSL V3 definition in that the LED_BUILTIN variable does not appear to be being set correctly. When running the Blink example as provided (i.e. using the LED_BUILTIN variable to specify the pin to be ‘blinked’) does not result in a blinking LED. If I note from the WSL V3 pinout diagram that GPIO35 is identified as the LED_Write pin, and use “35” instead of LED_BUILTIN, all is well—I see a blinking LED. But I also see the above type of message, reporting SHA-256 comparison failure, before the code ultimately executes as expected.
Given that I have also found errors in the WiFi LoRa 32 V1 board definition, I wonder if other elements of the new code might not have been QA’d as well as they might have been…
Looking again at the two error messages, I note a difference between the upload modes:
mode:QIO, clock div:2
vs
mode:DIO, clock div:1
I remember fiddling with this at some point in the past (nothing to do with the V3 boards), and it is a selectable option when dealing with some ESP32 devices, but there doesn’t appear to be any way to easily switch between the two, so I wonder how this difference has arisen—I think this comes from the boards.txt file, and I would have thought we were both using the same version (0.0.7?).
Having just looked at the boot.txt file, I see the following two entries (the WiFi_LoRa_32_V3 definition applies to the three V3 boards, as listed in the board selection):
WIFI_LoRa_32_V3.build.flash_mode=dio
WIFI_LoRa_32_V3.build.boot=qio
so maybe that’s all it is, the different between the initial load that I’m seeing
rst:0x1 (POWERON)
and the reset that you’re seeing
rst:0x7 (TG0WDT_SYS_RST)
Other than the above observations, I’m at a bit of a loss for anything else to suggest at this point.