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

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/12509#discussion_r635367869">tests/driver_epd_bw_spi/Makefile</a>:</p>
<pre style='color:#555'>> @@ -0,0 +1,10 @@
+BOARD ?= nucleo-f411re
+
+include ../Makefile.tests_common
+
+USEMODULE += xtimer
+USEMODULE += epd_bw_spi
+
+INCLUDES += -I$(APPDIR)
</pre>
<p>You could use CFLAGS from the command line. But I would avoid any custom setup specific configuration in a RIOT application, this is not generic and cannot be reused in another setup.<br>
If you set the driver default params with your preferred values (let's say it's a privilege given to the initial contributor), then you won't have to change anything. But if someone wants to reuse this application for its needs with a different setup, he can add CFLAGS to the build command line without having to change any line of code. If it's a custom setup hardwired on a board (like the stm32l0 disco), then the defines will have to defined in board.h of this board (board.h must be included in <code>xx_params.h</code> header and the application can be built as is.</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/12509#discussion_r635367869">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYBHMMPDE34MFFI4LULTOPMHPANCNFSM4JCQDDXQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYFJXDO2PWNW64RRPWLTOPMHPA5CNFSM4JCQDDX2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOE6FFOGY.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/12509#discussion_r635367869",
"url": "https://github.com/RIOT-OS/RIOT/pull/12509#discussion_r635367869",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>