Page 1 of 1
Modifying System Files
Posted: Fri Apr 17, 2009 3:35 pm
by mezz64
I need to modify the command processor in order to change the termination character (the newline character shows up in my hex input strings causing me problems) but every time I change the code and rebuild the system files and recompile my app I get a whole slew of errors in the code. Am I missing something obvious?
Thanks,
John
Re: Modifying System Files
Posted: Fri Apr 17, 2009 4:27 pm
by Chris Ruff
John
Grab the file you want to make the changes to and put a copy in your build directory. Add that file name to your project. Make the change you want to make. The symbols in your code will be used instead of the symbols in the library by the linker. Way better than changing the system library.
This has worked for me a few times with serial.cpp and other system files
Chris
Re: Modifying System Files
Posted: Fri Apr 17, 2009 5:24 pm
by mezz64
It worked!
Thanks a bunch!