<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>T-Series中的主题 Configure/use GPIO pins for T2081 processor</title>
    <link>https://community.nxp.com/t5/T-Series/Configure-use-GPIO-pins-for-T2081-processor/m-p/713591#M2234</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using a custom board based on T2081 processor.&lt;/P&gt;&lt;P&gt;I need to create a driver that controls 4 GPIO lines as inputs and 4 as output.&lt;/P&gt;&lt;P&gt;The problem I'm facing is that, despite I can control GPIO lines on command line with echo command, I can't find the library necessary to make use of C callable instructions to configure and use them.&lt;/P&gt;&lt;P&gt;I'm looking within toolchain include folders and found some files to include (consumer/driver/machine .h in /include/linux/gpio directory), but I'm facing a lot of problems to compile the project.&lt;/P&gt;&lt;P&gt;Is there any other source file I need to use? Are these files correct?&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Sep 2017 16:50:26 GMT</pubDate>
    <dc:creator>francescocaiazz</dc:creator>
    <dc:date>2017-09-25T16:50:26Z</dc:date>
    <item>
      <title>Configure/use GPIO pins for T2081 processor</title>
      <link>https://community.nxp.com/t5/T-Series/Configure-use-GPIO-pins-for-T2081-processor/m-p/713591#M2234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using a custom board based on T2081 processor.&lt;/P&gt;&lt;P&gt;I need to create a driver that controls 4 GPIO lines as inputs and 4 as output.&lt;/P&gt;&lt;P&gt;The problem I'm facing is that, despite I can control GPIO lines on command line with echo command, I can't find the library necessary to make use of C callable instructions to configure and use them.&lt;/P&gt;&lt;P&gt;I'm looking within toolchain include folders and found some files to include (consumer/driver/machine .h in /include/linux/gpio directory), but I'm facing a lot of problems to compile the project.&lt;/P&gt;&lt;P&gt;Is there any other source file I need to use? Are these files correct?&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 16:50:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Configure-use-GPIO-pins-for-T2081-processor/m-p/713591#M2234</guid>
      <dc:creator>francescocaiazz</dc:creator>
      <dc:date>2017-09-25T16:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Configure/use GPIO pins for T2081 processor</title>
      <link>https://community.nxp.com/t5/T-Series/Configure-use-GPIO-pins-for-T2081-processor/m-p/713592#M2235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;NXP SDK supports sysfs possibility for GPIO using.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Look at the following pages:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.kernel.org%2Fdoc%2FDocumentation%2Fgpio%2Fsysfs.txt" rel="nofollow" target="_blank"&gt;https://www.kernel.org/doc/Documentation/gpio/sysfs.txt&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Ffalsinsoft.blogspot.ru%2F2012%2F11%2Faccess-gpio-from-linux-user-space.html" rel="nofollow" target="_blank"&gt;http://falsinsoft.blogspot.ru/2012/11/access-gpio-from-linux-user-space.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwiki.openwrt.org%2Fdoc%2Fhardware%2Fport.gpio" rel="nofollow" target="_blank"&gt;https://wiki.openwrt.org/doc/hardware/port.gpio&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Flinux-sunxi.org%2FGPIO" rel="nofollow" target="_blank"&gt;http://linux-sunxi.org/GPIO&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 03:21:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Configure-use-GPIO-pins-for-T2081-processor/m-p/713592#M2235</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2017-09-26T03:21:59Z</dc:date>
    </item>
  </channel>
</rss>

