diff --git a/Rakefile b/Rakefile index 33b3108..53ae08d 100644 --- a/Rakefile +++ b/Rakefile @@ -14,7 +14,7 @@ require 'csv' # to export BOM and costs # ================= # common name used for file names -name = "template" +name = "usb-bug-detector" # project version, read from "version" file raise "define project version in 'version' file" unless File.exist? "version" version = IO.read("version").split("\n")[0] diff --git a/template.lht b/template.lht deleted file mode 100644 index e71b9aa..0000000 --- a/template.lht +++ /dev/null @@ -1,587 +0,0 @@ -ha:pcb-rnd-board-v8 { - - li:styles { - ha:Signal { - via_proto = 0 - thickness = 6.0mil - text_thick = 0.0 - text_scale = 100 - clearance = 6.0mil - } - ha:Power { - via_proto = 1 - thickness = 10.0mil - text_thick = 0.0 - text_scale = 100 - clearance = 10.0mil - } - ha:Fat { - via_proto = 2 - thickness = 80.0mil - text_thick = 0.0 - text_scale = 100 - clearance = 25.0mil - } - ha:Sig-tight { - via_proto = 3 - thickness = 10.0mil - text_thick = 0.0 - text_scale = 100 - clearance = 12.0mil - } - } - - ha:meta { - ha:size { - thermal_scale = 0.500000 - x = 100.0mm - y = 100.0mm - } - ha:grid { - spacing = 0.5mm - offs_x = 0.0 - offs_y = 0.0 - } - } - - ha:data { - li:padstack_prototypes { - - ha:ps_proto_v6.0 { - hdia=0.3mm; hplated=1; htop=0; hbottom=0; - li:shape { - - ha:ps_shape_v4 { - ha:ps_circ { x=0.0; y=0.0; dia=0.6mm; } - ha:combining { } - ha:layer_mask { - copper = 1 - top = 1 - } - clearance=0.0 - } - - ha:ps_shape_v4 { - ha:ps_circ { x=0.0; y=0.0; dia=0.6mm; } - ha:combining { } - ha:layer_mask { - bottom = 1 - copper = 1 - } - clearance=0.0 - } - - ha:ps_shape_v4 { - ha:ps_circ { x=0.0; y=0.0; dia=0.6mm; } - ha:combining { } - ha:layer_mask { - copper = 1 - intern = 1 - } - clearance=0.0 - } - } - } - - ha:ps_proto_v6.1 { - hdia=0.5mm; hplated=1; htop=0; hbottom=0; - li:shape { - - ha:ps_shape_v4 { - ha:ps_circ { x=0.0; y=0.0; dia=0.8mm; } - ha:combining { } - ha:layer_mask { - copper = 1 - top = 1 - } - clearance=0.0 - } - - ha:ps_shape_v4 { - ha:ps_circ { x=0.0; y=0.0; dia=0.8mm; } - ha:combining { } - ha:layer_mask { - bottom = 1 - copper = 1 - } - clearance=0.0 - } - - ha:ps_shape_v4 { - ha:ps_circ { x=0.0; y=0.0; dia=0.8mm; } - ha:combining { } - ha:layer_mask { - copper = 1 - intern = 1 - } - clearance=0.0 - } - } - } - - ha:ps_proto_v6.2 { - hdia=1.2mm; hplated=1; htop=0; hbottom=0; - li:shape { - - ha:ps_shape_v4 { - ha:ps_circ { x=0.0; y=0.0; dia=3.5mm; } - ha:combining { } - ha:layer_mask { - copper = 1 - top = 1 - } - clearance=0.0 - } - - ha:ps_shape_v4 { - ha:ps_circ { x=0.0; y=0.0; dia=3.5mm; } - ha:combining { } - ha:layer_mask { - bottom = 1 - copper = 1 - } - clearance=0.0 - } - - ha:ps_shape_v4 { - ha:ps_circ { x=0.0; y=0.0; dia=3.5mm; } - ha:combining { } - ha:layer_mask { - copper = 1 - intern = 1 - } - clearance=0.0 - } - } - } - - ha:ps_proto_v6.3 { - hdia=0.8mm; hplated=1; htop=0; hbottom=0; - li:shape { - - ha:ps_shape_v4 { - ha:ps_circ { x=0.0; y=0.0; dia=64.0mil; } - ha:combining { } - ha:layer_mask { - copper = 1 - top = 1 - } - clearance=0.0 - } - - ha:ps_shape_v4 { - ha:ps_circ { x=0.0; y=0.0; dia=64.0mil; } - ha:combining { } - ha:layer_mask { - bottom = 1 - copper = 1 - } - clearance=0.0 - } - - ha:ps_shape_v4 { - ha:ps_circ { x=0.0; y=0.0; dia=64.0mil; } - ha:combining { } - ha:layer_mask { - copper = 1 - intern = 1 - } - clearance=0.0 - } - } - } - } - - li:objects { - } - li:layers { - - ha:top-sig { - lid=0 - group=3 - ha:combining { } - - ha:attributes { - {pcb-rnd::key::vis}={l; Shiftt} - {pcb-rnd::key::select}={l; t} - } - - li:objects { - } - color = {#238b27} - } - - ha:bottom-sig { - lid=1 - group=10 - ha:combining { } - - ha:attributes { - {pcb-rnd::key::vis}={l; Shiftb} - {pcb-rnd::key::select}={l; b} - } - - li:objects { - } - color = {#38ee39} - } - - ha:top-gnd { - lid=2 - group=3 - ha:combining { } - - li:objects { - } - color = {#104e8b} - } - - ha:bottom-gnd { - lid=3 - group=10 - ha:combining { } - - li:objects { - } - color = {#6164ff} - } - - ha:outline { - lid=4 - group=7 - ha:combining { } - - li:objects { - } - color = {#00868b} - } - - ha:bottom-silk { - lid=5 - group=12 - ha:combining { auto=1; } - - ha:attributes { - {pcb-rnd::key::vis}={l; Shiftx} - {pcb-rnd::key::select}={l; x} - } - - li:objects { - } - color = {#000000} - } - - ha:top-silk { - lid=6 - group=1 - ha:combining { auto=1; } - - ha:attributes { - {pcb-rnd::key::vis}={l; Shifts} - {pcb-rnd::key::select}={l; s} - } - - li:objects { - } - color = {#000000} - } - - ha:top-paste { - lid=7 - group=0 - ha:combining { auto=1; } - - li:objects { - } - color = {#cd00cd} - } - - ha:top-mask { - lid=8 - group=2 - ha:combining { sub=1; auto=1; } - - li:objects { - } - color = {#ff0000} - } - - ha:bottom-mask { - lid=9 - group=11 - ha:combining { sub=1; auto=1; } - - li:objects { - } - color = {#ff0000} - } - - ha:bottom-paste { - lid=10 - group=13 - ha:combining { auto=1; } - - li:objects { - } - color = {#cd00cd} - } - - ha:slot-plated { - lid=11 - group=14 - ha:combining { auto=1; } - - li:objects { - } - color = {#8b7355} - } - - ha:slot-unplated { - lid=12 - group=15 - ha:combining { auto=1; } - - li:objects { - } - color = {#00868b} - } - - ha:top-assy { - lid=13 - group=16 - ha:combining { } - - li:objects { - } - color = {#444444} - } - - ha:bot-assy { - lid=14 - group=17 - ha:combining { } - - li:objects { - } - color = {#444444} - } - - ha:fab { - lid=15 - group=18 - ha:combining { auto=1; } - - li:objects { - } - color = {#222222} - } - - ha:top-courtyard { - lid=16 - group=8 - ha:combining { } - - li:objects { - } - color = {#104e8b} - } - - ha:bot-courtyard { - lid=17 - group=9 - ha:combining { } - - li:objects { - } - color = {#cd3700} - } - - ha:top-pwr { - lid=18 - group=3 - ha:combining { } - - li:objects { - } - color = {#c24744} - } - - ha:bottom-pwr { - lid=19 - group=10 - ha:combining { } - - li:objects { - } - color = {#ff5759} - } - } - } - ha:layer_stack { - li:groups { - ha:0 { - name = top_paste - ha:type { top=1; paste=1; } - li:layers { 7; } - } - ha:1 { - name = top_silk - ha:type { silk=1; top=1; } - li:layers { 6; } - } - ha:2 { - name = top_mask - ha:type { top=1; mask=1; } - li:layers { 8; } - } - ha:3 { - name = top_copper - ha:type { copper=1; top=1; } - li:layers { 0; 18; 2; } - } - ha:4 { - name = grp_4 - ha:type { substrate=1; intern=1; } - li:layers { } - ha:attributes { - thickness={0.7375mm } - } - } - ha:5 { - name = grp_6 - ha:type { substrate=1; intern=1; } - li:layers { } - ha:attributes { - thickness={0.125mm } - } - } - ha:6 { - name = grp_8 - ha:type { substrate=1; intern=1; } - li:layers { } - ha:attributes { - thickness={0.7375mm } - } - } - ha:7 { - name = global_outline - ha:type { boundary=1; } - li:layers { 4; } - purpose = uroute - } - ha:8 { - name = top-courtyard - ha:type { top=1; doc=1; } - li:layers { 16; } - ha:attributes { - init-invis=true - } - purpose = ko.courtyard - } - ha:9 { - name = bot-courtyard - ha:type { bottom=1; doc=1; } - li:layers { 17; } - ha:attributes { - init-invis=true - } - purpose = ko.courtyard - } - ha:10 { - name = bottom_copper - ha:type { bottom=1; copper=1; } - li:layers { 1; 19; 3; } - } - ha:11 { - name = bottom_mask - ha:type { bottom=1; mask=1; } - li:layers { 9; } - } - ha:12 { - name = bottom_silk - ha:type { silk=1; bottom=1; } - li:layers { 5; } - } - ha:13 { - name = bottom_paste - ha:type { bottom=1; paste=1; } - li:layers { 10; } - } - ha:14 { - name = pmech - ha:type { mech=1; } - li:layers { 11; } - purpose = proute - } - ha:15 { - name = umech - ha:type { mech=1; } - li:layers { 12; } - purpose = uroute - } - ha:16 { - name = top_assy - ha:type { top=1; doc=1; } - li:layers { 13; } - ha:attributes { - init-invis=1 - } - purpose = assy - } - ha:17 { - name = bot_assy - ha:type { bottom=1; doc=1; } - li:layers { 14; } - ha:attributes { - init-invis=1 - } - purpose = assy - } - ha:18 { - name = fab - ha:type { top=1; doc=1; } - li:layers { 15; } - ha:attributes { - init-invis=1 - } - purpose = fab - } - } - } - li:pcb-rnd-conf-v1 { - ha:overwrite { - ha:design { - via_proto = 1 - text_font_id = 0 - text_scale = 100 - min_slk = 0.15240000 mm - text_thickness = 0 - line_thickness = 10.00 mil - ha:drc { - min_ring = 0.15 mm - min_copper_overlap = 6.0 mil - min_drill = 0.3 mm - } - min_wid = 0.15240000 mm - bloat = 0.15240000 mm - clearance = 10.00 mil - } - ha:editor { - grid_unit = mm - grids_idx = 11 - grid = 500.00 um - } - ha:rc { - li:library_search_paths { - $(rc.path.design)/coraleda/subc - $(rc.path.design)/coraleda/subc - ?../pcblib - ?~/pcblib/ - $(rc.path.share)/pcblib - } - } - } - } - ha:pixmaps { - } -} diff --git a/template.sch b/template.sch deleted file mode 100644 index 656af16..0000000 --- a/template.sch +++ /dev/null @@ -1,22 +0,0 @@ -v 20210626 2 -C 0 0 1 0 0 title.sym -{ -T 1000 700 5 10 1 1 0 0 1 -date=$date$ -T 4300 700 5 10 1 1 0 0 1 -org=CuVoodoo -T 4300 400 5 10 1 1 0 0 1 -authors=King Kévin -T 3000 1200 5 14 1 1 0 4 1 -title=TITLE -T 1000 400 5 10 1 1 0 0 1 -version=$version$ -T 1000 100 5 10 1 1 0 0 1 -revision=$revision$ -T 4300 100 5 10 1 1 0 0 1 -licence=CERN-OHL-S -T 0 1800 5 10 0 0 0 0 1 -device=none -T 0 2000 5 10 0 0 0 0 1 -footprint=none -}