Run ERC and DRC in CI Pipeline

This commit is contained in:
j3d1 2021-07-12 17:32:53 +02:00
parent 171a11eebf
commit d7ef71e89a
4 changed files with 225 additions and 152 deletions

View file

@ -23,6 +23,13 @@ steps:
commands:
- apt update
- apt install -y make zip
- cd pcb
- kibot -d gen -c fiatlux.kiplot.yaml -s update_xml,run_drc -i
- kibot -d gen -c fiatlux.kiplot.yaml -s update_xml,run_erc -i
- kibot -d gen -c fiatlux.kiplot.yaml -s run_drc,run_erc print_sch
- kibot -d gen -c fiatlux.kiplot.yaml -s all print_front gerbers
- ls -lA
- cd -
- make pcb -j$(nproc)
- name: case

View file

@ -39,7 +39,7 @@
(user_trace_width 0.5)
(user_trace_width 1)
(user_trace_width 2)
(trace_clearance 0.2)
(trace_clearance 0.127)
(zone_clearance 0.508)
(zone_45_only no)
(trace_min 0.2)
@ -131,7 +131,7 @@
(net 35 CS1)
(net_class Default "Dies ist die voreingestellte Netzklasse."
(clearance 0.2)
(clearance 0.127)
(trace_width 0.25)
(via_dia 0.8)
(via_drill 0.4)
@ -174,6 +174,148 @@
(add_net nRST)
)
(module TerminalBlock:TerminalBlock_bornier-2_P5.08mm locked (layer B.Cu) (tedit 60EC57DC) (tstamp 60AE33DA)
(at 55.88 71.12 180)
(descr "simple 2-pin terminal block, pitch 5.08mm, revamped version of bornier2")
(tags "terminal block bornier2")
(path /6078273A/6092962E)
(fp_text reference J12 (at 2.54 5.08) (layer B.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text value Conn_01x02_Male (at 2.54 -5.08) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_line (start -2.41 -2.55) (end 7.49 -2.55) (layer B.Fab) (width 0.1))
(fp_line (start -2.46 3.75) (end -2.46 -3.75) (layer B.Fab) (width 0.1))
(fp_line (start -2.46 -3.75) (end 7.54 -3.75) (layer B.Fab) (width 0.1))
(fp_line (start 7.54 -3.75) (end 7.54 3.75) (layer B.Fab) (width 0.1))
(fp_line (start 7.54 3.75) (end -2.46 3.75) (layer B.Fab) (width 0.1))
(fp_line (start 7.62 -2.54) (end -2.54 -2.54) (layer B.SilkS) (width 0.12))
(fp_line (start 7.62 -3.81) (end 7.62 3.81) (layer B.SilkS) (width 0.12))
(fp_line (start 7.62 3.81) (end -2.54 3.81) (layer B.SilkS) (width 0.12))
(fp_line (start -2.54 3.81) (end -2.54 -3.81) (layer B.SilkS) (width 0.12))
(fp_line (start -2.54 -3.81) (end 7.62 -3.81) (layer B.SilkS) (width 0.12))
(fp_line (start -2 4) (end 7.79 4) (layer B.CrtYd) (width 0.05))
(fp_line (start -2 4) (end -2 -4) (layer B.CrtYd) (width 0.05))
(fp_line (start 7.79 -4) (end 7.79 4) (layer B.CrtYd) (width 0.05))
(fp_line (start 7.79 -4) (end -2 -4) (layer B.CrtYd) (width 0.05))
(fp_text user %R (at 2.54 0) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(pad 2 thru_hole circle (at 5.08 0 180) (size 3 3) (drill 1.52) (layers *.Cu *.Mask)
(net 10 +12V))
(pad 1 thru_hole rect (at 0 0 180) (size 3 3) (drill 1.52) (layers *.Cu *.Mask)
(net 1 GND))
(model ${KISYS3DMOD}/TerminalBlock.3dshapes/TerminalBlock_bornier-2_P5.08mm.wrl
(offset (xyz 2.539999961853027 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
(model ${KISYS3DMOD}/TerminalBlock_Phoenix.3dshapes/TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal.step
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(module TerminalBlock:TerminalBlock_bornier-4_P5.08mm locked (layer B.Cu) (tedit 60EC0394) (tstamp 6091B242)
(at 35.56 68.58 90)
(descr "simple 4-pin terminal block, pitch 5.08mm, revamped version of bornier4")
(tags "terminal block bornier4")
(path /60B13D6D)
(fp_text reference J2 (at 7.6 4.8 90) (layer B.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text value Conn_01x04_Male (at 7.6 -4.75 90) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_line (start -2.48 -2.55) (end 17.72 -2.55) (layer B.Fab) (width 0.1))
(fp_line (start -2.43 -3.75) (end -2.48 -3.75) (layer B.Fab) (width 0.1))
(fp_line (start -2.48 -3.75) (end -2.48 3.75) (layer B.Fab) (width 0.1))
(fp_line (start -2.48 3.75) (end 17.72 3.75) (layer B.Fab) (width 0.1))
(fp_line (start 17.72 3.75) (end 17.72 -3.75) (layer B.Fab) (width 0.1))
(fp_line (start 17.72 -3.75) (end -2.43 -3.75) (layer B.Fab) (width 0.1))
(fp_line (start -2.54 3.81) (end -2.54 -3.81) (layer B.SilkS) (width 0.12))
(fp_line (start 17.78 -3.81) (end 17.78 3.81) (layer B.SilkS) (width 0.12))
(fp_line (start 17.78 -2.54) (end -2.54 -2.54) (layer B.SilkS) (width 0.12))
(fp_line (start -2.54 3.81) (end 17.78 3.81) (layer B.SilkS) (width 0.12))
(fp_line (start -2.54 -3.81) (end 17.78 -3.81) (layer B.SilkS) (width 0.12))
(fp_line (start -2.7 3) (end 17 3) (layer B.CrtYd) (width 0.05))
(fp_line (start -2.73 3) (end -2.73 -4) (layer B.CrtYd) (width 0.05))
(fp_line (start 17 -4) (end 17 3) (layer B.CrtYd) (width 0.05))
(fp_line (start 17 -4) (end -2.73 -4) (layer B.CrtYd) (width 0.05))
(fp_text user %R (at 7.62 0 90) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(pad 4 thru_hole circle (at 15.24 0 90) (size 3 3) (drill 1.52) (layers *.Cu *.Mask)
(net 13 VOUT))
(pad 1 thru_hole rect (at 0 0 90) (size 3 3) (drill 1.52) (layers *.Cu *.Mask)
(net 1 GND))
(pad 3 thru_hole circle (at 10.16 0 90) (size 3 3) (drill 1.52) (layers *.Cu *.Mask)
(net 14 TXD0))
(pad 2 thru_hole circle (at 5.08 0 90) (size 3 3) (drill 1.52) (layers *.Cu *.Mask)
(net 15 RXD0))
(model ${KISYS3DMOD}/TerminalBlock.3dshapes/TerminalBlock_bornier-4_P5.08mm.wrl
(offset (xyz 7.619999885559082 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
(model ${KISYS3DMOD}/TerminalBlock_Phoenix.3dshapes/TerminalBlock_Phoenix_MKDS-1,5-4-5.08_1x04_P5.08mm_Horizontal.step
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(module TerminalBlock:TerminalBlock_bornier-4_P5.08mm locked (layer B.Cu) (tedit 60EC0001) (tstamp 6091B26F)
(at 35.56 48.26 90)
(descr "simple 4-pin terminal block, pitch 5.08mm, revamped version of bornier4")
(tags "terminal block bornier4")
(path /608BFA99)
(fp_text reference J4 (at 7.6 4.8 90) (layer B.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text value Conn_01x04_Male (at 7.6 -4.75 90) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_line (start -2.48 -2.55) (end 17.72 -2.55) (layer B.Fab) (width 0.1))
(fp_line (start -2.43 -3.75) (end -2.48 -3.75) (layer B.Fab) (width 0.1))
(fp_line (start -2.48 -3.75) (end -2.48 3.75) (layer B.Fab) (width 0.1))
(fp_line (start -2.48 3.75) (end 17.72 3.75) (layer B.Fab) (width 0.1))
(fp_line (start 17.72 3.75) (end 17.72 -3.75) (layer B.Fab) (width 0.1))
(fp_line (start 17.72 -3.75) (end -2.43 -3.75) (layer B.Fab) (width 0.1))
(fp_line (start -2.54 3.81) (end -2.54 -3.81) (layer B.SilkS) (width 0.12))
(fp_line (start 17.78 -3.81) (end 17.78 3.81) (layer B.SilkS) (width 0.12))
(fp_line (start 17.78 -2.54) (end -2.54 -2.54) (layer B.SilkS) (width 0.12))
(fp_line (start -2.54 3.81) (end 17.78 3.81) (layer B.SilkS) (width 0.12))
(fp_line (start -2.54 -3.81) (end 17.78 -3.81) (layer B.SilkS) (width 0.12))
(fp_line (start -2.73 3) (end 17 3) (layer B.CrtYd) (width 0.05))
(fp_line (start -2.73 3) (end -2.73 -4) (layer B.CrtYd) (width 0.05))
(fp_line (start 17 -4) (end 17 3) (layer B.CrtYd) (width 0.05))
(fp_line (start 17 -4) (end -2.73 -4) (layer B.CrtYd) (width 0.05))
(fp_text user %R (at 7.62 0 90) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(pad 4 thru_hole circle (at 15.24 0 90) (size 3 3) (drill 1.52) (layers *.Cu *.Mask)
(net 13 VOUT))
(pad 1 thru_hole rect (at 0 0 90) (size 3 3) (drill 1.52) (layers *.Cu *.Mask)
(net 1 GND))
(pad 3 thru_hole circle (at 10.16 0 90) (size 3 3) (drill 1.52) (layers *.Cu *.Mask)
(net 16 SCLK))
(pad 2 thru_hole circle (at 5.08 0 90) (size 3 3) (drill 1.52) (layers *.Cu *.Mask)
(net 17 MOSI))
(model ${KISYS3DMOD}/TerminalBlock.3dshapes/TerminalBlock_bornier-4_P5.08mm.wrl
(offset (xyz 7.619999885559082 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
(model ${KISYS3DMOD}/TerminalBlock_Phoenix.3dshapes/TerminalBlock_Phoenix_MKDS-1,5-4-5.08_1x04_P5.08mm_Horizontal.step
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(module TestPoint:TestPoint_Pad_D2.0mm (layer F.Cu) (tedit 5A0F774F) (tstamp 60A933BB)
(at 58.42 53.34 90)
(descr "SMD pad as test Point, diameter 2.0mm")
@ -207,9 +349,6 @@
(fp_text value 0Ohm (at 0 -1.65 90) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text user %R (at 0 0 90) (layer B.Fab)
(effects (font (size 0.5 0.5) (thickness 0.08)) (justify mirror))
)
(fp_line (start -1 -0.625) (end -1 0.625) (layer B.Fab) (width 0.1))
(fp_line (start -1 0.625) (end 1 0.625) (layer B.Fab) (width 0.1))
(fp_line (start 1 0.625) (end 1 -0.625) (layer B.Fab) (width 0.1))
@ -220,6 +359,9 @@
(fp_line (start -1.68 0.95) (end 1.68 0.95) (layer B.CrtYd) (width 0.05))
(fp_line (start 1.68 0.95) (end 1.68 -0.95) (layer B.CrtYd) (width 0.05))
(fp_line (start 1.68 -0.95) (end -1.68 -0.95) (layer B.CrtYd) (width 0.05))
(fp_text user %R (at 0 0 90) (layer B.Fab)
(effects (font (size 0.5 0.5) (thickness 0.08)) (justify mirror))
)
(pad 2 smd roundrect (at 0.9125 0 270) (size 1.025 1.4) (layers B.Cu B.Paste B.Mask) (roundrect_rratio 0.243902)
(net 23 SEN_12V))
(pad 1 smd roundrect (at -0.9125 0 270) (size 1.025 1.4) (layers B.Cu B.Paste B.Mask) (roundrect_rratio 0.243902)
@ -243,9 +385,6 @@
(fp_text value 0Ohm (at 0 -1.65 90) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text user %R (at 0 0 90) (layer B.Fab)
(effects (font (size 0.5 0.5) (thickness 0.08)) (justify mirror))
)
(fp_line (start -1 -0.625) (end -1 0.625) (layer B.Fab) (width 0.1))
(fp_line (start -1 0.625) (end 1 0.625) (layer B.Fab) (width 0.1))
(fp_line (start 1 0.625) (end 1 -0.625) (layer B.Fab) (width 0.1))
@ -256,6 +395,9 @@
(fp_line (start -1.68 0.95) (end 1.68 0.95) (layer B.CrtYd) (width 0.05))
(fp_line (start 1.68 0.95) (end 1.68 -0.95) (layer B.CrtYd) (width 0.05))
(fp_line (start 1.68 -0.95) (end -1.68 -0.95) (layer B.CrtYd) (width 0.05))
(fp_text user %R (at 0 0 90) (layer B.Fab)
(effects (font (size 0.5 0.5) (thickness 0.08)) (justify mirror))
)
(pad 2 smd roundrect (at 0.9125 0 270) (size 1.025 1.4) (layers B.Cu B.Paste B.Mask) (roundrect_rratio 0.243902)
(net 9 SEN_5V))
(pad 1 smd roundrect (at -0.9125 0 270) (size 1.025 1.4) (layers B.Cu B.Paste B.Mask) (roundrect_rratio 0.243902)
@ -1983,50 +2125,6 @@
)
)
(module TerminalBlock:TerminalBlock_bornier-2_P5.08mm locked (layer B.Cu) (tedit 59FF03AB) (tstamp 60AE33DA)
(at 55.88 71.12 180)
(descr "simple 2-pin terminal block, pitch 5.08mm, revamped version of bornier2")
(tags "terminal block bornier2")
(path /6078273A/6092962E)
(fp_text reference J12 (at 2.54 5.08) (layer B.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text value Conn_01x02_Male (at 2.54 -5.08) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_line (start -2.41 -2.55) (end 7.49 -2.55) (layer B.Fab) (width 0.1))
(fp_line (start -2.46 3.75) (end -2.46 -3.75) (layer B.Fab) (width 0.1))
(fp_line (start -2.46 -3.75) (end 7.54 -3.75) (layer B.Fab) (width 0.1))
(fp_line (start 7.54 -3.75) (end 7.54 3.75) (layer B.Fab) (width 0.1))
(fp_line (start 7.54 3.75) (end -2.46 3.75) (layer B.Fab) (width 0.1))
(fp_line (start 7.62 -2.54) (end -2.54 -2.54) (layer B.SilkS) (width 0.12))
(fp_line (start 7.62 -3.81) (end 7.62 3.81) (layer B.SilkS) (width 0.12))
(fp_line (start 7.62 3.81) (end -2.54 3.81) (layer B.SilkS) (width 0.12))
(fp_line (start -2.54 3.81) (end -2.54 -3.81) (layer B.SilkS) (width 0.12))
(fp_line (start -2.54 -3.81) (end 7.62 -3.81) (layer B.SilkS) (width 0.12))
(fp_line (start -2.71 4) (end 7.79 4) (layer B.CrtYd) (width 0.05))
(fp_line (start -2.71 4) (end -2.71 -4) (layer B.CrtYd) (width 0.05))
(fp_line (start 7.79 -4) (end 7.79 4) (layer B.CrtYd) (width 0.05))
(fp_line (start 7.79 -4) (end -2.71 -4) (layer B.CrtYd) (width 0.05))
(fp_text user %R (at 2.54 0) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(pad 2 thru_hole circle (at 5.08 0 180) (size 3 3) (drill 1.52) (layers *.Cu *.Mask)
(net 10 +12V))
(pad 1 thru_hole rect (at 0 0 180) (size 3 3) (drill 1.52) (layers *.Cu *.Mask)
(net 1 GND))
(model ${KISYS3DMOD}/TerminalBlock.3dshapes/TerminalBlock_bornier-2_P5.08mm.wrl
(offset (xyz 2.539999961853027 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
(model ${KISYS3DMOD}/TerminalBlock_Phoenix.3dshapes/TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal.step
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(module TestPoint:TestPoint_Pad_D2.0mm (layer F.Cu) (tedit 5A0F774F) (tstamp 6091B2ED)
(at 68.58 66.04)
(descr "SMD pad as test Point, diameter 2.0mm")
@ -2255,55 +2353,6 @@
)
)
(module TerminalBlock:TerminalBlock_bornier-4_P5.08mm locked (layer B.Cu) (tedit 59FF03D1) (tstamp 6091B26F)
(at 35.56 48.26 90)
(descr "simple 4-pin terminal block, pitch 5.08mm, revamped version of bornier4")
(tags "terminal block bornier4")
(path /608BFA99)
(fp_text reference J4 (at 7.6 4.8 90) (layer B.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text value Conn_01x04_Male (at 7.6 -4.75 90) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_line (start -2.48 -2.55) (end 17.72 -2.55) (layer B.Fab) (width 0.1))
(fp_line (start -2.43 -3.75) (end -2.48 -3.75) (layer B.Fab) (width 0.1))
(fp_line (start -2.48 -3.75) (end -2.48 3.75) (layer B.Fab) (width 0.1))
(fp_line (start -2.48 3.75) (end 17.72 3.75) (layer B.Fab) (width 0.1))
(fp_line (start 17.72 3.75) (end 17.72 -3.75) (layer B.Fab) (width 0.1))
(fp_line (start 17.72 -3.75) (end -2.43 -3.75) (layer B.Fab) (width 0.1))
(fp_line (start -2.54 3.81) (end -2.54 -3.81) (layer B.SilkS) (width 0.12))
(fp_line (start 17.78 -3.81) (end 17.78 3.81) (layer B.SilkS) (width 0.12))
(fp_line (start 17.78 -2.54) (end -2.54 -2.54) (layer B.SilkS) (width 0.12))
(fp_line (start -2.54 3.81) (end 17.78 3.81) (layer B.SilkS) (width 0.12))
(fp_line (start -2.54 -3.81) (end 17.78 -3.81) (layer B.SilkS) (width 0.12))
(fp_line (start -2.73 4) (end 17.97 4) (layer B.CrtYd) (width 0.05))
(fp_line (start -2.73 4) (end -2.73 -4) (layer B.CrtYd) (width 0.05))
(fp_line (start 17.97 -4) (end 17.97 4) (layer B.CrtYd) (width 0.05))
(fp_line (start 17.97 -4) (end -2.73 -4) (layer B.CrtYd) (width 0.05))
(fp_text user %R (at 7.62 0 90) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(pad 4 thru_hole circle (at 15.24 0 90) (size 3 3) (drill 1.52) (layers *.Cu *.Mask)
(net 13 VOUT))
(pad 1 thru_hole rect (at 0 0 90) (size 3 3) (drill 1.52) (layers *.Cu *.Mask)
(net 1 GND))
(pad 3 thru_hole circle (at 10.16 0 90) (size 3 3) (drill 1.52) (layers *.Cu *.Mask)
(net 16 SCLK))
(pad 2 thru_hole circle (at 5.08 0 90) (size 3 3) (drill 1.52) (layers *.Cu *.Mask)
(net 17 MOSI))
(model ${KISYS3DMOD}/TerminalBlock.3dshapes/TerminalBlock_bornier-4_P5.08mm.wrl
(offset (xyz 7.619999885559082 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
(model ${KISYS3DMOD}/TerminalBlock_Phoenix.3dshapes/TerminalBlock_Phoenix_MKDS-1,5-4-5.08_1x04_P5.08mm_Horizontal.step
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(module TerminalBlock:TerminalBlock_bornier-2_P5.08mm locked (layer B.Cu) (tedit 59FF03AB) (tstamp 6091B257)
(at 66.04 71.12 180)
(descr "simple 2-pin terminal block, pitch 5.08mm, revamped version of bornier2")
@ -2348,55 +2397,6 @@
)
)
(module TerminalBlock:TerminalBlock_bornier-4_P5.08mm locked (layer B.Cu) (tedit 59FF03D1) (tstamp 6091B242)
(at 35.56 68.58 90)
(descr "simple 4-pin terminal block, pitch 5.08mm, revamped version of bornier4")
(tags "terminal block bornier4")
(path /60B13D6D)
(fp_text reference J2 (at 7.6 4.8 90) (layer B.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text value Conn_01x04_Male (at 7.6 -4.75 90) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_line (start -2.48 -2.55) (end 17.72 -2.55) (layer B.Fab) (width 0.1))
(fp_line (start -2.43 -3.75) (end -2.48 -3.75) (layer B.Fab) (width 0.1))
(fp_line (start -2.48 -3.75) (end -2.48 3.75) (layer B.Fab) (width 0.1))
(fp_line (start -2.48 3.75) (end 17.72 3.75) (layer B.Fab) (width 0.1))
(fp_line (start 17.72 3.75) (end 17.72 -3.75) (layer B.Fab) (width 0.1))
(fp_line (start 17.72 -3.75) (end -2.43 -3.75) (layer B.Fab) (width 0.1))
(fp_line (start -2.54 3.81) (end -2.54 -3.81) (layer B.SilkS) (width 0.12))
(fp_line (start 17.78 -3.81) (end 17.78 3.81) (layer B.SilkS) (width 0.12))
(fp_line (start 17.78 -2.54) (end -2.54 -2.54) (layer B.SilkS) (width 0.12))
(fp_line (start -2.54 3.81) (end 17.78 3.81) (layer B.SilkS) (width 0.12))
(fp_line (start -2.54 -3.81) (end 17.78 -3.81) (layer B.SilkS) (width 0.12))
(fp_line (start -2.73 4) (end 17.97 4) (layer B.CrtYd) (width 0.05))
(fp_line (start -2.73 4) (end -2.73 -4) (layer B.CrtYd) (width 0.05))
(fp_line (start 17.97 -4) (end 17.97 4) (layer B.CrtYd) (width 0.05))
(fp_line (start 17.97 -4) (end -2.73 -4) (layer B.CrtYd) (width 0.05))
(fp_text user %R (at 7.62 0 90) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(pad 4 thru_hole circle (at 15.24 0 90) (size 3 3) (drill 1.52) (layers *.Cu *.Mask)
(net 13 VOUT))
(pad 1 thru_hole rect (at 0 0 90) (size 3 3) (drill 1.52) (layers *.Cu *.Mask)
(net 1 GND))
(pad 3 thru_hole circle (at 10.16 0 90) (size 3 3) (drill 1.52) (layers *.Cu *.Mask)
(net 14 TXD0))
(pad 2 thru_hole circle (at 5.08 0 90) (size 3 3) (drill 1.52) (layers *.Cu *.Mask)
(net 15 RXD0))
(model ${KISYS3DMOD}/TerminalBlock.3dshapes/TerminalBlock_bornier-4_P5.08mm.wrl
(offset (xyz 7.619999885559082 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
(model ${KISYS3DMOD}/TerminalBlock_Phoenix.3dshapes/TerminalBlock_Phoenix_MKDS-1,5-4-5.08_1x04_P5.08mm_Horizontal.step
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(module MountingHole:MountingHole_2.2mm_M2_Pad_Via locked (layer F.Cu) (tedit 56DDB9C7) (tstamp 6091B216)
(at 75 71)
(descr "Mounting Hole 2.2mm, M2")

66
pcb/fiatlux.kiplot.yaml Normal file
View file

@ -0,0 +1,66 @@
# Example KiPlot config file
kiplot:
version: 1
preflight:
run_erc: true
update_xml: true
run_drc: true
check_zone_fills: false
ignore_unconnected: false
# global:
# kiauto_wait_start: 60
# kiauto_time_out_scale: 2
outputs:
- name: 'print_sch'
comment: "Print schematic (PDF)"
type: pdf_sch_print
dir: .
options:
output: Schematic.pdf
- name: 'print_front'
comment: "Print F.Cu+Dwgs.User"
type: pdf_pcb_print
dir: .
options:
output_name: PCB_Top.pdf
layers:
- layer: B.Cu
- layer: F.SilkS
- name: 'gerbers'
comment: "Gerbers for the board house"
type: gerber
dir: Gerbers
options:
# generic layer options
exclude_edge_layer: true
exclude_pads_from_silkscreen: false
use_aux_axis_as_origin: false
plot_sheet_reference: false
plot_footprint_refs: true
plot_footprint_values: true
force_plot_invisible_refs_vals: false
tent_vias: true
# gerber options
line_width: 0.1
subtract_mask_from_silk: false
use_protel_extensions: false
gerber_precision: 4.6
create_gerber_job_file: true
use_gerber_x2_attributes: true
use_gerber_net_attributes: true
layers:
- layer: B.Cu
suffix: B_Cu
- layer: F.SilkS
suffix: F_SilkS
- layer: Edge.Cuts
suffix: Edge_Cuts

View file

@ -1,4 +1,4 @@
update=Di 04 Mai 2021 20:32:15 CEST
update=Mo 12 Jul 2021 16:48:53 CEST
version=1
last_client=kicad
[general]
@ -241,7 +241,7 @@ Enabled=0
[pcbnew/Netclasses]
[pcbnew/Netclasses/Default]
Name=Default
Clearance=0.2
Clearance=0.127
TrackWidth=0.25
ViaDiameter=0.8
ViaDrill=0.4