]> Devi Nivas Git - gt-ece4180-lab02.git/commitdiff
Modify Makefile to disable unnecessary stdout in setport
authorAdvaith Menon <83835839+advaithm582@users.noreply.github.com>
Tue, 16 Sep 2025 19:57:18 +0000 (15:57 -0400)
committerAdvaith Menon <83835839+advaithm582@users.noreply.github.com>
Tue, 16 Sep 2025 19:57:47 +0000 (15:57 -0400)
* make setport now only outputs environment variables to the terminal.
  To set the port your Arduino is on, run: eval $(make setport)

Makefile.global

index f3406cda2321fae672ea9947daa1dec43f8f06d7..93e1703f06805b362efa7ff206b323940da30d19 100644 (file)
@@ -11,7 +11,7 @@ build:
        arduino-cli compile --fqbn esp32:esp32:esp32c6 .
 
 setport:
-       $(PYTHON) ../scripts/select_board.py
+       @$(PYTHON) ../scripts/select_board.py
 
 setup:
        $(SHELL) ../scripts/setup_arduino_cli.sh