We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea568e2 commit be52592Copy full SHA for be52592
tools/esp32/build_esp32.py
@@ -121,7 +121,14 @@ def copy_output():
121
122
build_cmd = "python " + os.path.join(BSP_PATH, "tools", "idf.py") + " " + MAKE_OPTION
123
124
-subprocess.call(export_cmd + " && cd " + APP_PATH + " && " + build_cmd, shell=True)
+ret = subprocess.call(export_cmd + " && cd " + APP_PATH + " && " + build_cmd, shell=True)
125
+if "clean" in MAKE_OPTION.split(' '):
126
+ print("\nTip : To remove all previous build information,")
127
+ print(" 'fullclean' is recommended instead of 'clean'.")
128
+ print(" For more information, run script with '--help' option.\n")
129
+if ret != 0:
130
+ exit(1)
131
+
132
133
if set(MAKE_OPTION.split()).intersection(OUTPUT_OPTION_ARRAY):
134
copy_output()
0 commit comments