> On Monday, May 20, 2019 at 11:07:12 AM UTC+8, mlampert wrote: > > > > Am I correct that the support for the PB is a 'compile time' > > decision? > > Try`board=PocketBeagle` > > https://github.com/machinekit/machinekit/blob/b58f6e83/src/hal/drivers/hal_bb_gpio/hal_bb_gpio.c#L83 > > John
Where? When? Markus > > > > So if hal_bb_gpio is compiled for a BBB the driver does not support > > the PB headers - right? > > > > The MK image is from April 5 2019 - I made sure I updated to the > > latest from deb.machinekit.io - the installed version is > > 0.1.155255826 which has the commit sha1 355496b, which indeed seems > > to be HEAD of master. > > > > If the driver is supposed to work on the PB although it was > > compiled for the BBB then I'll file an issue for it. > > > > Thanks, > > Markus > > > > > > On Sun, 19 May 2019 18:58:21 -0700 (PDT) > > John Morris <[email protected] <javascript:>> wrote: > > > > > On Monday, May 20, 2019 at 5:37:31 AM UTC+8, mlampert wrote: > > > > > > > > I've installed the stretch Machinekit image from elinux.org on > > > > a PocketBeagle to play around with. As it turns out some of the > > > > installed drivers are indeed specific to the BBB, hal_bb_gpio > > > > being one of them (it insists on mapping pin 201 to 901 and > > > > then complain that it cannot be configured). After looking at > > > > the source I understand what's going on and why this is > > > > happening - however, I don't know what else needs to get > > > > specifically built for the pocketbeagle. > > > > > > > > So the question is: What's the best way to get Machinekit > > > > running on a PocketBeagle? > > > > > > > > > > I've had this running for a while on PB now. The pin mapping > > > issues should have been fixed for a couple of years now [1]. If > > > the elinux.org image is too old to have this change, update > > > Machinekit. If you confirm that the change is in place and you're > > > still seeing this issue, file an issue on the tracker, and > > > mention @zultron to ensure I see it (though I would anyway). > > > > > > John > > > > > > [1]: https://github.com/machinekit/machinekit/commit/b58f6e83 > > <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fmachinekit%2Fmachinekit%2Fcommit%2Fb58f6e83&sa=D&sntz=1&usg=AFQjCNEOgtKEQoXpQjGVxZtzxJ5Bt8A-HQ> > > > > > > > > > > > > > > > > Thanks a lot, > > > > Markus > > > > > > > > > > > > > > > > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/20190519232219.4f377c50%40yolanda. For more options, visit https://groups.google.com/d/optout.
