<h3>Contribution description</h3>
<p>This PR exposes compile configurations in ISL29020 Sensor Device driver to Kconfig.</p>
<h3>Testing procedure</h3>
<ol>
<li>New documentation was built using doxygen</li>
</ol>
<p>The build worked fine.</p>
<ol start="2">
<li>New macro was introduced in tests/driver_tmp00x/main.c for testing.</li>
</ol>
<pre><code>#define STR(x)   #x
#define SHOW_DEFINE(x) printf("%s=%s\n", #x, STR(x))
</code></pre>
<p>Firmware was uploaded to FIT IoT Lab test bed.</p>
<h4>Default State:</h4>
<h5>Firmware Output</h5>
<p>main(): This is RIOT! (Version: 2020.07-devel-311-gec19c-Kconfig_isl29020_tests)<br>
CONFIG_ISL29020_DEFAULT_ADDRESS=0x44<br>
ISL29020 light sensor test application</p>
<p>Initializing ISL29020 sensor<br>
[Failed]</p>
<h4>Usage with CFLAGS</h4>
<p>/tests/driver_isl29020/Makefile</p>
<blockquote>
<p>CFLAGS += -DCONFIG_ISL29020_DEFAULT_ADDRESS=0x45</p>
</blockquote>
<h5>Firmware Output</h5>
<p>main(): This is RIOT! (Version: 2020.07-devel-311-gec19c-Kconfig_isl29020_tests)<br>
CONFIG_ISL29020_DEFAULT_ADDRESS=0x45<br>
ISL29020 light sensor test application</p>
<p>Initializing ISL29020 sensor<br>
[Failed]</p>
<h4>Usage with Kconfig</h4>
<p>/tests/driver_isl29020/</p>
<blockquote>
<p>make menuconfig</p>
</blockquote>
<h5>Firmware Output</h5>
<p>main(): This is RIOT! (Version: 2020.07-devel-312-gc0d85b-Kconfig_isl29020_tests)<br>
CONFIG_ISL29020_DEFAULT_ADDRESS=0x45<br>
ISL29020 light sensor test application</p>
<p>Initializing ISL29020 sensor<br>
[Failed]</p>
<p>Note : The sensor is not available for interfacing hence configurability of macros were only tested.</p>
<h3>Issues/PRs references</h3>
<p><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="533824778" data-permission-text="Title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/12888" data-hovercard-type="issue" data-hovercard-url="/RIOT-OS/RIOT/issues/12888/hovercard" href="https://github.com/RIOT-OS/RIOT/issues/12888">#12888</a><br>
<a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/leandrolanzieri/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/leandrolanzieri">@leandrolanzieri</a>  Please merge this only after  <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="609145087" data-permission-text="Title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/13981" data-hovercard-type="pull_request" data-hovercard-url="/RIOT-OS/RIOT/pull/13981/hovercard" href="https://github.com/RIOT-OS/RIOT/pull/13981">#13981</a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/RIOT-OS/RIOT/pull/13995'>https://github.com/RIOT-OS/RIOT/pull/13995</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>drivers/isl29020 : Add CONFIG_</li>
  <li>drivers/isl29020 : Make ADDR configurable</li>
  <li>drivers/isl29020 : Expose to Kconfig</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/13995/files#diff-31aa806b780f9c93bb8ee2567d7d19ce">drivers/Kconfig</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/13995/files#diff-6bd82843b60d59775099d8c811572d4a">drivers/include/isl29020.h</a>
    (12)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/13995/files#diff-f153a7e874a727717a2f8caa508a5816">drivers/isl29020/Kconfig</a>
    (25)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/13995/files#diff-4c407047294674925636a4089938e8ee">drivers/isl29020/include/isl29020_params.h</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/13995.patch'>https://github.com/RIOT-OS/RIOT/pull/13995.patch</a></li>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/13995.diff'>https://github.com/RIOT-OS/RIOT/pull/13995.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/13995">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYAQDT2ECXAPX54GEHDRPJHHVANCNFSM4MW3KJ3Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYFACIOPYTRT2COGXGDRPJHHVA5CNFSM4MW3KJ32YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JDEMDTQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/13995",
"url": "https://github.com/RIOT-OS/RIOT/pull/13995",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>