Hello, I don't think PlatformIO can run the IDF version 5.2 since there is no 5.2 version in the esp-idf GitHub. It might be PlatformIO's own espressif core version v5.2. The latest version of the idf ...
GitHub

Platform IO non-compile

I am trying to use your FastLED library in Platform IO but cannot get it to compile. This is the output I get: Compiling ...