Re: [Emc-users] writing a new device driver
>The first is how to make a new configuration file visible when first >starting the emc script (./emc) in the configuration browser. I copied the >standard stepper files (under the configs/stepper directory) into a new >directory configs/myConfig, but they are not visible. > if you copy a configuration file in the /home/../emc2/configs it will be available in the configuration browser without changing other things. EMC2.1 should ask if you want to copy a sample configuration file in your home directory in order to be able to modify it. If you want it in your own directory, you can add the directoryt in the path that you find in the emc script. But, for my experience, when you modify the script, it will be changed every time you make an upgrade for a new release of emc2, so it is a bit annoying to re-modify it every time. regards, Manfredi _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] writing a new device driver
On Sun, Mar 11, 2007 at 11:02:19AM +0900, garrett beaubien wrote: > The second question is how to compile a new driver. For example if I copy > the hal_parport.c under src/hal/drivers directory into a new file called > myDevice.c, how do I compile it and make it visible to the system. The easiest way is with 'comp': comp --install mydevice.c if you want to make it a part of the emc source tree, you add lines for it in src/Makefile -- just look for the existing lines about hal_parport. Jeff - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] writing a new device driver
Hello, I was wondering if anyone could tell me how to go about adding support for a new device? I have 2 questions actually. The first is how to make a new configuration file visible when first starting the emc script (./emc) in the configuration browser. I copied the standard stepper files (under the configs/stepper directory) into a new directory configs/myConfig, but they are not visible. The second question is how to compile a new driver. For example if I copy the hal_parport.c under src/hal/drivers directory into a new file called myDevice.c, how do I compile it and make it visible to the system. Thank you very much, Garrett. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users