Skip to content

Commit

Permalink
If we're building a sketch without VERBOSE set, send STDOUT to /dev/n…
Browse files Browse the repository at this point in the history
…ull since Arduino otherwise prints unskippable diagnostics
  • Loading branch information
obra committed Dec 25, 2024
1 parent cefc2c4 commit e66969c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/makefiles/sketch.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit e66969c

Please sign in to comment.