ESP-IDF: Override framework components


Does anyone know how to override esp-idf components in platformio?
Tried to place ‘components’ folder in ‘src’ but there no reaction.

Thank you!

1 Like

It would be nice to add a note for Windows users: diff and patch utilities can be found, for example, inside Git installation folder.

Alternatively, please elaborate some more on how do I install python-patch script. Do I need to install it into Platformio virtual environment? What about diff - is there a similar “python-diff” script?

Done! Thanks!

Just place it at the same level where extra script and import via import .....

If I understand correctly, overriding will change the components for all PlatformIO projects. I was wondering if it is possible to patch/override package files per project?

1 Like