C8051F32x firmware infrastructure
Sign in or create your account | Project List | Help
C8051F32x firmware infrastructure Commit Details
Date: | 2011-08-14 09:03:03 (12 years 1 month ago) |
---|---|
Author: | Werner Almesberger |
Commit: | 6d750ee61e61cc410106413c9c37812daf30909b |
Message: | Moved usb-a-pcb.fpd from f32xbase/c2usb to kicad-libs (deletion) |
Files: |
c2usb/modules/INFO (1 diff) c2usb/modules/Makefile (1 diff) c2usb/modules/usb-a-pcb.fpd (1 diff) |
Change Details
c2usb/modules/INFO | ||
---|---|---|
1 | 1 | # http://www.nxp.com/#/page/content=[f=/packages/SOT341-1.xml] |
2 | 2 | F: ssop |
3 | ||
4 | # USB 2.0 from usb_20_040908, page 99 | |
5 | F: usb-a-pcb |
c2usb/modules/Makefile | ||
---|---|---|
1 | MODULES=ssop usb-a-pcb | |
1 | MODULES=ssop | |
2 | 2 | |
3 | 3 | .SUFFIXES: .fpd .mod |
4 | 4 | .PHONY: all clean |
c2usb/modules/usb-a-pcb.fpd | ||
---|---|---|
1 | /* MACHINE-GENERATED ! */ | |
2 | ||
3 | frame contacts { | |
4 | table | |
5 | { n, x, y, h } | |
6 | { 1, c1, yl, hl } | |
7 | { 2, c2, ys, hs } | |
8 | { 3, -c2, ys, hs } | |
9 | { 4, -c1, yl, hl } | |
10 | ||
11 | table | |
12 | { ys, yl } | |
13 | { (b+bs)/2, (b+bl)/2 } | |
14 | ||
15 | table | |
16 | { hs, hl } | |
17 | { b-bs, b-bl } | |
18 | ||
19 | __0: vec @(x, y) | |
20 | __1: vec .(s/2, h/2) | |
21 | __2: vec __0(-s/2, -h/2) | |
22 | pad "$n" . __1 | |
23 | } | |
24 | ||
25 | frame outline { | |
26 | set width = 5mil | |
27 | ||
28 | __0: vec @(w/2, d/2) | |
29 | __1: vec @(-w/2, -d/2) | |
30 | __2: vec @(w/2, -d/2) | |
31 | line __1 . width | |
32 | line . __0 width | |
33 | __3: vec @(-w/2, d/2) | |
34 | line __1 . width | |
35 | } | |
36 | ||
37 | package "USB-A-PCB" | |
38 | unit mm | |
39 | ||
40 | table | |
41 | { w, d } | |
42 | { 12mm, 11.75mm } | |
43 | ||
44 | table | |
45 | { s, c1, c2, b, bl, bs } | |
46 | { 1mm, 3.5mm, 1mm, 8.65mm, b-7.41mm, b-6.41mm } | |
47 | ||
48 | __0: vec @(0mm, -d/2) | |
49 | frame contacts . | |
50 | frame outline @ | |
51 | measy outline.__1 >> outline.__3 1mm | |
52 | measx outline.__3 >> outline.__0 1mm | |
53 | measx __0 -> contacts.__0 -1mm | |
54 | measx __0 >> contacts.__0 -2mm | |
55 | measy outline.__2 -> contacts.__2 -1mm | |
56 | measy outline.__2 >> contacts.__2 -2mm | |
57 | measx contacts.__2 -> contacts.__1 -1mm | |
58 | measy outline.__2 >> contacts.__1 -3mm |
Branches:
master