In stm32w_flasher added check for pyudev and updated ubuntu package instructions.

This commit is contained in:
Christian Taedcke 2013-11-19 21:47:07 +01:00
parent 108692bb31
commit 6a30e78390

View file

@ -12,10 +12,11 @@ import optparse, os, sys, time
try:
import serial
import ftdi
import pyudev
except:
print 'Python modules serial and ftdi could not be loaded.'
print 'Please install these dependencies:'
print '(On Ubuntu) $ sudo apt-get install python-serial python-ftdi'
print '(On Ubuntu) $ sudo apt-get install python-serial python-ftdi python-pyudev'
sys.exit(-1)
from messages import infoMessage, errorMessage