mirror of https://github.com/ARMmbed/mbed-os.git
Update STM32_gen_PeripheralPins.py (#217)
Protection against using python version older than python3+pull/15494/head
parent
7edab2d1ce
commit
ca8b6cb609
|
@ -27,6 +27,8 @@ from xml.dom.minidom import parse, Node
|
|||
from argparse import RawTextHelpFormatter
|
||||
import subprocess
|
||||
|
||||
if sys.version_info[0] < 3: raise Exception("Python 3+ is required (recommended latest one)")
|
||||
|
||||
GENPINMAP_VERSION = "1.20.5"
|
||||
|
||||
ADD_DEVICE_IF = 0
|
||||
|
|
Loading…
Reference in New Issue