Instructions Circuit Diagram
- 57 -
…and when the program does not contain any mistakes (what can be
expected, because we just loaded an example program), on the bottom this
message will appear: Errors: none.
What happened?
Fromtheletest.c(andYETI.c)anewletest.hexwasgenerated.Thisle
contains the in machine code converted program. This machine code program
canbeloaded(ashed)inYETI’smemory.Thisprogramdoesnothavea
function. Later on, for trial, we will upload it in the YETI memory with the Flash
tool.
How did it work?
ThemenuinputlecallsthebatchleTest-all.bat(thisbatchlecontainsalist
with command lines which are executed line after line).
In Test-all.bat the command ‘make all’ will be executed. ‘make’ will create a
makelewhichwillbelocated(whenweprogramYETI)inthesameleas
Test-all.bat.
Amakeleisatextle,whichdeneshowtocompileoneormoreprograms.
Duringprogramming,whenitisonlyonele,youstillwillhaveagood
overview. Later, when a complex system is written and the programming data
containsmoreles,whichallmustbeconvertedinthecorrectwaystepby
step and also connected (linked) with each other in a proper way, then also
themakelewillbeverycomplex.
The“all”callsforalltheinputinthemakelemeans,thatacompleteproject
and not only the separate inputs will be converted.
Themakeleinourexampleprogramiswritteninawaythatalewiththe
name test.c will be compiled together with YETI.c (which contains some pre
denedfunctions)andcreateanew.hex-le.Thislecanbeloaded(ashed)
into the YETI memory.
Attention! This means that - as long as you do not change the make le
and you only copy it - you should always name your own
program test.c .
Whenyouwanttoknowallaboutmakeles(Thisisnotabsolutelynecessary
foroperatingtheYETI)youcanndmorebackgroundinformation
at http://www.gnu.org
The basics about ASURO-programming will be explained in chapter 9.