How to use latest Arduino and latest idf at once?

Hi! I’m using Arduino as a component of IDF with platformIO in vscode.
I want to use the latest from both worlds.
Is this possible somehow?

Thank you very much!

My PIO ini file:

; PlatformIO Project Configuration File
;   Build options: build flags, source filter
;   Upload options: custom upload port, speed and extra flags
;   Library options: dependencies, extra library storages
;   Advanced options: extra scripting
; Please visit documentation for the other options and examples

build_cache_dir = ./cache

check_skip_packages = yes
platform = espressif32
board = esp-wrover-kit
framework = arduino, espidf
board_build.filesystem = littlefs

upload_protocol = espota
upload_port     =
upload_speed    = 921600

monitor_speed   = 115200
monitor_filters = colorize, esp32_exception_decoder

board_upload.flash_size = 16MB
board_build.flash_mode = qio
board_build.partitions = ./Partitions/hshPartition_APP_3MB.csv
board_build.f_cpu   = 240000000L
board_build.f_flash = 80000000L

build_flags = 

build_unflags =