2010/3/29 Alexey Starikovskiy <[email protected]>

> Slavko Kocjancic пишет:
> > Alexey Starikovskiy pravi:
> >
> >> So you just need to copy hal_parport.c to hal_epport.c and add
> >> hal_eppport.c to appropriate Submakefile.
> >> When you extend interface to allow 8*i and 8*o inputs and outputs and
> >> translate that into your command sequences.
> >>
> >>
> >
> > Can't find correct Submakefile.
> > I have hal_parport.c in emc2-dev/src/hal/drivers
> > in same place is the Submakefile too. But when I look into submakefile
> > there are just some PLUTO stuf. I expect drivers to be listed here so I
> > can just add new one.
> >
> Well, hal_parport is described in src/Makefile
>
>
Ok I find it...


> Still, IMHO you should not reimplement hal_parport, rather use it like
> src/hal/drivers/mesa-hostmot2/hm2_7i43.c
>

As I check the mesa and my board only comon point is to both uses EPP port.
...all other thing is way more complycated as needed. The ax5214 driver
share near all attribute as I want. So that's my reference point.


> > So how to add new driver? Little more exact please.
> >
> > And another (dumb) question..
> > How to compile source if I change just one file (the new driver)
> >
> > For recompiling I use "make clean" and after that "make" . It's works
> > but take long time. If I type just "make" takes little les time but exit
> > with some errors...
> >
> Could you please show the errors, it generally helps when you read them :)
> Alex.
>

So what is correct way? just "make" ?
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to