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

Peter Kietzmann notifications at github.com
Wed Feb 27 10:57:20 CET 2019


The nucleo-f144 defines `AUTO_INIT_LED0` because is has no pin conflict but it uses the same `board_init()` code as the other nucleos boards. Out of my head I can't say what the best solution is.
- Simply don't auto_initiaialize LEDs on this board, even if there is no pin conflict
- Add an ugly ` || #ifdef NUCLEO_F144`
- Write a separate `board_init` function

Personally I tend to the first solution. @smlng any opinions?

-- 
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#issuecomment-467799109
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190227/5dd205f2/attachment-0001.html>


More information about the notifications mailing list