File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 5
5
6
6
import sys
7
7
from platform import system
8
+ from platformio .util import get_systype
8
9
from os import makedirs
9
10
from os .path import basename , isdir , join
10
11
36
37
)
37
38
38
39
# Setup tools based on system type
39
- if "windows" in util . get_systype ():
40
+ if "windows" in get_systype ():
40
41
env .Replace (
41
42
SIWIFLASHER = join (platform .get_package_dir ("tool-siwiflasher" ) or "" , "siwiflasher" ),
42
43
REFLASH_FLAGS = [
112
113
upload_source = target_firm
113
114
upload_actions = [env .VerboseAction ("$UPLOADCMD" , "Uploading $SOURCE" )]
114
115
115
- if "windows" not in util . get_systype () and env .subst ("$UPLOAD_PORT" ) == "" :
116
+ if "windows" not in get_systype () and env .subst ("$UPLOAD_PORT" ) == "" :
116
117
env .Append (
117
118
UPLOADERFLAGS = [
118
119
"-u"
You can’t perform that action at this time.
0 commit comments