Difference between revisions of "Extend Wiring/Process libraries to MinnowBoard Max"

From eLinux.org
Jump to: navigation, search
m
Line 1: Line 1:
 +
<div style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #dfdfdf; padding:0 1em 1em 1em; background-color:#ffffcc; align:right; ">
 +
'''PAGE UNDER CONSTRUCTION.
 +
<br />
 +
This wiki page is to document the initial development process of this project. Most of the contents are without being tested in the concerned board.
 +
<br />
 +
This same page might evolve from simple idea page to complete documentation of this project.
 +
'''
 +
</div>
 
<div style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #dfdfdf; padding:0 1em 1em 1em; background-color:#ffffcc; align:right; ">
 
<div style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #dfdfdf; padding:0 1em 1em 1em; background-color:#ffffcc; align:right; ">
 
'''"The Wiring/Process combination often referred to generically as the "Arduino" style programming environment was originally extended to platforms such as the Galileo development platform running Linux. Extending this environment to MinnowBoard Max would provide a great platform for education and development."'''
 
'''"The Wiring/Process combination often referred to generically as the "Arduino" style programming environment was originally extended to platforms such as the Galileo development platform running Linux. Extending this environment to MinnowBoard Max would provide a great platform for education and development."'''
Line 12: Line 20:
 
<br />
 
<br />
 
==Things that might need to be changed==
 
==Things that might need to be changed==
 
+
In [https://communities.intel.com/docs/DOC-22226 Galileo Arduino IDE source], most of the changes are to be made in hardware --> arduino --> x86 directory. The x86 section is pretty generic, so we have to identify what sections are specifically geared towards Galileo. So it can be ported to Max.
 +
<br />
 +
<br />
 +
Few of those sections are:
 +
* cores
 +
* libraries
 +
* variants
 +
<br />
 +
First task will be to define the pin mapping of minnowboard max, which are to be changed in 'variants' section and few sections of 'cores'.
 +
sysfs section in cores(hardware --> arduino --> x86 --> cores --> arduino) might be changed according to GPIO sysfs interface of max.
 +
 
 +
<br />
 
==TODO==
 
==TODO==
 +
* The Linux GPIO numbering for kernel <=3.17 and kernel >=3.18 are different. So different variants might be needed accordingly.

Revision as of 00:24, 14 March 2015

PAGE UNDER CONSTRUCTION.
This wiki page is to document the initial development process of this project. Most of the contents are without being tested in the concerned board.
This same page might evolve from simple idea page to complete documentation of this project.

"The Wiring/Process combination often referred to generically as the "Arduino" style programming environment was originally extended to platforms such as the Galileo development platform running Linux. Extending this environment to MinnowBoard Max would provide a great platform for education and development."


Initial development

The starting point of this project will be from the Intel Galileo's customized Arduino IDE 1.5.3(Source Code).
First task is to identify what might need to be changed in the source code to extend this environment to Minnowboard Max.

Things that might need to be changed

In Galileo Arduino IDE source, most of the changes are to be made in hardware --> arduino --> x86 directory. The x86 section is pretty generic, so we have to identify what sections are specifically geared towards Galileo. So it can be ported to Max.

Few of those sections are:

  • cores
  • libraries
  • variants


First task will be to define the pin mapping of minnowboard max, which are to be changed in 'variants' section and few sections of 'cores'. sysfs section in cores(hardware --> arduino --> x86 --> cores --> arduino) might be changed according to GPIO sysfs interface of max.


TODO

  • The Linux GPIO numbering for kernel <=3.17 and kernel >=3.18 are different. So different variants might be needed accordingly.