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
11# http://www.nxp.com/#/page/content=[f=/packages/SOT341-1.xml]
22F: ssop
3
4# USB 2.0 from usb_20_040908, page 99
5F: usb-a-pcb
c2usb/modules/Makefile
1MODULES=ssop usb-a-pcb
1MODULES=ssop
22
33.SUFFIXES: .fpd .mod
44.PHONY: all clean
c2usb/modules/usb-a-pcb.fpd
1/* MACHINE-GENERATED ! */
2
3frame 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
25frame 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
37package "USB-A-PCB"
38unit mm
39
40table
41    { w, d }
42    { 12mm, 11.75mm }
43
44table
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)
49frame contacts .
50frame outline @
51measy outline.__1 >> outline.__3 1mm
52measx outline.__3 >> outline.__0 1mm
53measx __0 -> contacts.__0 -1mm
54measx __0 >> contacts.__0 -2mm
55measy outline.__2 -> contacts.__2 -1mm
56measy outline.__2 >> contacts.__2 -2mm
57measx contacts.__2 -> contacts.__1 -1mm
58measy outline.__2 >> contacts.__1 -3mm

Archive Download the corresponding diff file

Branches:
master



interactive