Code uploads but does not execute on Sparkfun ESP32-s2 Thing PLus

I am unable to get code to execute on a Sparkfun ESP32-S2 Thing Plus even after reloading Visual Studio Code and Platformio.

My platformio.ini looks like:

[env:sparkfun_esp32s2_thing_plus]
platform = espressif32
board = sparkfun_esp32s2_thing_plus
framework = arduino

and I am simply trying to blink the onboard LED and output to serial port, both of which don’t work.

If I use the same code on the Arduino IDE it works as expected. I have tried uploading using two different devices and neither work. The code is:

#include <Arduino.h>
int ledPin = 13;
void setup()
{
pinMode(ledPin, OUTPUT);
Serial.begin(115200);
}

void loop()
{
Serial.println(“Hello, world!”);
digitalWrite(ledPin, HIGH);
delay(1000);
digitalWrite(ledPin, LOW);
delay(500);
}

Any help or suggestions would be greatly appreciated.

Thanks
Robert

Turns out I had a main.cpp in the root of the directory structure as well as the default main.cpp in the SRC folder which was compiling and doing nothing. My mistake, but hopefully this saves someone else spending an extended time troubleshooting.