From 6a30e7839046df0cfee597456acc60d53ffeb433 Mon Sep 17 00:00:00 2001 From: Christian Taedcke Date: Tue, 19 Nov 2013 21:47:07 +0100 Subject: [PATCH] In stm32w_flasher added check for pyudev and updated ubuntu package instructions. --- tools/stm32w/stm32w_flasher/py_files/stm32w_flasher.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/stm32w/stm32w_flasher/py_files/stm32w_flasher.py b/tools/stm32w/stm32w_flasher/py_files/stm32w_flasher.py index 4f486408a..d83c095e7 100755 --- a/tools/stm32w/stm32w_flasher/py_files/stm32w_flasher.py +++ b/tools/stm32w/stm32w_flasher/py_files/stm32w_flasher.py @@ -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