Skip to content

Commit 2a7fc9f

Browse files
valerosfpistm
authored andcommitted
Sync PlatformIO build script
Signed-off-by: Valerii Koval <valeros@users.noreply.github.com>
1 parent d7019d1 commit 2a7fc9f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tools/platformio/platformio-build.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,13 @@
4646
)
4747
series = mcu_type[:7].upper() + "xx"
4848
variants_dir = (
49-
join("$PROJECT_DIR", board_config.get("build.variants_dir"))
49+
join(env.subst("$PROJECT_DIR"), board_config.get("build.variants_dir"))
5050
if board_config.get("build.variants_dir", "")
5151
else join(FRAMEWORK_DIR, "variants")
5252
)
5353
variant_dir = join(variants_dir, variant)
5454
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-
):
55+
if not IS_WINDOWS and not (env.IsIntegrationDump() and " " not in variant_dir):
5856
inc_variant_dir = variant_dir.replace("(", r"\(").replace(")", r"\)")
5957

6058
upload_protocol = env.subst("$UPLOAD_PROTOCOL")

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy