This might be related to
https://www.visualmicro.com/forums/YaBB.pl?num=1648728959 When I compile and upload a sketch using Arduino IDE it works as expected, When I compile and upload that same sketch via Visualmicro, the ESP32-S2 doesnt boot up( keeps rebooting )
As far as I can tell the config in Arduino IDE is the same as in Visualmicro.
Arduino version : 1.8.19
ESP32 core version : 2.0.2 and 2.0.3-RC1
Sketch : "BlinkWithoutDelay" example in Arduino IDE.
Board : Sparkfun ESP32-S2 Thing plus ( ESP32 WROOM with a CP2102 USB-Serial converter, LED on Arduino pin 13 )
VS: Visual studio community 2019 (Version 16.11.11)
VM: 2022.218.1900
Output of serial monitor when I upload with VS:
Opening port
Port open
_SW_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x4005129e
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x510
load:0x4004c000,len:0xa50
load:0x40050000,len:0x28bc
entry 0x4004c18c
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x3 (RTC_SW_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x4005129e
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x510
load:0x4004c000,len:0xa50
load:0x40050000,len:0x28bc
entry 0x4004c18c
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
...
Output from the build attached in as a txt file ( from VM as well as Arduino )