[Emc-developers] gpio driver

2014-03-18 Thread Paul S.
Ah, that's a problem. After your loadrt calls but before your start, addf your functions to your threads. I've forgot to write about that, sorry, but I actually added addf imx6gpiofix.0.outdata thread1 before start and still oscilloscope shows only noise but no actual impulses on any of my

[Emc-developers] gpio driver

2014-03-17 Thread Paul S.
Hello again, it's been a long time since my last email, and I've tried to make hal driver for my boards' gpios, but it seems I'm stuck. First, I've used pcl720.comp as an example, and after a couple of iterations I've got this code: http://pastebin.com/4LT3WLRE It compiles, and loadrt loads it,

Re: [Emc-developers] gpio driver

2014-03-17 Thread Sebastian Kuzminsky
On 3/17/14 09:08 , Paul S. wrote: Hello again, it's been a long time since my last email, and I've tried to make hal driver for my boards' gpios, but it seems I'm stuck. First, I've used pcl720.comp as an example, and after a couple of iterations I've got this code:

Re: [Emc-developers] gpio driver

2014-03-17 Thread Ed Simmons
Hi Paul, On 17/03/2014 15:08, Paul S. wrote: Hello again, it's been a long time since my last email, and I've tried to make hal driver for my boards' gpios, but it seems I'm stuck. First, I've used pcl720.comp as an example, and after a couple of iterations I've got this code: