From acabbdfa313ca5015f950a82f7d4896cbd59db47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Fri, 10 Jun 2022 19:18:11 +0200 Subject: [PATCH] lib: remove lepton and ringdove files --- coraleda/subc/oshw_logo.lht | 421 ------------------------------------ coraleda/subc/qr | 39 ---- coraleda/subc/qr.awk | 62 ------ gafrc | 2 - geda/symbols/1V8.sym | 18 -- geda/symbols/3V3.sym | 18 -- geda/symbols/5V.sym | 18 -- geda/symbols/GND.sym | 17 -- geda/symbols/VCC.sym | 18 -- geda/symbols/VTRG.sym | 18 -- geda/symbols/title.sym | 40 ---- mass_prop.sh | 58 ----- pnp_fab.tab | 9 - 13 files changed, 738 deletions(-) delete mode 100644 coraleda/subc/oshw_logo.lht delete mode 100755 coraleda/subc/qr delete mode 100644 coraleda/subc/qr.awk delete mode 100644 gafrc delete mode 100644 geda/symbols/1V8.sym delete mode 100644 geda/symbols/3V3.sym delete mode 100644 geda/symbols/5V.sym delete mode 100644 geda/symbols/GND.sym delete mode 100644 geda/symbols/VCC.sym delete mode 100644 geda/symbols/VTRG.sym delete mode 100644 geda/symbols/title.sym delete mode 100755 mass_prop.sh delete mode 100644 pnp_fab.tab diff --git a/coraleda/subc/oshw_logo.lht b/coraleda/subc/oshw_logo.lht deleted file mode 100644 index bfe4367..0000000 --- a/coraleda/subc/oshw_logo.lht +++ /dev/null @@ -1,421 +0,0 @@ -# footprint generated from CuVoodoo Land Pattern -# author: King Kévin -# version: 1 -# date: 2019-05-13 -li:pcb-rnd-subcircuit-v6 { - ha:subc.1 { - uid = any_24_ASCII_characters_ - ha:attributes { - footprint = open source hardware logo - } - ha:data { - li:padstack_prototypes { - } - li:objects { - } - li:layers { - ha:top-silkscreen { - lid = 1 - ha:type { - top = 1 - silk = 1 - } - li:objects { - ha:line.2{ - clearance = 0 - x1 = 0.15mm - y1 = 1.8mm - x2 = 0.75mm - y2 = 1.8mm - thickness = 0.3mm - } - ha:line.3{ - clearance = 0 - x1 = 1.8mm - y1 = 5.8500000000000005mm - x2 = 1.8mm - y2 = 6.45mm - thickness = 0.3mm - } - ha:line.4{ - clearance = 0 - x1 = 5.8500000000000005mm - y1 = 1.8mm - x2 = 6.45mm - y2 = 1.8mm - thickness = 0.3mm - } - ha:line.5{ - clearance = 0 - x1 = 1.8mm - y1 = 0.15mm - x2 = 1.8mm - y2 = 0.75mm - thickness = 0.3mm - } - ha:line.6{ - clearance = 0 - x1 = 0.15mm - y1 = 2.4mm - x2 = 0.75mm - y2 = 2.4mm - thickness = 0.3mm - } - ha:line.7{ - clearance = 0 - x1 = 2.4mm - y1 = 5.8500000000000005mm - x2 = 2.4mm - y2 = 6.45mm - thickness = 0.3mm - } - ha:line.8{ - clearance = 0 - x1 = 5.8500000000000005mm - y1 = 2.4mm - x2 = 6.45mm - y2 = 2.4mm - thickness = 0.3mm - } - ha:line.9{ - clearance = 0 - x1 = 2.4mm - y1 = 0.15mm - x2 = 2.4mm - y2 = 0.75mm - thickness = 0.3mm - } - ha:line.10{ - clearance = 0 - x1 = 0.15mm - y1 = 3mm - x2 = 0.75mm - y2 = 3mm - thickness = 0.3mm - } - ha:line.11{ - clearance = 0 - x1 = 3mm - y1 = 5.8500000000000005mm - x2 = 3mm - y2 = 6.45mm - thickness = 0.3mm - } - ha:line.12{ - clearance = 0 - x1 = 5.8500000000000005mm - y1 = 3mm - x2 = 6.45mm - y2 = 3mm - thickness = 0.3mm - } - ha:line.13{ - clearance = 0 - x1 = 3mm - y1 = 0.15mm - x2 = 3mm - y2 = 0.75mm - thickness = 0.3mm - } - ha:line.14{ - clearance = 0 - x1 = 0.15mm - y1 = 3.5999999999999996mm - x2 = 0.75mm - y2 = 3.5999999999999996mm - thickness = 0.3mm - } - ha:line.15{ - clearance = 0 - x1 = 3.5999999999999996mm - y1 = 5.8500000000000005mm - x2 = 3.5999999999999996mm - y2 = 6.45mm - thickness = 0.3mm - } - ha:line.16{ - clearance = 0 - x1 = 5.8500000000000005mm - y1 = 3.5999999999999996mm - x2 = 6.45mm - y2 = 3.5999999999999996mm - thickness = 0.3mm - } - ha:line.17{ - clearance = 0 - x1 = 3.5999999999999996mm - y1 = 0.15mm - x2 = 3.5999999999999996mm - y2 = 0.75mm - thickness = 0.3mm - } - ha:line.18{ - clearance = 0 - x1 = 0.15mm - y1 = 4.2mm - x2 = 0.75mm - y2 = 4.2mm - thickness = 0.3mm - } - ha:line.19{ - clearance = 0 - x1 = 4.2mm - y1 = 5.8500000000000005mm - x2 = 4.2mm - y2 = 6.45mm - thickness = 0.3mm - } - ha:line.20{ - clearance = 0 - x1 = 5.8500000000000005mm - y1 = 4.2mm - x2 = 6.45mm - y2 = 4.2mm - thickness = 0.3mm - } - ha:line.21{ - clearance = 0 - x1 = 4.2mm - y1 = 0.15mm - x2 = 4.2mm - y2 = 0.75mm - thickness = 0.3mm - } - ha:line.22{ - clearance = 0 - x1 = 0.15mm - y1 = 4.8mm - x2 = 0.75mm - y2 = 4.8mm - thickness = 0.3mm - } - ha:line.23{ - clearance = 0 - x1 = 4.8mm - y1 = 5.8500000000000005mm - x2 = 4.8mm - y2 = 6.45mm - thickness = 0.3mm - } - ha:line.24{ - clearance = 0 - x1 = 5.8500000000000005mm - y1 = 4.8mm - x2 = 6.45mm - y2 = 4.8mm - thickness = 0.3mm - } - ha:line.25{ - clearance = 0 - x1 = 4.8mm - y1 = 0.15mm - x2 = 4.8mm - y2 = 0.75mm - thickness = 0.3mm - } - ha:line.26{ - clearance = 0 - x1 = 1.8mm - y1 = 1.35mm - x2 = 4.8mm - y2 = 1.35mm - thickness = 0.3mm - } - ha:line.27{ - clearance = 0 - x1 = 5.25mm - y1 = 1.8mm - x2 = 5.25mm - y2 = 4.8mm - thickness = 0.3mm - } - ha:line.28{ - clearance = 0 - x1 = 4.8mm - y1 = 5.25mm - x2 = 1.8mm - y2 = 5.25mm - thickness = 0.3mm - } - ha:line.29{ - clearance = 0 - x1 = 1.35mm - y1 = 4.8mm - x2 = 1.35mm - y2 = 1.8mm - thickness = 0.3mm - } - ha:arc.30{ - clearance = 0 - x = 1.8mm - y = 1.8mm - width = 0.45mm - height = 0.45mm - thickness = 0.3mm - astart = 0 - adelta = -90 - } - ha:arc.31{ - clearance = 0 - x = 4.8mm - y = 1.8mm - width = 0.45mm - height = 0.45mm - thickness = 0.3mm - astart = -90 - adelta = -90 - } - ha:arc.32{ - clearance = 0 - x = 4.8mm - y = 4.8mm - width = 0.45mm - height = 0.45mm - thickness = 0.3mm - astart = 180 - adelta = -90 - } - ha:arc.33{ - clearance = 0 - x = 1.8mm - y = 4.8mm - width = 0.45mm - height = 0.45mm - thickness = 0.3mm - astart = 90 - adelta = -90 - } - ha:line.34{ - clearance = 0 - x1 = 1.8mm - y1 = 1.8mm - x2 = 3mm - y2 = 1.8mm - thickness = 0.3mm - } - ha:line.35{ - clearance = 0 - x1 = 3mm - y1 = 1.8mm - x2 = 3mm - y2 = 3mm - thickness = 0.3mm - } - ha:line.36{ - clearance = 0 - x1 = 3mm - y1 = 3mm - x2 = 1.8mm - y2 = 3mm - thickness = 0.3mm - } - ha:line.37{ - clearance = 0 - x1 = 1.8mm - y1 = 3mm - x2 = 1.8mm - y2 = 1.8mm - thickness = 0.3mm - } - ha:line.38{ - clearance = 0 - x1 = 4.8mm - y1 = 1.8mm - x2 = 3.5999999999999996mm - y2 = 1.8mm - thickness = 0.3mm - } - ha:line.39{ - clearance = 0 - x1 = 3.5999999999999996mm - y1 = 1.8mm - x2 = 3.5999999999999996mm - y2 = 2.4mm - thickness = 0.3mm - } - ha:line.40{ - clearance = 0 - x1 = 3.5999999999999996mm - y1 = 2.4mm - x2 = 4.8mm - y2 = 2.4mm - thickness = 0.3mm - } - ha:line.41{ - clearance = 0 - x1 = 4.8mm - y1 = 2.4mm - x2 = 4.8mm - y2 = 3mm - thickness = 0.3mm - } - ha:line.42{ - clearance = 0 - x1 = 4.8mm - y1 = 3mm - x2 = 3.5999999999999996mm - y2 = 3mm - thickness = 0.3mm - } - ha:line.43{ - clearance = 0 - x1 = 1.8mm - y1 = 3.5999999999999996mm - x2 = 1.8mm - y2 = 4.8mm - thickness = 0.3mm - } - ha:line.44{ - clearance = 0 - x1 = 1.8mm - y1 = 4.199999999999999mm - x2 = 3mm - y2 = 4.199999999999999mm - thickness = 0.3mm - } - ha:line.45{ - clearance = 0 - x1 = 3mm - y1 = 3.5999999999999996mm - x2 = 3mm - y2 = 4.8mm - thickness = 0.3mm - } - ha:line.46{ - clearance = 0 - x1 = 3.5999999999999996mm - y1 = 3.5999999999999996mm - x2 = 3.5999999999999996mm - y2 = 4.8mm - thickness = 0.3mm - } - ha:line.47{ - clearance = 0 - x1 = 3.5999999999999996mm - y1 = 4.8mm - x2 = 4.199999999999999mm - y2 = 4.2mm - thickness = 0.3mm - } - ha:line.48{ - clearance = 0 - x1 = 4.199999999999999mm - y1 = 4.2mm - x2 = 4.799999999999999mm - y2 = 4.8mm - thickness = 0.3mm - } - ha:line.49{ - clearance = 0 - x1 = 4.799999999999999mm - y1 = 4.8mm - x2 = 4.799999999999999mm - y2 = 3.5999999999999996mm - thickness = 0.3mm - } - } - } - } - } - } -} diff --git a/coraleda/subc/qr b/coraleda/subc/qr deleted file mode 100755 index 25d3c7e..0000000 --- a/coraleda/subc/qr +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh - -#@@example qr(hello world, 1mm) - -#@@purpose Generate QR code on silk - -#@@desc Generate the specified QR code as silk lines -#@@params text,pixel_size,level -#@@thumbsize 2 - -#@@param:text ASCII text to encode - -#@@param:pixel_size width and height of each pixel -#@@dim:pixel_size - -#@@param:level error correction level -#@@optional:level -#@@enum:level:L low -#@@enum:level:H high -#@@default:L - -libdir="" -for n in $PCB_RND_PCBLIB/parametric `dirname $0` /usr/local/share/pcb-rnd/pcblib/parametric /usr/share/pcb-rnd/pcblib/parametric -do - if test -f "$n/common.awk" - then - libdir="$n" - break - fi -done - -if test -z "$libdir" -then - echo "pcblib/parametric/common.awk not found." >&2 - exit 1 -fi - -awk -f $libdir/common.awk -f `dirname $0`/qr.awk -v "args=$*" -v gen=`basename $0` -v "genfull=$0" - diff --git a/coraleda/subc/qr.awk b/coraleda/subc/qr.awk deleted file mode 100644 index ac14108..0000000 --- a/coraleda/subc/qr.awk +++ /dev/null @@ -1,62 +0,0 @@ -function flush_line(x1, x2, y, w ,n,yy) -{ - x1/=2 - x2/=2 - for(n = 0; n < 3; n++) { - yy = y*w + w/6 + w/3 * n - element_line(x1*w + w/6, yy, x2*w - w/6, yy, w/3) - } - - element_line(x1*w + w/6, y*w + w/6, x1*w + w/6, (y+1)*w - w/6, w/3) - element_line(x2*w - w/6, y*w + w/6, x2*w - w/6, (y+1)*w - w/6, w/3) - -} - -BEGIN { - help_auto() - set_arg(P, "?pixel_size", "1mm") - - proc_args(P, "text,pixel_size,level", "text") - - pixel_size = parse_dim(P["pixel_size"]) - - element_begin("", "QR1", "qr(" P["text"] "," P["pixel_size"] "," P["level"] ")" ,0,0, 0,-mil(50)) - - print "# text=" P["text"] - cmd = "echo '" P["text"] "' | qrencode -t ASCII" - - if (P["level"] != "") { - if (tolower(P["level"]) == "h") - cmd = cmd " -l H" - else if (tolower(P["level"]) == "l") - cmd = cmd " -l L" - } - - y = 0; - while((cmd | getline line) > 0) { - line = line "-" -# print line - len = length(line) - start = "" - for(x = 1; x < len; x++) { - if (substr(line, x, 1) == "#") { - if (start == "") - start = x; - } - else { - if (start != "") { - flush_line(start, x, y, pixel_size) - start = "" - } - } - } - if (start != "") - flush_line(start, x, y, pixel_size) - y++; - } - - -# dimension(+spacing/aspect, -dia, +spacing/aspect, dia, "@" spacing*1.2 ";0", "dia") - - element_end() -} diff --git a/gafrc b/gafrc deleted file mode 100644 index f0a2c53..0000000 --- a/gafrc +++ /dev/null @@ -1,2 +0,0 @@ -(source-library ".") -(component-library "./geda/symbols/") diff --git a/geda/symbols/1V8.sym b/geda/symbols/1V8.sym deleted file mode 100644 index e848020..0000000 --- a/geda/symbols/1V8.sym +++ /dev/null @@ -1,18 +0,0 @@ -v 20210407 2 -P 200 0 200 200 1 0 0 -{ -T 250 50 5 6 0 1 0 0 1 -pinnumber=1 -T 250 50 5 6 0 0 0 0 1 -pinseq=1 -T 250 50 5 6 0 1 0 0 1 -pinlabel=1 -T 250 50 5 6 0 1 0 0 1 -pintype=pwr -} -T 200 250 9 8 1 0 0 3 1 -1V8 -T 300 0 8 8 0 0 0 0 1 -net=1V8:1 -L 150 100 200 200 3 10 1 0 -1 -1 -L 200 200 250 100 3 10 1 0 -1 -1 diff --git a/geda/symbols/3V3.sym b/geda/symbols/3V3.sym deleted file mode 100644 index 0edc868..0000000 --- a/geda/symbols/3V3.sym +++ /dev/null @@ -1,18 +0,0 @@ -v 20210407 2 -P 200 0 200 200 1 0 0 -{ -T 250 50 5 6 0 1 0 0 1 -pinnumber=1 -T 250 50 5 6 0 0 0 0 1 -pinseq=1 -T 250 50 5 6 0 1 0 0 1 -pinlabel=1 -T 250 50 5 6 0 1 0 0 1 -pintype=pwr -} -T 200 250 9 8 1 0 0 3 1 -3V3 -T 300 0 8 8 0 0 0 0 1 -net=3V3:1 -L 150 100 200 200 3 10 1 0 -1 -1 -L 200 200 250 100 3 10 1 0 -1 -1 diff --git a/geda/symbols/5V.sym b/geda/symbols/5V.sym deleted file mode 100644 index ba4b4f2..0000000 --- a/geda/symbols/5V.sym +++ /dev/null @@ -1,18 +0,0 @@ -v 20210407 2 -P 200 0 200 200 1 0 0 -{ -T 250 50 5 6 0 1 0 0 1 -pinnumber=1 -T 250 50 5 6 0 0 0 0 1 -pinseq=1 -T 250 50 5 6 0 1 0 0 1 -pinlabel=1 -T 250 50 5 6 0 1 0 0 1 -pintype=pwr -} -T 200 250 9 8 1 0 0 3 1 -5V -T 300 0 8 8 0 0 0 0 1 -net=5V:1 -L 150 100 200 200 3 10 1 0 -1 -1 -L 200 200 250 100 3 10 1 0 -1 -1 diff --git a/geda/symbols/GND.sym b/geda/symbols/GND.sym deleted file mode 100644 index 97ee7fd..0000000 --- a/geda/symbols/GND.sym +++ /dev/null @@ -1,17 +0,0 @@ -v 20210407 2 -P 100 100 100 200 1 0 1 -{ -T 158 161 5 4 0 1 0 0 1 -pinnumber=1 -T 158 161 5 4 0 0 0 0 1 -pinseq=1 -T 158 161 5 4 0 1 0 0 1 -pinlabel=1 -T 158 161 5 4 0 1 0 0 1 -pintype=pwr -} -L 0 100 200 100 3 0 0 0 -1 -1 -T 300 50 8 10 0 0 0 0 1 -net=GND:1 -L 0 100 100 0 3 0 1 0 -1 -1 -L 200 100 100 0 3 0 1 0 -1 -1 diff --git a/geda/symbols/VCC.sym b/geda/symbols/VCC.sym deleted file mode 100644 index 561f6d3..0000000 --- a/geda/symbols/VCC.sym +++ /dev/null @@ -1,18 +0,0 @@ -v 20210626 2 -P 200 0 200 200 1 0 0 -{ -T 250 50 5 6 0 1 0 0 1 -pinnumber=1 -T 250 50 5 6 0 0 0 0 1 -pinseq=1 -T 250 50 5 6 0 1 0 0 1 -pinlabel=1 -T 250 50 5 6 0 1 0 0 1 -pintype=pwr -} -T 200 250 9 8 1 0 0 3 1 -VCC -T 300 0 8 8 0 0 0 0 1 -net=VCC:1 -L 150 100 200 200 3 10 1 0 -1 -1 -L 200 200 250 100 3 10 1 0 -1 -1 diff --git a/geda/symbols/VTRG.sym b/geda/symbols/VTRG.sym deleted file mode 100644 index af6417d..0000000 --- a/geda/symbols/VTRG.sym +++ /dev/null @@ -1,18 +0,0 @@ -v 20210407 2 -P 200 0 200 200 1 0 0 -{ -T 250 50 5 6 0 1 0 0 1 -pinnumber=1 -T 250 50 5 6 0 0 0 0 1 -pinseq=1 -T 250 50 5 6 0 1 0 0 1 -pinlabel=1 -T 250 50 5 6 0 1 0 0 1 -pintype=pwr -} -T 200 250 9 8 1 0 0 3 1 -VTRG -T 300 0 8 8 0 0 0 0 1 -net=VTRG:1 -L 150 100 200 200 3 10 1 0 -1 -1 -L 200 200 250 100 3 10 1 0 -1 -1 diff --git a/geda/symbols/title.sym b/geda/symbols/title.sym deleted file mode 100644 index 672c107..0000000 --- a/geda/symbols/title.sym +++ /dev/null @@ -1,40 +0,0 @@ -v 20210626 2 -L 3000 900 3000 0 15 0 0 0 -1 -1 -B 0 0 6000 1500 15 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 -L 0 900 6000 900 15 0 0 0 -1 -1 -T 1000 700 9 10 1 1 0 0 1 -date=$date$ -T 4300 700 9 10 1 1 0 0 1 -org=$organisation$ -T 4300 400 9 10 1 1 0 0 1 -authors=$authors$ -T 3000 1200 9 14 1 1 0 4 1 -title=TITLE -T 3100 400 15 8 1 0 0 0 1 -AUTHORS: -T 3100 100 15 8 1 0 0 0 1 -LICENCE: -T 100 100 15 8 1 0 0 0 1 -REVISION: -T 100 1100 15 8 1 0 0 0 1 -TITLE: -T 100 400 15 8 1 0 0 0 1 -VERSION: -T 0 1600 8 10 0 0 0 0 1 -graphical=1 -T 3100 700 15 8 1 0 0 0 1 -ORGANISATION: -T 100 700 15 8 1 0 0 0 1 -DATE: -T 1000 400 9 10 1 1 0 0 1 -version=$version$ -T 1000 100 9 10 1 1 0 0 1 -revision=$revision$ -T 4300 100 9 10 1 1 0 0 1 -licence=$licence$ -T 0 1800 8 10 0 0 0 0 1 -device=none -T 0 2000 8 10 0 0 0 0 1 -footprint=none -T 0 2200 8 10 0 0 0 0 1 -refdes=none diff --git a/mass_prop.sh b/mass_prop.sh deleted file mode 100755 index 94b3071..0000000 --- a/mass_prop.sh +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/sh - -if test ! $# -eq 2 -then - echo "Need two arguments: a board file name and a tab file name" >&2 - exit 1 -fi - -board="$1" -tab="$2" - -if test ! -f "$board" -then - echo "Board file $board not found" >&2 - exit 1 -fi - -if test ! -f "$tab" -then - echo "Tab file $tab not found" >&2 - exit 1 -fi - -btmp=.tmp.$board - -awk -F "[ \t]*[;][ \t]*" -v "outfn=$btmp" ' - -BEGIN { sq = "'\''" } - -# quote s with single quotes and remove any single quote from it -# (pcb-rnd action syntax does not have escaping) -function squote(s) -{ - gsub("[" sq "]", ".", s) - return sq s sq -} - -# ignore comments -/^[ \t]*#/ { next } - -# generate an unselect-query-propset sequence for each line -(NF > 1) { - print "Unselect(all)" - print "query(select, " squote($1) ")" - for(n = 2; n <= NF; n++) { - if (split($n, A, "=") == 2) - print "propset(selection, " squote(A[1]) "," squote(A[2]) ")" - } -} - -END { - print "Unselect(all)" - print "Save(LayoutAs, " squote(outfn) ")" -} - -' < "$tab" | pcb-rnd --gui batch "$board" && mv "$btmp" "$board" - - diff --git a/pnp_fab.tab b/pnp_fab.tab deleted file mode 100644 index d13e775..0000000 --- a/pnp_fab.tab +++ /dev/null @@ -1,9 +0,0 @@ -@.a.footprint == "LEDC2012X80N.lht"; a/xy::jlcpcb::rotate=270; -@.a.footprint == "RESC1608X55N.lht"; a/xy::jlcpcb::rotate=90; -@.a.footprint == "CONNECTOR_USB_MICRO-B_C10418.lht"; a/xy::jlcpcb::translate=-1.2mm,0mm; -@.a.footprint == "CONNECTOR_USB_MICRO-B_C10418.lht"; a/xy::jlcpcb::rotate=270; -@.a.footprint == "CONNECTOR_USB-A-2.0_RECEPTACLE_C42428.lht"; a/xy::jlcpcb::translate=0mm,-1.7mm; -@.a.footprint == "CONNECTOR_MY-1220-03.lht"; a/xy::jlcpcb::translate=0mm,-0.95mm; -@.a.footprint == "CONNECTOR_XKB_U262-24XN-4BV60.lht"; a/xy::jlcpcb::rotate=180; -@.a.footprint == "CONNECTOR_XKB_U262-24XN-4BV60.lht"; a/xy::jlcpcb::translate=0mm,0.7mm; -@.a.footprint == "SOT95P237X112-3N.lht"; a/xy::jlcpcb::rotate=180;