Tnx, that what is was searching for On Wednesday, January 18, 2017 at 4:50:15 PM UTC+1, Schooner wrote: > > > On 17/01/17 19:49, Pauluzs wrote: > > While sure no programmer by trade, i'm trying to understand and write a > hal driver > More specific hal_arm335xDMtimer, a driver for the beaglebone's DMtimers. > > After reading documents for days and having a good look at the > hal_arm335xeQEP driver. > I made a lot of changes and know its nor complete nor working. > > Now i trying to find out how i can test and debug this. > I'm getting lost at should i use gcc, halcompile, compile on beaglebone or > laptop etc etc. > > What i've done so far > I cloned the machinekit repo and added my two new files > Who can tell me what steps to take from there and on what machine. > > > Since you have based it upon the hal_arm335xeQEP driver, then duplicate > what is done to build that > ie. > put it in *src/hal/drivers* and duplicate the build entries in > *src/Makefile* > https://github.com/machinekit/machinekit/blob/master/src/Makefile#L1306 > https://github.com/machinekit/machinekit/blob/master/src/Makefile#L1725 > > then clone your repo onto the BBB and build it (make take a while) > ie. > As per this section, but substitute your repo address for the main MK one > > http://www.machinekit.io/docs/developing/machinekit-developing/#get-source-and-build > > That way you are building on the native platform for the driver and can > test it on the same. > > regards > > > Pauluzs > -- > website: http://www.machinekit.io blog: http://blog.machinekit.io github: > https://github.com/machinekit > --- > You received this message because you are subscribed to the Google Groups > "Machinekit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > Visit this group at https://groups.google.com/group/machinekit. > For more options, visit https://groups.google.com/d/optout. > > >
-- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
