Skip to content

Commit

Permalink
move requirements to Makefile.board.dep
Browse files Browse the repository at this point in the history
  • Loading branch information
wosym committed Feb 3, 2020
1 parent 16bf85f commit 28a060c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/conn_can/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ USEMODULE += conn_can_isotp_multi
USEMODULE += can_pm
USEMODULE += can_trx

ifneq ($(BOARD), native)
FEATURES_REQUIRED += periph_can
FEATURES_REQUIRED += periph_gpio_irq
endif

CFLAGS += -DGNRC_PKTBUF_SIZE=4096
CFLAGS += -DCAN_PKT_BUF_SIZE=64
CFLAGS += -DCAN_ROUTER_MAX_FILTER=32
Expand Down
4 changes: 4 additions & 0 deletions tests/conn_can/Makefile.board.dep
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ifneq ($(BOARD), native)
FEATURES_REQUIRED += periph_can
FEATURES_REQUIRED += periph_gpio_irq
endif

0 comments on commit 28a060c

Please sign in to comment.