From 1af6c21b72358d87b6d89c2d23119c36f6535dfe Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Mon, 4 Aug 2025 23:01:46 -0600 Subject: [PATCH] turn mincut off in pcb_drc so success and failure are both quick --- pcb-rnd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcb-rnd.mk b/pcb-rnd.mk index 7393513..b18d727 100644 --- a/pcb-rnd.mk +++ b/pcb-rnd.mk @@ -67,7 +67,7 @@ pcb: $(SCHEMATICS) Makefile $(CONFIG) # echo "Run pcb-rnd and import $(PROJECT).tdx" define pcb_drc - echo "Atomic(Save); DeleteRats(AllRats); Atomic(Restore); AddRats(AllRats); Atomic(Close)" | pcb-rnd --gui batch $(PROJECT).lht | grep "The layout is complete and has no shorted nets." + echo "Atomic(Save); DeleteRats(AllRats); Atomic(Restore); AddRats(AllRats); Atomic(Close)" | pcb-rnd --gui batch -c plugins/mincut/enable=0 $(PROJECT).lht | grep "The layout is complete and has no shorted nets." # not obvious what to look for in DRC() output to indicate 'all ok', so don't try echo "DRC()" | pcb-rnd --gui batch $(PROJECT).lht endef -- 2.47.2