In the meanwhile I merged both project and disabled all serial communication from ESP32 TFT. My hardware is not arrvied yet, so I can't test it.
If there exists interesst then I can upload the whole code to github or provide a compiled binary file.
Okay

It is not so quite easy as expected.
1) ESP32 has no self gcode sender, it uses the sd card from controler and uses M23 comand
2) ESP32 has no upload function to sd card
Anyway it should be possible to add the missed feature to ESP32 from ESP 32 TFT firmware.