> 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.
And many other small things ... but now I have communication in both directions connected to HAL pins. It seems to work almost perfect except there might be problem at startup if slave does not respond but this shoul probably be simple to find and fix. I use DieBieSlave on the slave device and think it use soes while master use soem so it is basically the same software. Lower level drivers are however different. I need to figure out how configuration should be done. On master pins probably need to be added depending on cabilities on slave either read from slave or ESI file but first I must sleep. 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