diff --git a/.development/tilda_tools.py b/.development/tilda_tools.py index 6792427..656604d 100755 --- a/.development/tilda_tools.py +++ b/.development/tilda_tools.py @@ -49,8 +49,14 @@ Common parameters -s --storage : path to flash storage """ +import sys +try: + import serial +except Exception as e: + print("Please install pyserial first: https://pyserial.readthedocs.io/en/latest/pyserial.html") + sys.exit(1) -import sys, glob +import glob import sync, firmware_update, wifi, pyboard_util from resources import *