Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
2bfa0e49
Unverified
Commit
2bfa0e49
authored
6 years ago
by
Peter Kietzmann
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #10322 from Rotzbua/patch-1
tests/leds: initialize led0 by default
parents
3e7b3d38
d606c11d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
boards/common/nucleo144/include/board.h
+2
-0
2 additions, 0 deletions
boards/common/nucleo144/include/board.h
tests/leds/Makefile
+3
-0
3 additions, 0 deletions
tests/leds/Makefile
with
5 additions
and
0 deletions
boards/common/nucleo144/include/board.h
+
2
−
0
View file @
2bfa0e49
...
@@ -63,7 +63,9 @@ extern "C" {
...
@@ -63,7 +63,9 @@ extern "C" {
#define LED2_TOGGLE (GPIOB->ODR ^= LED2_MASK)
#define LED2_TOGGLE (GPIOB->ODR ^= LED2_MASK)
/* the Nucleo144 boards always use LED0, as there is no dual use of its pin */
/* the Nucleo144 boards always use LED0, as there is no dual use of its pin */
#ifndef AUTO_INIT_LED0
#define AUTO_INIT_LED0
#define AUTO_INIT_LED0
#endif
/** @} */
/** @} */
/**
/**
...
...
This diff is collapsed.
Click to expand it.
tests/leds/Makefile
+
3
−
0
View file @
2bfa0e49
include
../Makefile.tests_common
include
../Makefile.tests_common
# Some boards do not initialize LED0 by default
CFLAGS
=
-DAUTO_INIT_LED0
include
$(RIOTBASE)/Makefile.include
include
$(RIOTBASE)/Makefile.include
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment