2.1.9.1. Generating EtherCAT sources using the Patch file (Option #1)
C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.10.00\third_party\protocols\ethercat_slave\p
atch>patch.exe -i C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.10.00\third_party\protocol
s\ethercat_slave\patch\TI_ECAT.patch -d src123
can't find file to patch at input line 5
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: EtherCATSampleLibrary.h
|===================================================================
|--- EtherCATSampleLibrary.h
|+++ EtherCATSampleLibrary.h
--------------------------
File to patch: C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.10.00\third_party\protocols\e
thercat_slave\patch\TI_ECAT.patch
patching file C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.10.00\third_party\protocols\et
hercat_slave\patch\TI_ECAT.patch
Hunk #1 FAILED at 12.
Hunk #2 FAILED at 23.
patch.exe: **** Can't rename file C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.10.00\thir
d_party\protocols\ethercat_slave\patch\TI_ECAT.patch to C:\ti\PRU-ICSS-EtherCAT_
Slave_01.00.10.00\third_party\protocols\ethercat_slave\patch\TI_ECAT.patch.orig
: Permission denied