<h3>Contribution description</h3>
<p>This PR models dependency in Kconfig related to uwb-core/uwb-dw1000 package, since this runs only on <code>dwm1001</code> so far this PR goes throgh modelling dependencies for:</p>
<ul>
<li><code>mynewt-core</code></li>
<li><code>uwb-core</code></li>
<li><code>uwb-dw1000</code></li>
<li><code>nrf52</code> (excluding netif related dependencies)</li>
</ul>
<p>FEEDBACK wanted:</p>
<ul>
<li>I abused <code>select</code>  for the packages, I think its fine since those titely coupled</li>
<li>the sema case its not too clear, there is no clear dependency in the current modeling, but the code would have an issue if neither <code>xtimer</code> or <code>ztimer</code> are included, should I leave it as is? Maybe add a comment?</li>
<li>not sure if everything is in place for murdock to kconfig test....</li>
</ul>
<h3>Testing procedure</h3>
<p>Binaries are the same:</p>
<ul>
<li>kconfig</li>
</ul>
<div class="snippet-clipboard-content position-relative" data-snippet-clipboard-copy-content="   text    data     bss     dec     hex filename
  50688     776    8552   60016    ea70 /home/francisco/workspace/RIOT/examples/twr_aloha/bin/dwm1001/twr-aloha.elf
"><pre><code>   text           data     bss     dec     hex filename
  50688     776    8552   60016    ea70 /home/francisco/workspace/RIOT/examples/twr_aloha/bin/dwm1001/twr-aloha.elf
</code></pre></div>
<ul>
<li>make:</li>
</ul>
<div class="snippet-clipboard-content position-relative" data-snippet-clipboard-copy-content="   text    data     bss     dec     hex filename
  50688     776    8552   60016    ea70 /home/francisco/workspace/RIOT/examples/twr_aloha/bin/dwm1001/twr-aloha.elf
"><pre><code>   text           data     bss     dec     hex filename
  50688     776    8552   60016    ea70 /home/francisco/workspace/RIOT/examples/twr_aloha/bin/dwm1001/twr-aloha.elf
</code></pre></div>
<h3>Issues/PRs references</h3>
<p>Depends on <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="964092639" data-permission-text="Title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/16719" data-hovercard-type="pull_request" data-hovercard-url="/RIOT-OS/RIOT/pull/16719/hovercard" href="https://github.com/RIOT-OS/RIOT/pull/16719">#16719</a> (for the DEVELHELP commit)</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/16780'>https://github.com/RIOT-OS/RIOT/pull/16780</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>cpu/cortexm: Use DEVELHELP to add stack guard</li>
  <li>pkg/mynewt-core: use irq_is_enabled()</li>
  <li>sys/sema/Kconfig: fix inclusion of xtimer</li>
  <li>pkg/mynewt-core: add Kconfig module dependency</li>
  <li>pkg/uwb-core: add Kconfig module dependency</li>
  <li>pkg/uwb-dw1000: add Kconfig module dependency</li>
  <li>cpu/nrf52: initial Kconfig dependency modelling</li>
  <li>boards/dwm1001: initial Kconfig modelling</li>
  <li>examples/twr_aloha: add Kconfig</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16780/files#diff-94a3ea08f3cc82a0919d2f403b4fb7a969495eef2bab6a9d84839bf050324bcb">.murdock</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16780/files#diff-88f7a4a827aa6d7d83d6e0e1e5a197fd1e5a0c7cf3fb6a4e9ef31c43a1842db0">boards/common/nrf52/Kconfig</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16780/files#diff-fb7e5ec23c4133f3301b4eb674d296454d79a66e240010d9abfaf23350e0d4e7">boards/dwm1001/Kconfig</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16780/files#diff-0b955188690bbab2a9236133793bc0584817c20abef47200cdaf9b0faf49eaa6">cpu/cortexm_common/Kconfig</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16780/files#diff-175378a56dc408fdf8cacf5ddf73b038ef451c51cc0930f1261cb4c4abc01a29">cpu/nrf52/Kconfig</a>
    (7)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16780/files#diff-b8d6c971f500a06da7c236af4279ddd312bfff693a0611339bec3291bb2f4145">cpu/nrf52/periph/Kconfig</a>
    (24)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16780/files#diff-27a80cee66e3d426fbbb61e9d337ba96869dd54775c257dfc27e98c88cde1f24">cpu/nrf52/vectors/Kconfig</a>
    (10)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16780/files#diff-bec8ddbbd5086ca3ae99455d8f99dd780859925831b511bd7052b7a1ccaeec0a">cpu/nrf5x_common/Kconfig</a>
    (10)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16780/files#diff-c8f208d798365f8a26089b292db0f3f996bbb47ba0c743b4ea2b8e61093687f9">cpu/nrf5x_common/periph/Kconfig.nrf5x</a>
    (26)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16780/files#diff-8e9900da28d7cf883db53a357adf37629823798a6f34d0359b6ede99c7676cfa">examples/twr_aloha/app.config.test</a>
    (13)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16780/files#diff-f301c745fc53909a748245f11c7be401fe1c66df8a81904949c08df4a515b37a">makefiles/vars.inc.mk</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16780/files#diff-6d56c6cf118d798a2e6cfb8a0a82cd77fea915c948ccd22c2896eda80ab78aea">pkg/Kconfig</a>
    (3)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16780/files#diff-b62e4da27017004ecc3e7c5bf08811f0408beda9641b8c2a030c25ce5059cc7d">pkg/mynewt-core/Kconfig</a>
    (34)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16780/files#diff-20a35881f6fe43ff02169c1a066ac460cff2997af0f44e4a7a38e089e8922de0">pkg/mynewt-core/Makefile.dep</a>
    (11)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16780/files#diff-78799ac66117906d830b1c9f25888d14ecc8398e90b7fc1da20706fe34e19c04">pkg/mynewt-core/include/os/os.h</a>
    (2)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16780/files#diff-5d95319af787e651d55adc332e3951601222744378c2a40376d70a9e483ea9b6">pkg/uwb-core/Kconfig</a>
    (76)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16780/files#diff-3077c3cf152b9f5b95c565ab82fba4fbb96fdd548702eb23593d048503f94e93">pkg/uwb-dw1000/Kconfig</a>
    (26)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16780/files#diff-5b713379a30d67af915827153536f9db6bf0d8f7fcce91e87d9ac517dace5bfc">sys/sema/Kconfig</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/16780.patch'>https://github.com/RIOT-OS/RIOT/pull/16780.patch</a></li>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/16780.diff'>https://github.com/RIOT-OS/RIOT/pull/16780.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/16780">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYGC6N2BJ4FSGAKZOV3T65CHBANCNFSM5C5AXCTA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/ABE7WYFLU6LJJXWD5ONCK2DT65CHBA5CNFSM5C5AXCTKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4OTYYPOA.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/16780",
"url": "https://github.com/RIOT-OS/RIOT/pull/16780",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>