mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/native: add PERIPH_CAN_FLAGS to specifiy vcan iface
This commit is contained in:
parent
0d7eb36247
commit
50f9c14ded
@ -101,6 +101,15 @@ ifneq (,$(filter periph_eeprom,$(FEATURES_USED)))
|
||||
TERMFLAGS += $(EEPROM_FILE_FLAGS)
|
||||
endif
|
||||
|
||||
VCAN_IFNUM ?= 0
|
||||
VCAN_IFNAME ?= vcan0
|
||||
VCAN_IFACE ?= $(VCAN_IFNUM):$(VCAN_IFNAME)
|
||||
# set the default vcan interface
|
||||
ifneq (,$(filter periph_can,$(FEATURES_USED)))
|
||||
PERIPH_CAN_FLAGS ?= --can $(VCAN_IFACE)
|
||||
TERMFLAGS += $(PERIPH_CAN_FLAGS)
|
||||
endif
|
||||
|
||||
TERMFLAGS += $(PORT)
|
||||
|
||||
ASFLAGS =
|
||||
|
Loading…
Reference in New Issue
Block a user