|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
New post-compile patch program for C18 HEX code . . .
All -- Team 585 has created a patch program in PERL that allows you to patch the compiled hex code with constants defined in an external file (i.e., constants not initialized at compile time). The upshot is that you can make a single build of the controller software, but maintain the flexibility of changing constants (e.g., calibration curves) as tuning and hardware changes dictate. Simply put, manage one controller build and a few text files of constants rather than several special builds that each have different constants defined in their source code.
I have enclosed the program but had to change the name from patchy.pl to patchy.txt to support the upload file types. Please let me know if you find utility in this . . . um . . . utility. Cheers- jwk |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New C18 3.0+ Compatible FRC Code | Kevin Watson | Programming | 441 | 27-03-2008 15:30 |
| MPLAB/c18 not creating a .hex file | Cheezmeister | Programming | 7 | 15-02-2007 15:01 |
| Hex code loader for the robot! | paulcd2000 | Programming | 4 | 22-10-2006 01:58 |
| New MS Patch.. very important. | devicenull | IT / Communications | 0 | 05-01-2006 18:19 |
| Can't Compile the Default Code | pressurex1 | Programming | 4 | 25-01-2004 20:26 |