Hardware manual

33
When the configuration will be finished, we write in standard way: make and then make install.
As the result we will get binary file called: h8300-coff-gcc, which in this case is our desired
compiler for H8S/2638 microcontroller.
Next step is to get a copy of the PXMC library and to do it we need to have account on the
server. If it is like that, then we just need to type:
darcs get <login>@rtime.felk.cvut.cz:/var/repos/pxmc
Of course instead of <login> we should put our login name. Later we need to give our password
and we can download the library to our computer. As a small reminder, darcs is distributed
revision control system, which can be freely downloaded from: http://darcs.net.
5.3. Overview.
5.3.1. General overview of files.
When this document was created, the PXMC library consisted from 11 files:
pxmc.h
pxmc_base.c
pxmc_con_pid.c
pxmc_deb.c
pxmc_gen_info.h
pxmc_gen_spdtrp.c
pxmc_hh.c
pxmc_hh_basic.c
pxmc_inp_common.h
pxmc_internal.h
pxmc_ptable.c
Additionally it had one subdirectory: board. In this subdirectory were three
subdirectories: h8eurobot, h8mirosot and hi_cpu2. The whole structure of the library and
its subdirectories is shown on the picture 5.3.1-1. It should be noted that in these
subdirectories are located hardware dependant files.
The whole structure with dependencies of PXMC files is shown on the picture nr 5.3.1-2.
Now we will look at each of these files separately and we will try to get at least some basic
concept about them.