How to use a modified package file

Hello, I want to use this library : GitHub - claudeheintz/LXESP32DMX

But I need to use a modified esp32-hal-uart.c for make it works.

Is there a way to use the modified file for this package, only with my project ?
Because I want to keep the original one for my other projects.

Regards, and thanks.

Yes, fork arduino-esp32 and use platform_packages to change the source of framework-arduinoespressif32 to your fork with the fixed files.

But you should first make sure the check if

  1. the bug is fixed or not in the bleeding edge Arduino-ESP32
  2. if not, open an issue there