Skip to content

Commit 5d72bcb

Browse files
authored
Add silent action creation function in espidf.py
1 parent f5c17f8 commit 5d72bcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/frameworks/espidf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,13 @@
104104
sys.stderr.write(f"Error: Missing toolchain directory '{TOOLCHAIN_DIR}'\n")
105105
env.Exit(1)
106106

107+
107108
def create_silent_action(action_func):
108109
"""Create a silent SCons action that suppresses output"""
109110
silent_action = env.Action(action_func)
110111
silent_action.strfunction = lambda target, source, env: ''
111112
return silent_action
112113

113-
114114
if "arduino" in env.subst("$PIOFRAMEWORK"):
115115
_arduino_pkg_dir = platform.get_package_dir("framework-arduinoespressif32")
116116
if not _arduino_pkg_dir or not os.path.isdir(_arduino_pkg_dir):

0 commit comments

Comments
 (0)