ESP32S3 with 8MB Flash complains it does not have enough flash

Hi. I am new to HA and have an ESP32-S3-DevKitC-1 with 8MB flash.
Anyhow I am compiling to install and it has started complaining that the program is too small and show 4MB (3932160 bytes). I have highlighted in Yellow the 8MB and then the error with 4MB.

Below is part of the configuration yaml:

esp32:
  board: esp32-s3-devkitc-1
  flash_size: 8MB
  framework:
    type: arduino

Any ideas why it still thinks I have a 4MB flash?

Use
Variant: esp32s3
Flash_size: 16mb

Sorry i can’t use select and copy on.my phone right now

Because of OTA.

8MB=4MB+4MB

You need to change partitions*.csv