1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #10322 from Rotzbua/patch-1

tests/leds: initialize led0 by default
This commit is contained in:
Peter Kietzmann 2019-02-27 17:44:52 +01:00 committed by GitHub
commit 2bfa0e4940
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -63,7 +63,9 @@ extern "C" {
#define LED2_TOGGLE (GPIOB->ODR ^= LED2_MASK)
/* the Nucleo144 boards always use LED0, as there is no dual use of its pin */
#ifndef AUTO_INIT_LED0
#define AUTO_INIT_LED0
#endif
/** @} */
/**

View File

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