|
|
OK now you're ready to compile a sample program! Open up a command prompt window, and change your directory to your QC folder's demo subdirectory. At this point I set the path, but if you've altered your autoexec.bat, you don't need to do this
Decide which demo you want to compile (for example I'll compile ascii.c)
Type qc ascii (note you don't put the .c extension on the name of the file)
The compiler should now run and the linker will link everything together to produce ascii.srec This is the compiled new firmware to run the c program.
Note - I have a feeling that you might also need to copy the qc.bat file into your qc\bin directory, to enable you to compile programs from any point - anybody like to verify this on a new installation?
|
|