← Commit history

pin 1: carry the footprint's marker into the .lbr, the viewer and page.json (silk-marker, drawn, top-left)

Ray ·e878f24c82 · ·parent 1132034
5 files changed +280−3
lk8563s.lbr+1−1
@@ -70,7 +70,7 @@   <wire x1="1.6100" y1="-1.6100" x2="-1.6100" y2="-1.6100" width="0.1200" layer="21"/>   <text x="0" y="2.388" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-2.388" size="1.27" layer="27" align="top-center">&gt;VALUE</text>-</package>+<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-2.1600" y="1.4400"/><vertex x="-2.4000" y="1.7700"/><vertex x="-1.9200" y="1.7700"/></polygon></package> </packages> <symbols> <symbol name="LK8563S">
package.json+2−1
@@ -24,6 +24,7 @@     "docs/hero.png",     "docs/lk8563s-datasheet.pdf",     "viewers/symbol.html",-    "viewers/footprint.html"+    "viewers/footprint.html",+    "pads.json"   ] }\ No newline at end of file
pads.jsonadded+265
@@ -0,0 +1,265 @@+{+ "schema": "adom.pads/1",+ "slug": "lk8563s",+ "footprint": "MSOP-8_3x3mm_P0.65mm",+ "generated_from": {+  "footprint": "MSOP-8_3x3mm_P0.65mm@sha256:c85207be7edf4b5e",+  "pins": "page.json:component.pins",+  "overrides": null+ },+ "pin1": {+  "pad": "1",+  "at": [+   -2.1125,+   -0.975+  ],+  "corner": "top-left",+  "source": "silk-marker",+  "derived_from": "MSOP-8_3x3mm_P0.65mm@sha256:c85207be7edf4b5e"+ },+ "pad_count": 8,+ "paste_apertures": 0,+ "issues": [],+ "pads": [+  {+   "pad": "1",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -2.1125,+    -0.975+   ],+   "rot": 0.0,+   "size": [+    1.625,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "1",+   "name": "OSCI",+   "type": "input",+   "description": "Oscillator input. Connects to one terminal of the external 32.768 kHz crystal. Internal load capacitance (C_INT) typ. 25 pF; recommended crystal Rs <= 40 kOhm, C_L = 12.5 pF.",+   "is_pin1": true,+   "source": {+    "geometry": "MSOP-8_3x3mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "2",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -2.1125,+    -0.325+   ],+   "rot": 0.0,+   "size": [+    1.625,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "2",+   "name": "OSCO",+   "type": "output",+   "description": "Oscillator output. Connects to the other terminal of the external 32.768 kHz crystal to form the RTC time base.",+   "is_pin1": false,+   "source": {+    "geometry": "MSOP-8_3x3mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "3",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -2.1125,+    0.325+   ],+   "rot": 0.0,+   "size": [+    1.625,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "3",+   "name": "/INT",+   "type": "output",+   "description": "Active-low interrupt output, open-drain. Asserted by alarm, timer, or brown-out events; requires an external pull-up resistor to VDD.",+   "is_pin1": false,+   "source": {+    "geometry": "MSOP-8_3x3mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "4",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -2.1125,+    0.975+   ],+   "rot": 0.0,+   "size": [+    1.625,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "4",+   "name": "VSS",+   "type": "power_in",+   "description": "Ground reference (0 V).",+   "is_pin1": false,+   "source": {+    "geometry": "MSOP-8_3x3mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "5",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    2.1125,+    0.975+   ],+   "rot": 0.0,+   "size": [+    1.625,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "5",+   "name": "SDA",+   "type": "bidirectional",+   "description": "I2C serial data line (open-drain). Requires an external pull-up resistor (typ. 4.7 kOhm) to VDD. Slave address 0xA2 (write) / 0xA3 (read); up to 400 kbit/s.",+   "is_pin1": false,+   "source": {+    "geometry": "MSOP-8_3x3mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "6",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    2.1125,+    0.325+   ],+   "rot": 0.0,+   "size": [+    1.625,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "6",+   "name": "SCL",+   "type": "input",+   "description": "I2C serial clock input. Requires an external pull-up resistor (typ. 4.7 kOhm) to VDD. Max clock 400 kHz.",+   "is_pin1": false,+   "source": {+    "geometry": "MSOP-8_3x3mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "7",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    2.1125,+    -0.325+   ],+   "rot": 0.0,+   "size": [+    1.625,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "7",+   "name": "CLKOUT",+   "type": "output",+   "description": "Programmable clock output, open-drain. Software-selectable frequencies: 32.768 kHz, 1024 Hz, 32 Hz, or 1 Hz. Requires an external pull-up resistor to VDD.",+   "is_pin1": false,+   "source": {+    "geometry": "MSOP-8_3x3mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "8",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    2.1125,+    -0.975+   ],+   "rot": 0.0,+   "size": [+    1.625,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "8",+   "name": "VDD",+   "type": "power_in",+   "description": "Positive supply. Operating range 1.2 V to 5.5 V for timekeeping; 1.8 V to 5.5 V for I2C at 400 kHz. Absolute maximum 6.5 V.",+   "is_pin1": false,+   "source": {+    "geometry": "MSOP-8_3x3mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  }+ ]+}\ No newline at end of file
page.json+11
@@ -96,6 +96,17 @@     "viewers": {       "symbol": "viewers/symbol.html",       "footprint": "viewers/footprint.html"+    },+    "pin1": {+      "pad": "1",+      "at": [+        -2.1125,+        -0.975+      ],+      "corner": "top-left",+      "source": "silk-marker",+      "derived_from": "MSOP-8_3x3mm_P0.65mm@sha256:c85207be7edf4b5e",+      "mark": "drawn"     }   },   "metadata": {
viewers/footprint.html+1−1
@@ -23,7 +23,7 @@ rect.pad.hi{stroke:var(--hi);stroke-width:.15;paint-order:stroke} #tip .td{font-size:11px;color:var(--ink);margin-top:5px;line-height:1.4} </style></head><body> <div class=bar><span class=h>PCB footprint</span><span class=sp></span><button class="lyrtog on" data-lyr="copper"><span class="d" style="background:#e35d5d"></span>Copper</button><button class="lyrtog on" data-lyr="silk"><span class="d" style="background:#e6edf3"></span>Silkscreen</button><button class="lyrtog" data-lyr="fab"><span class="d" style="background:#8b949e"></span>Fab</button><button class="lyrtog" data-lyr="courtyard"><span class="d" style="background:#bc8cff"></span>Courtyard</button></div>-<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-3.580 -2.150 7.160 4.300' style='width:100%;height:100%'><line class='ly-silk' x1='-1.610' y1='-1.610' x2='1.610' y2='-1.610' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-1.610' y1='-1.435' x2='-1.610' y2='-1.610' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-1.610' y1='1.610' x2='-1.610' y2='1.435' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='1.610' y1='-1.610' x2='1.610' y2='-1.435' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='1.610' y1='1.435' x2='1.610' y2='1.610' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='1.610' y1='1.610' x2='-1.610' y2='1.610' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-courtyard' x1='-3.180' y1='-1.430' x2='-1.750' y2='-1.430' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-3.180' y1='1.430' x2='-3.180' y2='-1.430' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-1.750' y1='-1.750' x2='1.750' y2='-1.750' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-1.750' y1='-1.430' x2='-1.750' y2='-1.750' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-1.750' y1='1.430' x2='-3.180' y2='1.430' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-1.750' y1='1.750' x2='-1.750' y2='1.430' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='1.750' y1='-1.750' x2='1.750' y2='-1.430' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='1.750' y1='-1.430' x2='3.180' y2='-1.430' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='1.750' y1='1.430' x2='1.750' y2='1.750' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='1.750' y1='1.750' x2='-1.750' y2='1.750' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.180' y1='-1.430' x2='3.180' y2='1.430' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.180' y1='1.430' x2='1.750' y2='1.430' stroke='#4ade80' stroke-width='0.050'/><rect class='ly-copper pad' data-num='1' data-name='OSCI' x='-2.925' y='-1.175' width='1.625' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.112' y='-0.975' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>1</text><rect class='ly-copper pad' data-num='2' data-name='OSCO' x='-2.925' y='-0.525' width='1.625' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.112' y='-0.325' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>2</text><rect class='ly-copper pad' data-num='3' data-name='/INT' x='-2.925' y='0.125' width='1.625' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.112' y='0.325' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>3</text><rect class='ly-copper pad' data-num='4' data-name='VSS' x='-2.925' y='0.775' width='1.625' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.112' y='0.975' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>4</text><rect class='ly-copper pad' data-num='5' data-name='SDA' x='1.300' y='0.775' width='1.625' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.112' y='0.975' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>5</text><rect class='ly-copper pad' data-num='6' data-name='SCL' x='1.300' y='0.125' width='1.625' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.112' y='0.325' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>6</text><rect class='ly-copper pad' data-num='7' data-name='CLKOUT' x='1.300' y='-0.525' width='1.625' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.112' y='-0.325' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>7</text><rect class='ly-copper pad' data-num='8' data-name='VDD' x='1.300' y='-1.175' width='1.625' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.112' y='-0.975' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>8</text></svg></div>+<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-3.580 -2.150 7.160 4.300' style='width:100%;height:100%'><line class='ly-silk' x1='-1.610' y1='-1.610' x2='1.610' y2='-1.610' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-1.610' y1='-1.435' x2='-1.610' y2='-1.610' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-1.610' y1='1.610' x2='-1.610' y2='1.435' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='1.610' y1='-1.610' x2='1.610' y2='-1.435' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='1.610' y1='1.435' x2='1.610' y2='1.610' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='1.610' y1='1.610' x2='-1.610' y2='1.610' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-courtyard' x1='-3.180' y1='-1.430' x2='-1.750' y2='-1.430' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-3.180' y1='1.430' x2='-3.180' y2='-1.430' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-1.750' y1='-1.750' x2='1.750' y2='-1.750' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-1.750' y1='-1.430' x2='-1.750' y2='-1.750' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-1.750' y1='1.430' x2='-3.180' y2='1.430' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-1.750' y1='1.750' x2='-1.750' y2='1.430' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='1.750' y1='-1.750' x2='1.750' y2='-1.430' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='1.750' y1='-1.430' x2='3.180' y2='-1.430' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='1.750' y1='1.430' x2='1.750' y2='1.750' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='1.750' y1='1.750' x2='-1.750' y2='1.750' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.180' y1='-1.430' x2='3.180' y2='1.430' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.180' y1='1.430' x2='1.750' y2='1.430' stroke='#4ade80' stroke-width='0.050'/><rect class='ly-copper pad' data-num='1' data-name='OSCI' x='-2.925' y='-1.175' width='1.625' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.112' y='-0.975' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>1</text><rect class='ly-copper pad' data-num='2' data-name='OSCO' x='-2.925' y='-0.525' width='1.625' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.112' y='-0.325' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>2</text><rect class='ly-copper pad' data-num='3' data-name='/INT' x='-2.925' y='0.125' width='1.625' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.112' y='0.325' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>3</text><rect class='ly-copper pad' data-num='4' data-name='VSS' x='-2.925' y='0.775' width='1.625' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.112' y='0.975' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>4</text><rect class='ly-copper pad' data-num='5' data-name='SDA' x='1.300' y='0.775' width='1.625' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.112' y='0.975' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>5</text><rect class='ly-copper pad' data-num='6' data-name='SCL' x='1.300' y='0.125' width='1.625' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.112' y='0.325' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>6</text><rect class='ly-copper pad' data-num='7' data-name='CLKOUT' x='1.300' y='-0.525' width='1.625' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.112' y='-0.325' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>7</text><rect class='ly-copper pad' data-num='8' data-name='VDD' x='1.300' y='-1.175' width='1.625' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.112' y='-0.975' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>8</text><polygon class='ly-silk adom-pin1' points='-2.160,-1.440 -2.400,-1.770 -1.920,-1.770' fill='#d8b4fe' stroke='none'><title>pin 1</title></polygon></svg></div> <div id=tip></div> <script> var KIND="footprint", MPN="RAY/LK8563S", PINS=[{"desc":"","name":"OSCI","number":"1","type":""},{"desc":"","name":"OSCO","number":"2","type":""},{"desc":"","name":"/INT","number":"3","type":""},{"desc":"","name":"VSS","number":"4","type":""},{"desc":"","name":"VDD","number":"8","type":""},{"desc":"","name":"CLKOUT","number":"7","type":""},{"desc":"","name":"SCL","number":"6","type":""},{"desc":"","name":"SDA","number":"5","type":""}];