-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/driver_grove_ledbar: add external pba-d-01-kw2x
Add an extension of pba-d-01-kw2x which declares itself as providing driver_grove_ledbar so at least one board is supported by the application when calling: `INCLUDE_FEATURES_REQUIRED_DRIVERS=1 make info-boards-supported`
- Loading branch information
Showing
5 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
tests/driver_grove_ledbar/external_boards/pba-d-01-kw2x/Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# This must be a different name than 'board' as it is implemented by 'pba-d-01-kw2x' | ||
MODULE = board_external_pba-d-01-kw2x | ||
|
||
DIRS += $(RIOTBOARD)/pba-d-01-kw2x | ||
|
||
include $(RIOTBASE)/Makefile.base |
4 changes: 4 additions & 0 deletions
4
tests/driver_grove_ledbar/external_boards/pba-d-01-kw2x/Makefile.dep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# This must be a different name than 'board' as it is implemented by 'pba-d-01-kw2x' | ||
USEMODULE += board_external_pba-d-01-kw2x | ||
|
||
include $(RIOTBOARD)/pba-d-01-kw2x/Makefile.dep |
3 changes: 3 additions & 0 deletions
3
tests/driver_grove_ledbar/external_boards/pba-d-01-kw2x/Makefile.features
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FEATURES_PROVIDED += driver_grove_ledbar | ||
|
||
include $(RIOTBOARD)/pba-d-01-kw2x/Makefile.features |
7 changes: 7 additions & 0 deletions
7
tests/driver_grove_ledbar/external_boards/pba-d-01-kw2x/Makefile.include
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CFLAGS += -DTHIS_BOARD_IS='"external_pba-d-01-kw2x"' | ||
|
||
# We must duplicate the include done by $(RIOTBASE)/Makefile.include | ||
# to also include the main board header | ||
INCLUDES += $(addprefix -I,$(wildcard $(RIOTBOARD)/pba-d-01-kw2x/include)) | ||
|
||
include $(RIOTBOARD)/pba-d-01-kw2x/Makefile.include |