The scripts provided are intended to assist in the creation of the ASM file ( from a GCBASIC source file ), creation of the HEX file ( also from a GCBASIC source file ) and to support programming operations ( often called `FLASH`ing the microcontroller ).
Script | Usage | Example |
---|---|---|
|
To compile the GCBASIC source program to create the ASM. |
|
|
To compile and asseble the GCBASIC source program to create the ASM and a microcontroller specific HEX file. |
|
|
To compile,asseble the GCBASIC source program to create the ASM and a microcontroller specific HEX file, and, then to program the microcontroller |
|
Examples
There are multiple constructs to run multiple programs on a single command line. The most common are ';' and '&&'
To run another command immadiately after running makehex.sh. Use the following:
makehex.sh sourcefile.gcb; anothercommand
To run another command only if makehex.sh does not exit with an error such as a compiler error. Use the following:
makehex.sh sourcefile.gcb && anothercommand