From e66969c430fb2fb3d57ce47d41c8c8f43826bbd6 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Tue, 24 Dec 2024 20:39:10 -0500 Subject: [PATCH] If we're building a sketch without VERBOSE set, send STDOUT to /dev/null since Arduino otherwise prints unskippable diagnostics --- etc/makefiles/sketch.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/makefiles/sketch.mk b/etc/makefiles/sketch.mk index a58062e42..4844c91ac 100644 --- a/etc/makefiles/sketch.mk +++ b/etc/makefiles/sketch.mk @@ -181,7 +181,7 @@ compile: kaleidoscope-hardware-configured check-rosetta --libraries "${KALEIDOSCOPE_DIR}/plugins/" \ --build-path "${BUILD_PATH}" \ --output-dir "${OUTPUT_PATH}" -j 0 \ - "${SKETCH_FILE_PATH}" + "${SKETCH_FILE_PATH}" $(if $(VERBOSE),,> /dev/null) ifeq ($(LIBONLY),) $(QUIET) cp "${BUILD_PATH}/${SKETCH_FILE_NAME}.hex" "${HEX_FILE_PATH}" $(QUIET) cp "${BUILD_PATH}/${SKETCH_FILE_NAME}.elf" "${ELF_FILE_PATH}"