diff --git a/platformio/util.py b/platformio/util.py index 56e95d2f..45af8b12 100644 --- a/platformio/util.py +++ b/platformio/util.py @@ -33,6 +33,10 @@ from platformio.proc import exec_command # pylint: enable=unused-import +# also export list_serial_ports as get_serialports to be +# backward compatiblty with arduinosam versions 3.9.0 to 3.5.0 (and possibly others) +get_serialports = get_serial_ports + class memoized(object): def __init__(self, expire=0):