Skip to content

Commit 5de2429

Browse files
ivankravetsme-no-dev
authored andcommitted
Wrap "gen_esp32part" command with verbose action and own label (espressif#198)
1 parent d92c768 commit 5de2429

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/platformio-build.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
partition_table = env.Command(
155155
join("$BUILD_DIR", "partitions.bin"),
156156
join(FRAMEWORK_DIR, "tools", "partitions", "default.csv"),
157-
'"$PYTHONEXE" "%s" -q $SOURCE $TARGET' % join(
158-
FRAMEWORK_DIR, "tools", "gen_esp32part.py")
159-
)
157+
env.VerboseAction('"$PYTHONEXE" "%s" -q $SOURCE $TARGET' %
158+
join(FRAMEWORK_DIR, "tools", "gen_esp32part.py"),
159+
"Generating partitions $TARGET"))
160160
env.Depends("$BUILD_DIR/$PROGNAME$PROGSUFFIX", partition_table)

0 commit comments

Comments
 (0)