<p></p>
<p><b>@leandrolanzieri</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/16485#discussion_r635933240">tests/pkg_qr-code-generator/Kconfig</a>:</p>
<pre style='color:#555'>> @@ -1,7 +1,6 @@
 config APPLICATION
     bool
     default y
-    imply MODULE_AUTO_INIT_SCREEN if BOARD_HAS_DISPLAY
</pre>
<p>I think specifying</p>
<pre><code>config MODULE_DISP_DEV
    bool "Display device generic API"
    depends on TEST_KCONFIG
    imply MODULE_AUTO_INIT_SCREEN
</code></pre>
<p>(and something similar for <code>MODULE_TOUCH_DEV</code> would work. If the dependencies of <code>MODULE_AUTO_INIT_SCREEN</code> are not there (e.g. <code>MODULE_AUTO_INIT</code> has been disabled) then it's not enabled. The user can also explicitly say <code>CONFIG_MODULE_AUTO_INIT_SCREEN=n</code> if it wants it off.</p>
<p>Another option is to do</p>
<pre><code>config MODULE_AUTO_INIT_SCREEN
    bool "Auto-initialize screens"
    default y if MODULE_TOUCH_DEV || MODULE_DISP_DEV
</code></pre>
<p>In both cases we need to know that <a href="https://docs.zephyrproject.org/latest/guides/kconfig/tips.html#stuck-symbols-in-menuconfig-and-guiconfig" rel="nofollow">this</a> still applies when using menuconfig.</p>

<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/16485#discussion_r635933240">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYFLEDNRM34PIFDHK5LTOTJAPANCNFSM45GLHLGA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYBD2ZSMYMDCLLU2NU3TOTJAPA5CNFSM45GLHLGKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOE6LC5WA.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/16485#discussion_r635933240",
"url": "https://github.com/RIOT-OS/RIOT/pull/16485#discussion_r635933240",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>