Date:2016-09-13 07:34:29 (3 years 10 months ago)
Author:Werner Almesberger
Commit:ed8ceaf69afc8ebbc93687a497549111acb81f87
Message:modules/lga.fpd: add LGA-20-3x4.5-BMX055

Files: modules/HIERARCHY (1 diff)
modules/lga.fpd (6 diffs)

Change Details

modules/HIERARCHY
425425    LGA
426426        LGA-16-3x3
427427        LGA-8-2.5x2.5-BME280
428        LGA-20-3x4.5-BMX055
428429    QFN
429430        QFN16-LFCSP_LQ
430431        QFN28-Atmel
modules/lga.fpd
66        { 0, i*f+a }
77        { 1, pins-a-i*f-nx+1 }
88
9    __0: vec @(dx*(py/2+pe), px/2)
10    __1: vec @(-dx*py/2, -px/2)
9    __0: vec @(dx*(pyy/2+pe), pyx/2)
10    __1: vec @(-dx*pyy/2, -pyx/2)
1111    pad "$name" . __0
1212}
1313
1414frame pinsy {
1515    set y = e*(i-(ny-1)/2)
1616
17    set x = sx/2-py/2-b
17    set x = sx/2-pyy/2-b
1818
1919    table
2020        { dx, f, a }
...... 
3333        { 0, i*f+a }
3434        { 1, a+(nx-i-1)*f }
3535
36    __0: vec @(px/2, -dy*py/2)
37    __1: vec @(-px/2, dy*py/2)
36    __0: vec @(pxx/2, -dy*pxy/2)
37    __1: vec @(-pxx/2, dy*pxy/2)
3838    __2: vec .(0mm, dy*pe)
3939    pad "$name" . __0
4040}
...... 
5757frame pinsx {
5858    set x = e*(i-(nx-1)/2)
5959
60    set y = sy/2-py/2-b
60    set y = sy/2-pxy/2-b
6161
6262    table
6363        { dy, f, a }
...... 
7474unit mm
7575
7676table
77    { variant, nx, ny, sx, sy, e, b, px, py, pe, cw }
78    { "", 3, 5, 3mm, 3mm, 0.5mm, 0.1mm, 0.25mm, 0.35mm, 0.2mm, 0 }
79    { "-BME280", 0, 4, 2.5mm, 2.5mm, 0.65mm, 0.125mm, 0.35mm, 0.35mm, 0.15mm, 1 }
77    { variant, nx, ny, sx, sy, e, b, pxx, pxy, pyx, pyy, pe, cw }
78    { "", 3, 5, 3mm, 3mm, 0.5mm, 0.1mm, 0.25mm, 0.35mm, pxx, pxy, 0.2mm, 0 }
79    { "-BME280", 0, 4, 2.5mm, 2.5mm, 0.65mm, 0.125mm, 0.35mm, 0.35mm, pxx, pxy, 0.15mm, 1 }
80    { "-BMX055", 3, 7, 3mm, 4.5mm, 0.5mm, 0.1mm, 0.25mm, 0.375mm, pxx, 0.475mm, 0.2mm, 1 }
8081
8182set pins = 2*(nx+ny)
8283
...... 
9495measx outline.__2 >> outline.__0 -1.5mm
9596measy outline.__2 >> outline.__0 1.5mm
9697measx pinsx.__0 -> pinsx.__0 -1.5mm
97measx pinx.__2 -> pinx.__0 py+0.5mm
98measx pinx.__2 -> pinx.__0 pxy+0.5mm
9899measy pinx.__1 -> pinx.__0 0.2mm
99100measy pinx.__2 -> pinx.__1 0.2mm
100101measy outline.__3 >> outline.__5 1.5mm
...... 
104105measx piny.__1 -> piny.__1 0.8mm
105106measx piny.__0 -> piny.__0 1mm
106107measy pinsy.__0 -> pinsy.__0 1mm
108measy pinx.__0 -> pinx.__0 2.2mm

Archive Download the corresponding diff file

Branches:
master



interactive