in the pcb layout i had a problem connecting the DRV8744 thermal pad with GND polygon tryied different techniques and toturials but didn't work out so i had to connect the thermal pad using traces not polygon
DRV8874 motor driver/DRV8874 motor driver.PcbDoc
DRV8874 motor driver/DRV8874 motor driver.SchDoc
these is pcb and schmatic file for the project in this repo for easy access