<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Custom GPIO Driver</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3fe48ebe38/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3fe48ebe38/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/3fe48ebe38/</id><updated>2020-02-27T15:39:02.139000Z</updated><subtitle>Recent posts to Custom GPIO Driver</subtitle><entry><title>Custom GPIO Driver</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3fe48ebe38/?limit=25#40cb" rel="alternate"/><published>2020-02-27T15:39:02.139000Z</published><updated>2020-02-27T15:39:02.139000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com6e16caf428228aa483d6c8b227ca4ca237e6c2f9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi David,&lt;/p&gt;
&lt;p&gt;I have added an JIRA issue for this,&lt;br/&gt;
sure this should be possible to use your customized GPIO's.&lt;br/&gt;
At the moment you need to change the original Pi devdesc's for testing purpose.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Custom GPIO Driver</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3fe48ebe38/?limit=25#511c" rel="alternate"/><published>2020-02-27T15:39:01.072000Z</published><updated>2020-02-27T15:39:01.072000Z</updated><author><name>DavidCozens</name><uri>https://forge.codesys.com/u/davidcozens/</uri></author><id>https://forge.codesys.com55f1e5a0359cb7f0cb2a09e92570c9a209cbe923</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I need to write a Custom GPIO driver for an add on board that uses GPIO 18 as a PWM output. I am familiar with writing device drivers, I have looked at the source for the existing GPIO driver library and believe I know what I need to do. However I believe I am blocked by the device descriptor for the Raspberry Pi itself where it has the elements below. As far as I can see this prevents me from adding a custom device descriptor. Is there a work around to allow a custom device descriptor that I can distribute? For development I can add my driver ID to those allowed.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;  &lt;span class="nt"&gt;&amp;lt;AllowOnly&amp;gt;&lt;/span&gt;
    &lt;span class="c"&gt;&amp;lt;!--GPIOs; must be set because AllowOnly is global and not limited to this connector--&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;DeviceIdentification&lt;/span&gt; &lt;span class="na"&gt;deviceType=&lt;/span&gt;&lt;span class="s"&gt;"504"&lt;/span&gt; &lt;span class="na"&gt;deviceId=&lt;/span&gt;&lt;span class="s"&gt;"0000 0000"&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/AllowOnly&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;AllowOnly&amp;gt;&lt;/span&gt;
    &lt;span class="c"&gt;&amp;lt;!--GPIOs; must be set because AllowOnly is global and not limited to this connector--&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;DeviceIdentification&lt;/span&gt; &lt;span class="na"&gt;deviceType=&lt;/span&gt;&lt;span class="s"&gt;"504"&lt;/span&gt; &lt;span class="na"&gt;deviceId=&lt;/span&gt;&lt;span class="s"&gt;"0000 0001"&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/AllowOnly&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry></feed>