We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7019d1 commit 6a2ba3fCopy full SHA for 6a2ba3f
tools/platformio/platformio-build.py
@@ -46,15 +46,13 @@
46
)
47
series = mcu_type[:7].upper() + "xx"
48
variants_dir = (
49
- join("$PROJECT_DIR", board_config.get("build.variants_dir"))
+ join(env.subst("$PROJECT_DIR"), board_config.get("build.variants_dir"))
50
if board_config.get("build.variants_dir", "")
51
else join(FRAMEWORK_DIR, "variants")
52
53
variant_dir = join(variants_dir, variant)
54
inc_variant_dir = variant_dir
55
-if not IS_WINDOWS and not (
56
- set(["_idedata", "idedata"]) & set(COMMAND_LINE_TARGETS) and " " not in variant_dir
57
-):
+if not IS_WINDOWS and not (env.IsIntegrationDump() and " " not in variant_dir):
58
inc_variant_dir = variant_dir.replace("(", r"\(").replace(")", r"\)")
59
60
upload_protocol = env.subst("$UPLOAD_PROTOCOL")
0 commit comments