Updating esp-idf

Hello everyone!
Currently I’m using 3.2.1 “Espressif 32” Platform in PIO.
I’d like to update it to the last available version (3.4.0).
I tried to update it, but I lost all the setup in the menuconfig.
Fortunately, I’ve tried on another PC.
There’s a way to update it without losing all configuration done in menuconfig?

Per Releases · platformio/platform-espressif32 · GitHub release 3.3.0 introduced per-environment sdkconfig files, so if you have a [env:esp32dev] it now uses a sdkconfig.esp32dev file.

Also, from platform version 3.2.1 to 3.4.0, the ESP-IDF version increased from 4.2.1 to 4.3.1, so there are likely sdkconfig options which are outdated in the new version.

You should check whether your project folder now has both a sdkconfig.<environment name> and sdkconfig file, the latter is likely your old configuration where you can lookup the non-standard configuration values and redo them in the menuconfig, or, replace the contents of the sdkconfig.<environment name> file with your sdkconfig file.