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 2b9ff52 commit 1114348Copy full SHA for 1114348
builder/frameworks/arduino.py
@@ -283,17 +283,3 @@ def call_compile_libs():
283
else:
284
PIO_BUILD = "pioarduino-build.py"
285
SConscript(join(platform.get_package_dir("framework-arduinoespressif32"), "tools", PIO_BUILD))
286
- #
287
- # Custom target: firmware-metrics using esp-idf-size
288
289
- def print_firmware_metrics(target, source, env):
290
- map_file = os.path.join(env.subst("$BUILD_DIR"), "firmware.map")
291
- if os.path.isfile(map_file):
292
- try:
293
- import esp_idf_size
294
- print("[INFO] Running esp-idf-size on %s" % map_file)
295
- env.Execute("$PYTHONEXE -m esp-idf-size \" \"{map_file}\"")
296
- except:
297
- pass
298
-
299
- env.AlwaysBuild(env.Alias("firmware-metrics", None, print_firmware_metrics))
0 commit comments