mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2025-04-21 12:27:27 +03:00
uart: added more values to schematics, added files for BOM processing
- uart.sch (D1): added value LTST-C190KRKT - uart.sch (K1): footprint was incorrectly placed in value field - uart.sch (K1): added value 3M 961103-5604-AR - uart/bom: added BOM infrastructure and definitions
This commit is contained in:
45
uart/bom/Makefile
Normal file
45
uart/bom/Makefile
Normal file
@@ -0,0 +1,45 @@
|
||||
BOOM=PATH=/home/moko/svn.openmoko.org/trunk/eda/boom:../boom:$$PATH boom
|
||||
|
||||
BOOM2=../../../eda-tools/boom
|
||||
BOOM_CONFIG=$(BOOM2)/boom-config
|
||||
|
||||
KITS=1
|
||||
|
||||
EQU=uart.equ dk/digi-key.equ $(shell $(BOOM_CONFIG) equ)
|
||||
INV=uart.inv dk/digi-key.inv $(shell $(BOOM_CONFIG) inv)
|
||||
DSC=dk/digi-key.dsc $(shell $(BOOM_CONFIG) dsc)
|
||||
CHR=$(shell $(BOOM_CONFIG) chr)
|
||||
|
||||
|
||||
.PHONY: all again spotless
|
||||
.PRECIOUS: %.par %.lst
|
||||
|
||||
all: uart.ord
|
||||
|
||||
again:
|
||||
$(MAKE) spotless
|
||||
$(MAKE) all
|
||||
|
||||
%.ord: %.par $(INV) $(EQU)
|
||||
$(BOOM) part2order $(KITS) $^ >$@ || { rm -f $@; exit 1; }
|
||||
|
||||
%.par: $(EQU) $(INV) $(CHR) %.lst uart.sub
|
||||
$(BOOM) bom2part $^ >$@ || { rm -f $@; exit 1; }
|
||||
|
||||
dk/digi-key.inv:
|
||||
$(MAKE) -C dk digi-key.inv
|
||||
|
||||
dk/digi-key.dsc:
|
||||
$(MAKE) -C dk digi-key.dsc
|
||||
|
||||
%.lst: ../*.sch ../*.cmp
|
||||
eeschema --bom `pwd`/../$*.sch
|
||||
mv ../$*.lst .
|
||||
|
||||
show-%: %.ord $(DSC)
|
||||
grep -vw UART $< | $(BOOM) prettyord -t - $(DSC) | \
|
||||
sed 's/^... //'
|
||||
|
||||
spotless:
|
||||
$(MAKE) -C dk spotless
|
||||
rm -f uart.lst uart.par uart.ord
|
||||
Reference in New Issue
Block a user