Escape path and fix issue with user account that contains spaces
This commit is contained in:
@@ -140,7 +140,7 @@ partition_table = env.Command(
|
||||
join(env.subst("$BUILD_DIR"), "partitions_table.bin"),
|
||||
join("$ESPIDF_DIR", "components",
|
||||
"partition_table", "partitions_singleapp.csv"),
|
||||
'"$PYTHONEXE" %s -q $SOURCE $TARGET' % join(
|
||||
'"$PYTHONEXE" "%s" -q $SOURCE $TARGET' % join(
|
||||
"$ESPIDF_DIR", "components", "partition_table", "gen_esp32part.py")
|
||||
)
|
||||
|
||||
|
||||
+4
-4
@@ -113,10 +113,10 @@ env.Replace(
|
||||
if env.subst("$PIOFRAMEWORK") == "arduino":
|
||||
env.Append(
|
||||
UPLOADERFLAGS=[
|
||||
"0x1000", join("$FRAMEWORK_ARDUINOESP32_DIR", "tools",
|
||||
"sdk", "bin", "bootloader.bin"),
|
||||
"0x4000", join("$FRAMEWORK_ARDUINOESP32_DIR", "tools",
|
||||
"sdk", "bin", "partitions_singleapp.bin"),
|
||||
"0x1000", '"%s"' % join("$FRAMEWORK_ARDUINOESP32_DIR", "tools",
|
||||
"sdk", "bin", "bootloader.bin"),
|
||||
"0x4000", '"%s"' % join("$FRAMEWORK_ARDUINOESP32_DIR", "tools",
|
||||
"sdk", "bin", "partitions_singleapp.bin"),
|
||||
"0x10000"
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user