ESP32-S3 IDF Boot Loop Problem

There is a issue that has been going on for about a month now. Been lazy to report it.
There is a bool loop problem using ESP32-S3. All one needs to do to create the issue is start a new project. Select " Espressif ESP32-S3-DevKitC-1-N8 (8 MB QD, No PSRAM) " as the board, and then IDF for the platform.
Here is the code.

#include <stdio.h>
#include "sdkconfig.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_system.h"


void app_main() 
{
    printf("Hello\r\n");
    vTaskDelay(500 / portTICK_PERIOD_MS);
}

Here is platform.ini

[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
framework = espidf


monitor_port = COM12
monitor_speed = 115200
upload_port = COM12
upload_speed = 1152000
board_build.f_cpu = 240000000L

It will compile and download fine. When it boots you get this in the terminal, and it just repeats forever.

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:QIO, clock div:1
load:0x3fce3808,len:0x164c
ets_loader.c 78

If you make the project for Arduino it works fine. The work around I have been using is to use:
platform = espressif32@5.1.0. Using this it works fine. But if I use the default of:
platform = espressif32, then you get the boot loop.

Am I the only one having this issue ?

Even using platform = espressif32@5.2.0 causes boot looping.

Whats the deal here PlatformIO ?

Fixed the problem.
Deleted my .platformio folder, and let it re-install everything again.