can i use intel edison ?
16 Jan 2016 13:08 - 16 Jan 2016 22:21 #68522
by badao520
can i use intel edison ? was created by badao520
i have installed ubilinux . and linuxcnc.http://a3.qpic.cn/psb?/544795d0-a154-4407-aff9-0b50c57b2e49/0XqT8Qv24.ksH1yJZNk0ObC5B0FaDW*saBt3MsIirvk!/b/dIMAAAAAAAAA&bo=YwOAAgAAAAADB8A!&rf=viewer_4
but, how can i use the I/O of the board? or,i must have a parport card ?
but, how can i use the I/O of the board? or,i must have a parport card ?
Last edit: 16 Jan 2016 22:21 by andypugh.
Please Log in or Create an account to join the conversation.
16 Jan 2016 16:37 #68530
by jepler
Replied by jepler on topic can i use intel edison ?
Each different hardware interface requires a HAL realtime component. Nobody has contributed one for Intel Edison, and I don't think any existing components are suitable. You could start here to learn how to implement a HAL realtime component with the halcompile tool: linuxcnc.org/docs/2.7/html/hal/comp.html
The following user(s) said Thank You: badao520
Please Log in or Create an account to join the conversation.
16 Jan 2016 22:31 #68539
by andypugh
Replied by andypugh on topic can i use intel edison ?
There is some interesting information here:
www.emutexlabs.com/project/215-intel-edi...n-multiplexing-guide
Though This might be more relevant to writing a HAL driver:
www.i-programmer.info/programming/hardwa...pped-io.html?start=1
The Edison IO can do GPIO, PWM and ADC. It would actually be pretty neat to have a HAL driver.
www.emutexlabs.com/project/215-intel-edi...n-multiplexing-guide
Though This might be more relevant to writing a HAL driver:
www.i-programmer.info/programming/hardwa...pped-io.html?start=1
The Edison IO can do GPIO, PWM and ADC. It would actually be pretty neat to have a HAL driver.
The following user(s) said Thank You: badao520
Please Log in or Create an account to join the conversation.
17 Jan 2016 01:29 #68548
by badao520
Replied by badao520 on topic can i use intel edison ?
it looks like a big work. haha~
Please Log in or Create an account to join the conversation.
18 Jan 2016 15:19 #68686
by andypugh
it might not be that difficult, but some significant digging about might be needed in the existing driver code.
I think that a HAL driver probably wants to replace rather than utilise the code being used in the examples.
The basic code to read or write a value to the Edison pins is just lines 646 to 675 here:
github.com/intel-iot-devkit/mraa/blob/ma...intel_edison_fab_c.c
Replied by andypugh on topic can i use intel edison ?
it looks like a big work. haha~
it might not be that difficult, but some significant digging about might be needed in the existing driver code.
I think that a HAL driver probably wants to replace rather than utilise the code being used in the examples.
The basic code to read or write a value to the Edison pins is just lines 646 to 675 here:
github.com/intel-iot-devkit/mraa/blob/ma...intel_edison_fab_c.c
Please Log in or Create an account to join the conversation.
Time to create page: 0.063 seconds