Fix: handle stm32f-based serial interfaces (/dev/ttyACMx)

This commit is contained in:
Etienne Duble 2012-11-09 14:00:16 +01:00
parent cf541fc0a6
commit ecdbbaec9a
2 changed files with 29 additions and 11 deletions

View file

@ -257,9 +257,7 @@ endif #IAR
MOTELIST = $(CONTIKI)/tools/stm32w/motelist-linux
MOTES = $(shell $(MOTELIST) 2>&- | grep USB | \
cut -f 4 -d \ | \
perl -ne 'print $$1 . " " if(m-(/dev/\w+)-);')
MOTES = $(shell $(MOTELIST) 2>&- | awk '{print $$2}' | grep '\/')
motelist: stm-motelist