ledcAttach was not declared in this scope

Hi everyone!
firebeetle 2 esp-e

I would like to use ledcAttach in my code but like in the title there is a problem.
I know that the migration of version 2.x to 3 causes a lot of changes and in particular
ledcAttachPin ->ledcAttach
I saw on Github that Platformio may not have changed yet
news? Gow to do without ledcAttachPin?

ledcAttach works with ArduinoIDE

Thanks

If you want to use Espressif Arduino 3.x core in PlatformIO, consider using pioarduino

it’s working good! thanks yet!