[riot-notifications] [RIOT-OS/RIOT] tests/leds: initialize led0 by default (#10322)

Peter Kietzmann notifications at github.com
Tue Feb 26 20:08:40 CET 2019


PeterKietzmann commented on this pull request.



> @@ -1,3 +1,6 @@
 include ../Makefile.tests_common
 
+# Some boards do not initialize LED0 by default
+CFLAGS=-DAUTO_INIT_LED0

`AUTO_INIT_LED0` is a fix for nucleo based boards, because there, LED and SPI pins conflict. With the flag set, we explicitly enable LED over SPI. Maybe we should document it better. However, IMO enabling the flag for this test is the right thing to do. Follow up PRs should correct behavior on non-nucleo boards (lobaro already fixed in  #11060).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10322#discussion_r260441203
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190226/2f902c8f/attachment.html>


More information about the notifications mailing list