Gaëtan Harter 633f050d1f
tests/external_board_native: show an example of external board
Add an example that implements an external board based on native.
It relies on 'BOARDSDIR' and uses common files from 'RIOT/boards'
through 'RIOTBOARDS'.

This application also works with the docker integration.
2019-12-16 15:35:05 +01:00

8 lines
270 B
Makefile

CFLAGS += -DTHIS_BOARD_IS='"external_native"'
# We must duplicate the include done by $(RIOTBASE)/Makefile.include
# to also include the main board header
INCLUDES += $(addprefix -I,$(wildcard $(RIOTBOARD)/native/include))
include $(RIOTBOARD)/native/Makefile.include