Adding a driver to Player

From The Player Project

Jump to: navigation, search
Line 10: Line 10:
----
----
-
''Although these are specific to the "roboteq" driver they should work for other drivers. "..." in a code block means lines were omitted for clarity.''
+
''Although this example is for a "roboteq" driver it should work for other drivers.''
 +
 
 +
''"..." in a code block means lines were omitted for clarity.''
o.k., I have created a patch file for the changes made to the Player source tree in order to add my new Roboteq driver. Only glitch is that the patch does not include the two new files or the new directory:
o.k., I have created a patch file for the changes made to the Player source tree in order to add my new Roboteq driver. Only glitch is that the patch does not include the two new files or the new directory:
Line 90: Line 92:
  cvs diff -u > registernewdriver.patch
  cvs diff -u > registernewdriver.patch
-
to make a patch file of any existing files that have changed
+
to make a patch file of any existing files that have changed. Check out the patch file to see if its in good shape. Mine had a bunch of ? marks at the top, listing new files cvs did not know about because they had not been added, so I cleaned it up a bit. Otherwise it should show the changes in all the files that were modified (above).
10. cvs did not allow me to add any files to the repository without having write-privileges:
10. cvs did not allow me to add any files to the repository without having write-privileges:

Revision as of 06:46, 20 July 2007

Personal tools