Skip to content

Commit 4948b54

Browse files
committed
zoul-sparrow: only include devices with the current board when listing devices
1 parent 2e7325b commit 4948b54

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

platform/zoul-sparrow/Makefile.zoul-sparrow

+6-2
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ MODULES += core/net core/net/mac \
9999
core/net/mac/contikimac \
100100
core/net/llsec core/net/llsec/noncoresec
101101

102+
ifeq ($(WITH_IP64),1)
103+
MODULES += core/net/ip64
104+
endif
105+
102106
EXTERNAL_MODULES += $(SPARROW)/dev/cc1200
103107

104108
EXTERNAL_MODULES += $(SPARROW)/lib/image-trailer
@@ -114,14 +118,14 @@ endif
114118
ifeq ($(HOST_OS),Darwin)
115119
USBDEVPREFIX=
116120
MOTELIST := $(CONTIKI)/tools/zolertia/motelist-zolertia-macos
117-
MOTES := $(shell $(MOTELIST) -c 2>&- | cut -f 2 -d ,)
121+
MOTES := $(shell $(MOTELIST) $(MOTELIST_FLAGS) -c 2>&- | cut -f 2 -d ,)
118122
SERIALDUMP := $(CONTIKI)/tools/sky/serialdump-macos
119123
else
120124
### If we are not running under Mac, we assume Linux
121125
USBDEVPREFIX=
122126
SERIALDUMP := $(CONTIKI)/tools/sky/serialdump-linux
123127
MOTELIST := $(CONTIKI)/tools/zolertia/motelist-zolertia
124-
MOTES := $(shell $(MOTELIST) -b $(MOTELIST_ZOLERTIA) -c 2>&- | cut -f 2 -d , | \
128+
MOTES := $(shell $(MOTELIST) $(MOTELIST_FLAGS) -c 2>&- | cut -f 2 -d , | \
125129
perl -ne 'print $$1 . " " if(m-(/dev/\w+)-);')
126130
endif
127131

0 commit comments

Comments
 (0)