Copy framework files in to project folder

It is possible? I want copy ESP32 framework files to project folder for adding some changes in framework sources

Try it like so:

  • Copy the framework directory to another directory outside your project folder (we’re talking about the Arduino framework for ESP32, right?)
  • Add the following line to your platformio.ini file and modify the path:
platform_packages = framework-arduinoespressif32 @ /Users/username/Documents/ModifiedFramework

Thank You. But its no solustion for my question. Platformio downloading package, then i see this error:
Warning! Package Mirror: Package version 2.10004.191002 doesn’t satisfy requirements framework-arduinoespressif32
Looking for another mirror…

Maybe there is a way to change the path to the framework for a specific project? Or is it possible to register the platform as custom?

Try it with a URL:

platform_packages = framework-arduinoespressif32 @ file:///Users/username/Documents/ModifiedFramework