On Sun, 7 Jan 2018 19:14:03 +0000
andy pugh <bodge...@gmail.com> wrote:

> On 7 January 2018 at 18:51, Nicklas Karlsson
> <nicklas.karlsso...@gmail.com> wrote:
> 
> >> Just choose another driver that does get compiled (such as hal_motenc)
> >> and replicate all the same lines in the Makefile for your driver.
> >
> > Tried this but it does not compile while others do. I searched differences 
> > and there is some magic because my new file is not compiled while others 
> > are.
> 
> You need new entries in several parts of the makefile.

Yes three of them and a macro ...

I modified old driver and have been able to register an update function and it 
works!

This is running a lot smoother than I expected, just need to add code for 
ethernet and from soem then I should start to get real communication although 
with hardcoded configuration without pins.


Regards Nicklas Karlsson

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to