add automatic versioning
This commit is contained in:
parent
f3b46626dd
commit
49deb064e1
@ -15,6 +15,16 @@ require 'csv' # to export BOM and costs
|
||||
|
||||
# common name used for file names
|
||||
name = "usb_cable_tester"
|
||||
# project version, read from "version" file
|
||||
raise "define project version in 'version' file" unless File.exist? "version"
|
||||
version = IO.read("version").split("\n")[0]
|
||||
# current date for stamping output
|
||||
date = Time.now.strftime("%Y-%m-%d")
|
||||
# revision based on number of changes on schematic or board layout and current git commit
|
||||
changes = `git log --pretty=oneline "#{name}.sch" "#{name}.lht" | wc -l`.chomp.to_i
|
||||
commit = `git rev-parse --short HEAD`.chomp
|
||||
revision = "#{changes} (#{commit})"
|
||||
|
||||
# local QEDA parts
|
||||
parts_local = []
|
||||
parts_local << "ic_mcu_st_stm32f103xc@LQFP144"
|
||||
@ -44,6 +54,7 @@ parts_github << "resistor/r0603"
|
||||
parts_github << "diode/led0603"
|
||||
# path to qeda"
|
||||
qeda = "../qeda/bin/qeda"
|
||||
|
||||
# ==========
|
||||
# main tasks
|
||||
# ==========
|
||||
@ -54,6 +65,7 @@ task :default => [:print, :fabrication]
|
||||
desc "print schematic and layout (as pdf)"
|
||||
prints = [ "#{name}.sch.pdf", "#{name}.brd.ps", "#{name}.brd-top.png", "#{name}.brd-bottom.png" ]
|
||||
task :print => prints
|
||||
CLEAN.include([ "#{name}.versioned.sch", "#{name}.versioned.lht" ])
|
||||
CLOBBER.include(prints)
|
||||
|
||||
desc "generate fabrication gerbers (as archive)"
|
||||
@ -100,34 +112,45 @@ CLOBBER.include(notes)
|
||||
# file generation
|
||||
# ===============
|
||||
|
||||
desc "generate schematic with version information all symbols embedded"
|
||||
rule ".standalone.sch" => ".sch" do |t|
|
||||
sh "cp #{t.source} #{t.name}"
|
||||
sh "lepton-embed --embed #{t.name} 2> /dev/null"
|
||||
sh "sed --in-place 's/\\$version\\$/#{version}/' #{t.name}"
|
||||
sh "sed --in-place 's/\\$date\\$/#{date}/' #{t.name}"
|
||||
sh "sed --in-place 's/\\$revision\\$/#{revision}/' #{t.name}"
|
||||
end
|
||||
|
||||
desc "generate board layout with version information"
|
||||
rule ".versioned.lht" => ".lht" do |t|
|
||||
sh "cp #{t.source} #{t.name}"
|
||||
sh "sed --in-place 's/\\$version\\$/#{version}/' #{t.name}"
|
||||
sh "sed --in-place 's/\\$date\\$/#{date}/' #{t.name}"
|
||||
sh "sed --in-place 's/\\$revision\\$/#{revision}/' #{t.name}"
|
||||
end
|
||||
|
||||
desc "generate printable version (PDF) of schematic"
|
||||
rule ".sch.pdf" => ".standalone.sch" do |t|
|
||||
rule ".sch.pdf" => ".versioned.sch" do |t|
|
||||
sh "lepton-cli export --color --paper iso_a4 --layout landscape --color --output #{t.name} #{t.source} 2> /dev/null"
|
||||
end
|
||||
|
||||
desc "generate printable version (PostScript) of board layout"
|
||||
rule ".brd.ps" => ".lht" do |t|
|
||||
rule ".brd.ps" => ".versioned.lht" do |t|
|
||||
sh "pcb-rnd -x ps --psfile #{t.name} #{t.source} 2> /dev/null"
|
||||
end
|
||||
|
||||
desc "generate photo realistic picture from layout (top side)"
|
||||
rule ".brd-top.png" => ".lht" do |t|
|
||||
rule ".brd-top.png" => ".versioned.lht" do |t|
|
||||
sh "pcb-rnd -x png --dpi 1200 --photo-mode --outfile #{t.name} #{t.source} 2> /dev/null"
|
||||
end
|
||||
|
||||
desc "generate photo realistic picture from layout (bottom side)"
|
||||
rule ".brd-bottom.png" => ".lht" do |t|
|
||||
rule ".brd-bottom.png" => ".versioned.lht" do |t|
|
||||
sh "pcb-rnd -x png --dpi 1200 --photo-mode --photo-flip-y --outfile #{t.name} #{t.source} 2> /dev/null"
|
||||
end
|
||||
|
||||
desc "generate schematic with all symbols embedded"
|
||||
rule ".standalone.sch" => ".sch" do |t|
|
||||
sh "cp #{t.source} #{t.name}"
|
||||
sh "lepton-embed --embed #{t.name} 2> /dev/null"
|
||||
end
|
||||
|
||||
desc "archive gerbers"
|
||||
rule ".brd.zip" => ".lht" do |t|
|
||||
rule ".brd.zip" => ".version.lht" do |t|
|
||||
base = File.basename(t.source, ".lht")
|
||||
sh "pcb-rnd -x cam gerber:JLC_PCB --outfile #{base}.brd #{t.source} 2> /dev/null"
|
||||
gerbers = [ "#{base}.brd.asb", "#{base}.brd.ast", "#{base}.brd.gbl", "#{base}.brd.gbo", "#{base}.brd.gbp", "#{base}.brd.gbs", "#{base}.brd.gko", "#{base}.brd.gtl", "#{base}.brd.gto", "#{base}.brd.gtp", "#{base}.brd.gts", "#{base}.brd.xln" ]
|
||||
|
@ -30391,148 +30391,148 @@ ha:pcb-rnd-board-v6 {
|
||||
|
||||
li:objects {
|
||||
ha:line.131722 {
|
||||
x1=78.365mm; y1=96.3mm; x2=79.035mm; y2=96.3mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=18.865mm; y1=3.80314961in; x2=19.535mm; y2=3.80314961in; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131725 {
|
||||
x1=80.2mm; y1=91.835mm; x2=80.2mm; y2=91.165mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=20.7mm; y1=92.135mm; x2=20.7mm; y2=91.465mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131728 {
|
||||
x1=84.665mm; y1=96.3mm; x2=85.335mm; y2=96.3mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=25.165mm; y1=3.80314961in; x2=25.835mm; y2=3.80314961in; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131731 {
|
||||
x1=80.2mm; y1=98.135mm; x2=80.2mm; y2=97.465mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=20.7mm; y1=98.435mm; x2=20.7mm; y2=97.765mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131734 {
|
||||
x1=78.365mm; y1=95.64mm; x2=79.035mm; y2=95.64mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=18.865mm; y1=95.94mm; x2=19.535mm; y2=95.94mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131737 {
|
||||
x1=80.86mm; y1=91.835mm; x2=80.86mm; y2=91.165mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=21.36mm; y1=92.135mm; x2=21.36mm; y2=91.465mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131740 {
|
||||
x1=84.665mm; y1=95.64mm; x2=85.335mm; y2=95.64mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=25.165mm; y1=95.94mm; x2=25.835mm; y2=95.94mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131743 {
|
||||
x1=80.86mm; y1=98.135mm; x2=80.86mm; y2=97.465mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=21.36mm; y1=98.435mm; x2=21.36mm; y2=97.765mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131746 {
|
||||
x1=78.365mm; y1=94.98mm; x2=79.035mm; y2=94.98mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=18.865mm; y1=95.28mm; x2=19.535mm; y2=95.28mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131749 {
|
||||
x1=81.52mm; y1=91.835mm; x2=81.52mm; y2=91.165mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=22.02mm; y1=92.135mm; x2=22.02mm; y2=91.465mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131752 {
|
||||
x1=84.665mm; y1=94.98mm; x2=85.335mm; y2=94.98mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=25.165mm; y1=95.28mm; x2=25.835mm; y2=95.28mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131755 {
|
||||
x1=81.52mm; y1=98.135mm; x2=81.52mm; y2=97.465mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=22.02mm; y1=98.435mm; x2=22.02mm; y2=97.765mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131758 {
|
||||
x1=78.365mm; y1=94.32mm; x2=79.035mm; y2=94.32mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=18.865mm; y1=94.62mm; x2=19.535mm; y2=94.62mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131761 {
|
||||
x1=82.18mm; y1=91.835mm; x2=82.18mm; y2=91.165mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=22.68mm; y1=92.135mm; x2=22.68mm; y2=91.465mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131764 {
|
||||
x1=84.665mm; y1=94.32mm; x2=85.335mm; y2=94.32mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=25.165mm; y1=94.62mm; x2=25.835mm; y2=94.62mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131767 {
|
||||
x1=82.18mm; y1=98.135mm; x2=82.18mm; y2=97.465mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=22.68mm; y1=98.435mm; x2=22.68mm; y2=97.765mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131770 {
|
||||
x1=78.365mm; y1=93.66mm; x2=79.035mm; y2=93.66mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=18.865mm; y1=93.96mm; x2=19.535mm; y2=93.96mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131773 {
|
||||
x1=82.84mm; y1=91.835mm; x2=82.84mm; y2=91.165mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=23.34mm; y1=92.135mm; x2=23.34mm; y2=91.465mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131776 {
|
||||
x1=84.665mm; y1=93.66mm; x2=85.335mm; y2=93.66mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=25.165mm; y1=93.96mm; x2=25.835mm; y2=93.96mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131779 {
|
||||
x1=82.84mm; y1=98.135mm; x2=82.84mm; y2=97.465mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=23.34mm; y1=98.435mm; x2=23.34mm; y2=97.765mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131782 {
|
||||
x1=78.365mm; y1=93.0mm; x2=79.035mm; y2=93.0mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=18.865mm; y1=93.3mm; x2=19.535mm; y2=93.3mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131785 {
|
||||
x1=83.5mm; y1=91.835mm; x2=83.5mm; y2=91.165mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=24.0mm; y1=92.135mm; x2=24.0mm; y2=91.465mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131788 {
|
||||
x1=84.665mm; y1=93.0mm; x2=85.335mm; y2=93.0mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=25.165mm; y1=93.3mm; x2=25.835mm; y2=93.3mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131791 {
|
||||
x1=83.5mm; y1=98.135mm; x2=83.5mm; y2=97.465mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=24.0mm; y1=98.435mm; x2=24.0mm; y2=97.765mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131794 {
|
||||
x1=80.2mm; y1=96.8mm; x2=83.5mm; y2=96.8mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=20.7mm; y1=97.1mm; x2=24.0mm; y2=97.1mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131797 {
|
||||
x1=84.0mm; y1=96.3mm; x2=84.0mm; y2=93.0mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=24.5mm; y1=3.80314961in; x2=24.5mm; y2=93.3mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131800 {
|
||||
x1=83.5mm; y1=92.5mm; x2=80.2mm; y2=92.5mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=24.0mm; y1=3.65354331in; x2=20.7mm; y2=3.65354331in; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131803 {
|
||||
x1=79.7mm; y1=93.0mm; x2=79.7mm; y2=96.3mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=20.2mm; y1=93.3mm; x2=20.2mm; y2=3.80314961in; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131806 {
|
||||
x1=80.2mm; y1=96.3mm; x2=81.52mm; y2=96.3mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=20.7mm; y1=3.80314961in; x2=22.02mm; y2=3.80314961in; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131809 {
|
||||
x1=81.52mm; y1=96.3mm; x2=81.52mm; y2=94.98mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=22.02mm; y1=3.80314961in; x2=22.02mm; y2=95.28mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131812 {
|
||||
x1=81.52mm; y1=94.98mm; x2=80.2mm; y2=94.98mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=22.02mm; y1=95.28mm; x2=20.7mm; y2=95.28mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131815 {
|
||||
x1=80.2mm; y1=94.98mm; x2=80.2mm; y2=96.3mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=20.7mm; y1=95.28mm; x2=20.7mm; y2=3.80314961in; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131818 {
|
||||
x1=83.5mm; y1=96.3mm; x2=82.18mm; y2=96.3mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=24.0mm; y1=3.80314961in; x2=22.68mm; y2=3.80314961in; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131821 {
|
||||
x1=82.18mm; y1=96.3mm; x2=82.18mm; y2=95.64mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=22.68mm; y1=3.80314961in; x2=22.68mm; y2=95.94mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131824 {
|
||||
x1=82.18mm; y1=95.64mm; x2=83.5mm; y2=95.64mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=22.68mm; y1=95.94mm; x2=24.0mm; y2=95.94mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131827 {
|
||||
x1=83.5mm; y1=95.64mm; x2=83.5mm; y2=94.98mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=24.0mm; y1=95.94mm; x2=24.0mm; y2=95.28mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131830 {
|
||||
x1=83.5mm; y1=94.98mm; x2=82.18mm; y2=94.98mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=24.0mm; y1=95.28mm; x2=22.68mm; y2=95.28mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131833 {
|
||||
x1=80.2mm; y1=94.32mm; x2=80.2mm; y2=93.0mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=20.7mm; y1=94.62mm; x2=20.7mm; y2=93.3mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131836 {
|
||||
x1=80.2mm; y1=93.66mm; x2=81.52mm; y2=93.66mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=20.7mm; y1=93.96mm; x2=22.02mm; y2=93.96mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131839 {
|
||||
x1=81.52mm; y1=94.32mm; x2=81.52mm; y2=93.0mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=22.02mm; y1=94.62mm; x2=22.02mm; y2=93.3mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131842 {
|
||||
x1=82.18mm; y1=94.32mm; x2=82.18mm; y2=93.0mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=22.68mm; y1=94.62mm; x2=22.68mm; y2=93.3mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131845 {
|
||||
x1=82.18mm; y1=93.0mm; x2=82.84mm; y2=93.66mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=22.68mm; y1=93.3mm; x2=23.34mm; y2=93.96mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131848 {
|
||||
x1=82.84mm; y1=93.66mm; x2=83.5mm; y2=93.0mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=23.34mm; y1=93.96mm; x2=24.0mm; y2=93.3mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:line.131851 {
|
||||
x1=83.5mm; y1=93.0mm; x2=83.5mm; y2=94.32mm; thickness=0.33mm; clearance=0.0;
|
||||
x1=24.0mm; y1=93.3mm; x2=24.0mm; y2=94.62mm; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:arc.131854 {
|
||||
x=80.2mm; y=96.3mm; width=0.5mm; height=0.5mm; astart=-0; adelta=90; thickness=0.33mm; clearance=0.0;
|
||||
x=20.7mm; y=3.80314961in; width=0.5mm; height=0.5mm; astart=-0; adelta=90; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:arc.131855 {
|
||||
x=83.5mm; y=96.3mm; width=0.5mm; height=0.5mm; astart=90; adelta=90; thickness=0.33mm; clearance=0.0;
|
||||
x=24.0mm; y=3.80314961in; width=0.5mm; height=0.5mm; astart=90; adelta=90; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:arc.131856 {
|
||||
x=83.5mm; y=93.0mm; width=0.5mm; height=0.5mm; astart=-180; adelta=90; thickness=0.33mm; clearance=0.0;
|
||||
x=24.0mm; y=93.3mm; width=0.5mm; height=0.5mm; astart=-180; adelta=90; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
ha:arc.131857 {
|
||||
x=80.2mm; y=93.0mm; width=0.5mm; height=0.5mm; astart=-90; adelta=90; thickness=0.33mm; clearance=0.0;
|
||||
x=20.7mm; y=93.3mm; width=0.5mm; height=0.5mm; astart=-90; adelta=90; thickness=0.33mm; clearance=0.0;
|
||||
}
|
||||
}
|
||||
ha:type {
|
||||
@ -42047,24 +42047,24 @@ ha:pcb-rnd-board-v6 {
|
||||
ha:combining { auto=1; }
|
||||
|
||||
li:objects {
|
||||
ha:text.131026 {
|
||||
string=git.cuvoodoo.info/usb_cable_tester; x=52.3mm; y=95.7mm; scale=100; fid=0;
|
||||
ha:flags {
|
||||
clearline=1
|
||||
onsolder=1
|
||||
}
|
||||
rot = 0.000000
|
||||
}
|
||||
ha:text.131027 {
|
||||
string=CuVoodoo USB cable tester; x=49.5mm; y=98.5mm; scale=150; fid=0;
|
||||
string=CuVoodoo USB cable tester; x=27.8mm; y=98.6mm; scale=150; fid=0;
|
||||
ha:flags {
|
||||
clearline=1
|
||||
onsolder=1
|
||||
}
|
||||
rot = 0.000000
|
||||
}
|
||||
ha:text.133452 {
|
||||
string=v1 2019-xx-xx; x=62.7mm; y=93.2mm; scale=150; fid=0;
|
||||
ha:text.161850 {
|
||||
string=git.cuvoodoo.info/usb_cable_tester; x=27.8mm; y=95.9mm; scale=125; fid=0;
|
||||
ha:flags {
|
||||
clearline=1
|
||||
onsolder=1
|
||||
}
|
||||
rot = 0.000000
|
||||
}
|
||||
ha:text.167488 {
|
||||
string=v$version$ $date$ r$revision$; x=27.8mm; y=93.2mm; scale=125; fid=0;
|
||||
ha:flags {
|
||||
clearline=1
|
||||
onsolder=1
|
||||
@ -45343,12 +45343,12 @@ ha:pcb-rnd-board-v6 {
|
||||
ha:LIGHTNING_DEVICE_GND {
|
||||
li:conn { J11-1; U2-22; }
|
||||
}
|
||||
ha:USB-C_HOST_SSTXN2 {
|
||||
li:conn { J2-22; U2-118; }
|
||||
}
|
||||
ha:USB-C_HOST_SSTXN1 {
|
||||
li:conn { J2-3; U2-90; }
|
||||
}
|
||||
ha:USB-C_HOST_SSTXN2 {
|
||||
li:conn { J2-22; U2-118; }
|
||||
}
|
||||
ha:Vcc {
|
||||
li:conn { C3-2; S1-2; U3-3; }
|
||||
}
|
||||
@ -45439,15 +45439,15 @@ ha:pcb-rnd-board-v6 {
|
||||
ha:unnamed_net1 {
|
||||
li:conn { D2-2; U4-6; }
|
||||
}
|
||||
ha:unnamed_net3 {
|
||||
li:conn { R8-2; U4-2; }
|
||||
}
|
||||
ha:unnamed_net4 {
|
||||
li:conn { D2-1; D3-1; R7-1; }
|
||||
}
|
||||
ha:unnamed_net2 {
|
||||
li:conn { D3-2; U4-7; }
|
||||
}
|
||||
ha:unnamed_net3 {
|
||||
li:conn { R8-2; U4-2; }
|
||||
}
|
||||
ha:unnamed_net4 {
|
||||
li:conn { D2-1; D3-1; R7-1; }
|
||||
}
|
||||
ha:unnamed_net5 {
|
||||
li:conn { R8-1; R9-2; }
|
||||
}
|
||||
@ -45568,69 +45568,69 @@ ha:pcb-rnd-board-v6 {
|
||||
ha:+3.3V {
|
||||
li:conn { C4-2; C9-2; C10-2; C11-2; C12-2; C13-2; C14-2; C15-2; C16-2; C17-2; C18-2; C19-2; C20-2; C21-2; J4-1; Q1-2; R3-2; R4-2; R5-2; U2-6; U2-17; U2-32; U2-33; U2-39; U2-52; U2-62; U2-72; U2-84; U2-95; U2-108; U2-121; U2-131; U2-144; U3-2; }
|
||||
}
|
||||
ha:unnamed_net12 {
|
||||
li:conn { J9-4; U6-13; }
|
||||
}
|
||||
ha:unnamed_net13 {
|
||||
li:conn { J9-5; U6-12; }
|
||||
}
|
||||
ha:unnamed_net14 {
|
||||
li:conn { J9-6; U6-11; }
|
||||
}
|
||||
ha:unnamed_net13 {
|
||||
li:conn { J9-5; U6-12; }
|
||||
}
|
||||
ha:unnamed_net14 {
|
||||
li:conn { J9-6; U6-11; }
|
||||
}
|
||||
ha:unnamed_net15 {
|
||||
li:conn { J9-7; U6-10; }
|
||||
}
|
||||
ha:unnamed_net16 {
|
||||
li:conn { J9-8; U6-9; }
|
||||
}
|
||||
ha:unnamed_net17 {
|
||||
li:conn { J9-9; U6-8; }
|
||||
}
|
||||
ha:unnamed_net18 {
|
||||
li:conn { J9-10; U6-7; }
|
||||
}
|
||||
ha:unnamed_net19 {
|
||||
li:conn { J9-11; U6-6; }
|
||||
}
|
||||
ha:unnamed_net20 {
|
||||
li:conn { J9-12; U6-5; }
|
||||
}
|
||||
ha:unnamed_net21 {
|
||||
li:conn { J9-13; U6-4; }
|
||||
ha:unnamed_net17 {
|
||||
li:conn { J9-9; U6-8; }
|
||||
}
|
||||
ha:unnamed_net22 {
|
||||
li:conn { J9-14; U6-3; }
|
||||
}
|
||||
ha:USB-C_HOST_SSRXN1 {
|
||||
li:conn { J2-15; U2-125; }
|
||||
ha:unnamed_net22 {
|
||||
li:conn { J9-14; U6-3; }
|
||||
}
|
||||
ha:USB-C_HOST_SSRXN2 {
|
||||
li:conn { J2-10; U2-101; }
|
||||
ha:unnamed_net19 {
|
||||
li:conn { J9-11; U6-6; }
|
||||
}
|
||||
ha:unnamed_net24 {
|
||||
li:conn { J9-15; U6-2; }
|
||||
}
|
||||
ha:unnamed_net25 {
|
||||
li:conn { J9-16; U6-1; }
|
||||
}
|
||||
ha:unnamed_net26 {
|
||||
li:conn { J9-2; U6-15; }
|
||||
}
|
||||
ha:unnamed_net23 {
|
||||
li:conn { J9-3; U6-14; }
|
||||
ha:USB-C_HOST_SSRXN1 {
|
||||
li:conn { J2-15; U2-125; }
|
||||
}
|
||||
ha:USB-C_HOST_SSRXN2 {
|
||||
li:conn { J2-10; U2-101; }
|
||||
}
|
||||
ha:unnamed_net16 {
|
||||
li:conn { J9-8; U6-9; }
|
||||
}
|
||||
ha:unnamed_net12 {
|
||||
li:conn { J9-4; U6-13; }
|
||||
}
|
||||
ha:unnamed_net24 {
|
||||
li:conn { J9-15; U6-2; }
|
||||
}
|
||||
ha:USB-MINIB_DEVICE_VBUS {
|
||||
li:conn { J7-1; U2-3; }
|
||||
}
|
||||
ha:USB-B_DEVICE_VBUS {
|
||||
li:conn { J6-1; U2-29; }
|
||||
}
|
||||
ha:USB-C_HOST_SSRXP1 {
|
||||
li:conn { J2-14; U2-129; }
|
||||
}
|
||||
ha:USB-C_HOST_SSRXP2 {
|
||||
li:conn { J2-11; U2-99; }
|
||||
}
|
||||
ha:unnamed_net18 {
|
||||
li:conn { J9-10; U6-7; }
|
||||
}
|
||||
ha:USB-MINIB_DEVICE_VBUS {
|
||||
li:conn { J7-1; U2-3; }
|
||||
}
|
||||
ha:unnamed_net23 {
|
||||
li:conn { J9-3; U6-14; }
|
||||
}
|
||||
ha:USB-B_DEVICE_VBUS {
|
||||
li:conn { J6-1; U2-29; }
|
||||
}
|
||||
ha:USB-C_HOST_SSRXP2 {
|
||||
li:conn { J2-11; U2-99; }
|
||||
}
|
||||
ha:USB-C_HOST_SSRXP1 {
|
||||
li:conn { J2-14; U2-129; }
|
||||
}
|
||||
ha:unnamed_net21 {
|
||||
li:conn { J9-13; U6-4; }
|
||||
}
|
||||
ha:LIGHTNING_DEVICE_PWR {
|
||||
li:conn { J11-5; U2-15; }
|
||||
}
|
||||
|
@ -3092,7 +3092,7 @@ B 3500 16000 4000 3000 6 10 1 0 -1 -1 0 -1 -1 -1 -1 -1
|
||||
C 31500 0 1 0 0 title.sym
|
||||
{
|
||||
T 32500 700 5 10 1 1 0 0 1
|
||||
date=2019-11-17
|
||||
date=$date$
|
||||
T 35800 700 5 10 1 1 0 0 1
|
||||
org=CuVoodoo
|
||||
T 35800 400 5 10 1 1 0 0 1
|
||||
@ -3100,9 +3100,9 @@ authors=King Kévin
|
||||
T 34500 1200 5 14 1 1 0 4 1
|
||||
title=USB cable tester
|
||||
T 32500 400 5 10 1 1 0 0 1
|
||||
version=1
|
||||
version=$version$
|
||||
T 32500 100 5 10 1 1 0 0 1
|
||||
revision=$Revision$
|
||||
revision=$revision$
|
||||
T 35800 100 5 10 1 1 0 0 1
|
||||
licence=CERN OHL v.1.2
|
||||
T 31500 1800 5 10 0 0 0 0 1
|
||||
|
1
hardware/version
Normal file
1
hardware/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
Loading…
Reference in New Issue
Block a user