Skip to content

Commit 56d80c7

Browse files
committed
Add kicad-exports.
1 parent 95b8ed2 commit 56d80c7

File tree

4 files changed

+314
-1
lines changed

4 files changed

+314
-1
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
on:
2+
push:
3+
tags:
4+
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
5+
6+
name: Upload Release
7+
8+
jobs:
9+
build:
10+
name: Upload Release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
with:
16+
submodules: recursive
17+
- name: Get Branch Name
18+
id: branch_name
19+
run: |
20+
echo ::set-output name=SOURCE_NAME::${GITHUB_REF#refs/*/}
21+
echo ::set-output name=SOURCE_BRANCH::${GITHUB_REF#refs/heads/}
22+
echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
23+
- name: Set version number
24+
env:
25+
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
26+
run: |
27+
sed -i "s~\[Uncontrolled\]~${SOURCE_TAG}~g" Kicad/*.sch Kicad/*.kicad_pcb
28+
- name: Build project
29+
uses: nerdyscout/[email protected]
30+
with:
31+
config: 'Kicad/docs.kibot.yaml'
32+
dir: docs
33+
schema: 'Kicad/Neotron-Expansion-Template.sch'
34+
board: 'Kicad/Neotron-Expansion-Template.kicad_pcb'
35+
- name: Create Release
36+
id: create_release
37+
uses: actions/create-release@v1
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
with:
41+
tag_name: ${{ github.ref }}
42+
release_name: Release ${{ steps.branch_name.outputs.SOURCE_TAG }}
43+
draft: false
44+
prerelease: false
45+
- name: Build gerbers zip file
46+
env:
47+
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
48+
run: |
49+
zip -r --junk-paths neotron-expansion-template-gerbers-${SOURCE_TAG}.zip docs/gerbers/
50+
- name: Upload files to Release
51+
uses: softprops/action-gh-release@v1
52+
with:
53+
files: |
54+
neotron-expansion-template-gerbers-*.zip
55+
docs/*
56+
env:
57+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/kicad.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Kicad
2+
3+
on:
4+
push:
5+
paths:
6+
- '**.sch'
7+
- '**.lib'
8+
- '**.kicad_mod'
9+
- '**.kicad_pcb'
10+
pull_request:
11+
paths:
12+
- '**.sch'
13+
- '**.lib'
14+
- '**.kicad_mod'
15+
- '**.kicad_pcb'
16+
17+
jobs:
18+
Kicad:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v2
23+
with:
24+
submodules: recursive
25+
- name: Set version number
26+
env:
27+
GITHUB_SHA: ${{ github.sha }}
28+
run: |
29+
sed -i "s~\[Uncontrolled\]~${GITHUB_SHA:0:6}~g" Kicad/*.sch Kicad/*.kicad_pcb
30+
- name: Run KiBot
31+
uses: nerdyscout/[email protected]
32+
with:
33+
config: 'Kicad/docs.kibot.yaml'
34+
dir: docs
35+
schema: 'Kicad/Neotron-Expansion-Template.sch'
36+
board: 'Kicad/Neotron-Expansion-Template.kicad_pcb'
37+
- name: Upload Results
38+
uses: actions/upload-artifact@v2
39+
with:
40+
name: docs
41+
path: docs

Kicad/Neotron-Expansion-Template.sch

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ F 0 "J1" H 6550 5815 50 0000 C CNN
2121
F 1 "Neotron-Expansion-Edge" H 6550 5724 50 0000 C CNN
2222
F 2 "Neotron-Common-Hardware:Neotron-Expansion-Edge" H 6575 5800 50 0001 C CNN
2323
F 3 "" H 7025 5500 50 0001 C CNN
24+
F 4 "1" H 6575 5100 50 0001 C CNN "DNP"
2425
1 6575 5100
2526
1 0 0 -1
2627
$EndComp
@@ -35,6 +36,7 @@ F 3 "https://ww1.microchip.com/downloads/en/DeviceDoc/22029F.pdf" H 8200 5550 50
3536
F 4 "34LC02-I/P" H 8200 5550 50 0001 C CNN "MPN"
3637
F 5 "Microchip" H 8200 5550 50 0001 C CNN "Manufacturer"
3738
F 6 "34LC02-I/P-ND" H 8200 5550 50 0001 C CNN "Digikey"
39+
F 7 "0" H 8200 5550 50 0001 C CNN "DNP"
3840
1 8200 5550
3941
1 0 0 -1
4042
$EndComp
@@ -130,6 +132,7 @@ F 0 "JP1" V 9204 5941 50 0000 L CNN
130132
F 1 "Two-way Jumper" V 9295 5941 50 0000 L CNN
131133
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical" H 9250 5875 50 0001 C CNN
132134
F 3 "~" H 9250 5875 50 0001 C CNN
135+
F 4 "1" H 9250 5875 50 0001 C CNN "DNP"
133136
1 9250 5875
134137
0 1 1 0
135138
$EndComp
@@ -156,6 +159,7 @@ F 4 "10V" H 6000 6975 50 0001 C CNN "Voltage"
156159
F 5 "399-4151-ND" H 6000 6975 50 0001 C CNN "Digikey"
157160
F 6 "C315C104M5U5TA" H 6000 6975 50 0001 C CNN "MPN"
158161
F 7 "KEMET" H 6000 6975 50 0001 C CNN "Manufacturer"
162+
F 8 "0" H 6000 6975 50 0001 C CNN "DNP"
159163
1 6000 6975
160164
1 0 0 -1
161165
$EndComp
@@ -233,6 +237,7 @@ F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/20001952C.pdf" H 4725 3050
233237
F 4 "MCP23S17-E/SP" H 4525 4150 50 0001 C CNN "MPN"
234238
F 5 "Microchip" H 4525 4150 50 0001 C CNN "Manufacturer"
235239
F 6 "MCP23S17-E/SP-ND" H 4525 4150 50 0001 C CNN "Digikey"
240+
F 7 "0" H 4525 4150 50 0001 C CNN "DNP"
236241
1 4525 4150
237242
-1 0 0 1
238243
$EndComp
@@ -294,6 +299,7 @@ F 3 "https://www.aopled.com/AOP_PDFs/L314ED.pdf" H 2375 1300 50 0001 C CNN
294299
F 4 "2460-L314ED-ND" H 2375 1300 50 0001 C CNN "Digikey"
295300
F 5 "L314ED" H 2375 1300 50 0001 C CNN "MPN"
296301
F 6 "American Opto Plus LED" H 2375 1300 50 0001 C CNN "Manufacturer"
302+
F 7 "0" H 2375 1300 50 0001 C CNN "DNP"
297303
1 2375 1300
298304
1 0 0 -1
299305
$EndComp
@@ -344,6 +350,7 @@ F 3 "~" H 2750 1300 50 0001 C CNN
344350
F 4 "CF14JT330RTR-ND" H 2750 1300 50 0001 C CNN "Digikey"
345351
F 5 "CF14JT330R" H 2750 1300 50 0001 C CNN "MPN"
346352
F 6 "Stackpole Electronics Inc" H 2750 1300 50 0001 C CNN "Manufacturer"
353+
F 7 "0" H 2750 1300 50 0001 C CNN "DNP"
347354
1 2750 1300
348355
0 1 1 0
349356
$EndComp
@@ -394,6 +401,7 @@ F 3 "~" H 2750 1600 50 0001 C CNN
394401
F 4 "CF14JT330RTR-ND" H 2750 1600 50 0001 C CNN "Digikey"
395402
F 5 "CF14JT330R" H 2750 1600 50 0001 C CNN "MPN"
396403
F 6 "Stackpole Electronics Inc" H 2750 1600 50 0001 C CNN "Manufacturer"
404+
F 7 "0" H 2750 1600 50 0001 C CNN "DNP"
397405
1 2750 1600
398406
0 1 1 0
399407
$EndComp
@@ -408,6 +416,7 @@ F 3 "~" H 2750 1900 50 0001 C CNN
408416
F 4 "CF14JT330RTR-ND" H 2750 1900 50 0001 C CNN "Digikey"
409417
F 5 "CF14JT330R" H 2750 1900 50 0001 C CNN "MPN"
410418
F 6 "Stackpole Electronics Inc" H 2750 1900 50 0001 C CNN "Manufacturer"
419+
F 7 "0" H 2750 1900 50 0001 C CNN "DNP"
411420
1 2750 1900
412421
0 1 1 0
413422
$EndComp
@@ -422,6 +431,7 @@ F 3 "~" H 2750 2200 50 0001 C CNN
422431
F 4 "CF14JT330RTR-ND" H 2750 2200 50 0001 C CNN "Digikey"
423432
F 5 "CF14JT330R" H 2750 2200 50 0001 C CNN "MPN"
424433
F 6 "Stackpole Electronics Inc" H 2750 2200 50 0001 C CNN "Manufacturer"
434+
F 7 "0" H 2750 2200 50 0001 C CNN "DNP"
425435
1 2750 2200
426436
0 1 1 0
427437
$EndComp
@@ -436,6 +446,7 @@ F 3 "~" H 2750 2500 50 0001 C CNN
436446
F 4 "CF14JT330RTR-ND" H 2750 2500 50 0001 C CNN "Digikey"
437447
F 5 "CF14JT330R" H 2750 2500 50 0001 C CNN "MPN"
438448
F 6 "Stackpole Electronics Inc" H 2750 2500 50 0001 C CNN "Manufacturer"
449+
F 7 "0" H 2750 2500 50 0001 C CNN "DNP"
439450
1 2750 2500
440451
0 1 1 0
441452
$EndComp
@@ -450,6 +461,7 @@ F 3 "~" H 2750 2800 50 0001 C CNN
450461
F 4 "CF14JT330RTR-ND" H 2750 2800 50 0001 C CNN "Digikey"
451462
F 5 "CF14JT330R" H 2750 2800 50 0001 C CNN "MPN"
452463
F 6 "Stackpole Electronics Inc" H 2750 2800 50 0001 C CNN "Manufacturer"
464+
F 7 "0" H 2750 2800 50 0001 C CNN "DNP"
453465
1 2750 2800
454466
0 1 1 0
455467
$EndComp
@@ -464,6 +476,7 @@ F 3 "~" H 2750 3100 50 0001 C CNN
464476
F 4 "CF14JT330RTR-ND" H 2750 3100 50 0001 C CNN "Digikey"
465477
F 5 "CF14JT330R" H 2750 3100 50 0001 C CNN "MPN"
466478
F 6 "Stackpole Electronics Inc" H 2750 3100 50 0001 C CNN "Manufacturer"
479+
F 7 "0" H 2750 3100 50 0001 C CNN "DNP"
467480
1 2750 3100
468481
0 1 1 0
469482
$EndComp
@@ -478,6 +491,7 @@ F 3 "~" H 2750 3400 50 0001 C CNN
478491
F 4 "CF14JT330RTR-ND" H 2750 3400 50 0001 C CNN "Digikey"
479492
F 5 "CF14JT330R" H 2750 3400 50 0001 C CNN "MPN"
480493
F 6 "Stackpole Electronics Inc" H 2750 3400 50 0001 C CNN "Manufacturer"
494+
F 7 "0" H 2750 3400 50 0001 C CNN "DNP"
481495
1 2750 3400
482496
0 1 1 0
483497
$EndComp
@@ -492,6 +506,7 @@ F 3 "https://www.aopled.com/AOP_PDFs/L314ED.pdf" H 2375 1600 50 0001 C CNN
492506
F 4 "2460-L314ED-ND" H 2375 1600 50 0001 C CNN "Digikey"
493507
F 5 "L314ED" H 2375 1600 50 0001 C CNN "MPN"
494508
F 6 "American Opto Plus LED" H 2375 1600 50 0001 C CNN "Manufacturer"
509+
F 7 "0" H 2375 1600 50 0001 C CNN "DNP"
495510
1 2375 1600
496511
1 0 0 -1
497512
$EndComp
@@ -506,6 +521,7 @@ F 3 "https://www.aopled.com/AOP_PDFs/L314ED.pdf" H 2375 1900 50 0001 C CNN
506521
F 4 "2460-L314ED-ND" H 2375 1900 50 0001 C CNN "Digikey"
507522
F 5 "L314ED" H 2375 1900 50 0001 C CNN "MPN"
508523
F 6 "American Opto Plus LED" H 2375 1900 50 0001 C CNN "Manufacturer"
524+
F 7 "0" H 2375 1900 50 0001 C CNN "DNP"
509525
1 2375 1900
510526
1 0 0 -1
511527
$EndComp
@@ -520,6 +536,7 @@ F 3 "https://www.aopled.com/AOP_PDFs/L314ED.pdf" H 2375 2200 50 0001 C CNN
520536
F 4 "2460-L314ED-ND" H 2375 2200 50 0001 C CNN "Digikey"
521537
F 5 "L314ED" H 2375 2200 50 0001 C CNN "MPN"
522538
F 6 "American Opto Plus LED" H 2375 2200 50 0001 C CNN "Manufacturer"
539+
F 7 "0" H 2375 2200 50 0001 C CNN "DNP"
523540
1 2375 2200
524541
1 0 0 -1
525542
$EndComp
@@ -534,6 +551,7 @@ F 3 "https://www.aopled.com/AOP_PDFs/L314ED.pdf" H 2375 2500 50 0001 C CNN
534551
F 4 "2460-L314ED-ND" H 2375 2500 50 0001 C CNN "Digikey"
535552
F 5 "L314ED" H 2375 2500 50 0001 C CNN "MPN"
536553
F 6 "American Opto Plus LED" H 2375 2500 50 0001 C CNN "Manufacturer"
554+
F 7 "0" H 2375 2500 50 0001 C CNN "DNP"
537555
1 2375 2500
538556
1 0 0 -1
539557
$EndComp
@@ -548,6 +566,7 @@ F 3 "https://www.aopled.com/AOP_PDFs/L314ED.pdf" H 2375 2800 50 0001 C CNN
548566
F 4 "2460-L314ED-ND" H 2375 2800 50 0001 C CNN "Digikey"
549567
F 5 "L314ED" H 2375 2800 50 0001 C CNN "MPN"
550568
F 6 "American Opto Plus LED" H 2375 2800 50 0001 C CNN "Manufacturer"
569+
F 7 "0" H 2375 2800 50 0001 C CNN "DNP"
551570
1 2375 2800
552571
1 0 0 -1
553572
$EndComp
@@ -562,6 +581,7 @@ F 3 "https://www.aopled.com/AOP_PDFs/L314ED.pdf" H 2375 3100 50 0001 C CNN
562581
F 4 "2460-L314ED-ND" H 2375 3100 50 0001 C CNN "Digikey"
563582
F 5 "L314ED" H 2375 3100 50 0001 C CNN "MPN"
564583
F 6 "American Opto Plus LED" H 2375 3100 50 0001 C CNN "Manufacturer"
584+
F 7 "0" H 2375 3100 50 0001 C CNN "DNP"
565585
1 2375 3100
566586
1 0 0 -1
567587
$EndComp
@@ -576,6 +596,7 @@ F 3 "https://www.aopled.com/AOP_PDFs/L314ED.pdf" H 2375 3400 50 0001 C CNN
576596
F 4 "2460-L314ED-ND" H 2375 3400 50 0001 C CNN "Digikey"
577597
F 5 "L314ED" H 2375 3400 50 0001 C CNN "MPN"
578598
F 6 "American Opto Plus LED" H 2375 3400 50 0001 C CNN "Manufacturer"
599+
F 7 "0" H 2375 3400 50 0001 C CNN "DNP"
579600
1 2375 3400
580601
1 0 0 -1
581602
$EndComp
@@ -633,6 +654,7 @@ F 4 "10V" H 6500 6975 50 0001 C CNN "Voltage"
633654
F 5 "399-4151-ND" H 6500 6975 50 0001 C CNN "Digikey"
634655
F 6 "C315C104M5U5TA" H 6500 6975 50 0001 C CNN "MPN"
635656
F 7 "KEMET" H 6500 6975 50 0001 C CNN "Manufacturer"
657+
F 8 "0" H 6500 6975 50 0001 C CNN "DNP"
636658
1 6500 6975
637659
1 0 0 -1
638660
$EndComp
@@ -674,6 +696,7 @@ F 4 "16V" H 5500 6975 50 0001 C CNN "Voltage"
674696
F 5 "399-4151-ND" H 5500 6975 50 0001 C CNN "Digikey"
675697
F 6 "C315C104M5U5TA" H 5500 6975 50 0001 C CNN "MPN"
676698
F 7 "KEMET" H 5500 6975 50 0001 C CNN "Manufacturer"
699+
F 8 "0" H 5500 6975 50 0001 C CNN "DNP"
677700
1 5500 6975
678701
1 0 0 -1
679702
$EndComp
@@ -714,6 +737,7 @@ F 3 "https://www.cuidevices.com/product/resource/digikeypdf/ds01-254.pdf" H 2500
714737
F 4 "2223-DS01C-254-L-08BE-ND" H 2500 4650 50 0001 C CNN "Digikey"
715738
F 5 "DS01C-254-L-08BE" H 2500 4650 50 0001 C CNN "MPN"
716739
F 6 "CUI Devices" H 2500 4650 50 0001 C CNN "Manufacturer"
740+
F 7 "0" H 2500 4650 50 0001 C CNN "DNP"
717741
1 2500 4650
718742
1 0 0 -1
719743
$EndComp
@@ -807,6 +831,7 @@ F 3 "~" H 9250 5400 50 0001 C CNN
807831
F 4 "CF14JT10K0TR-ND" H 9250 5400 50 0001 C CNN "Digikey"
808832
F 5 "CF14JT10K0" H 9250 5400 50 0001 C CNN "MPN"
809833
F 6 "Stackpole Electronics Inc" H 9250 5400 50 0001 C CNN "Manufacturer"
834+
F 7 "0" H 9250 5400 50 0001 C CNN "DNP"
810835
1 9250 5400
811836
-1 0 0 1
812837
$EndComp
@@ -843,12 +868,13 @@ L Device:R_Network08 RN1
843868
U 1 1 61246621
844869
P 3225 5325
845870
F 0 "RN1" H 3050 5600 50 0000 L CNN
846-
F 1 "10k x 8" H 3050 5525 50 0000 L CNN
871+
F 1 "10k" H 3050 5525 50 0000 L CNN
847872
F 2 "Resistor_THT:R_Array_SIP9" V 3700 5325 50 0001 C CNN
848873
F 3 "http://www.vishay.com/docs/31509/csc.pdf" H 3225 5325 50 0001 C CNN
849874
F 4 "Bourns Inc." H 3225 5325 50 0001 C CNN "Manufacturer"
850875
F 5 "4609X-101-103LF" H 3225 5325 50 0001 C CNN "MPN"
851876
F 6 "4609X-101-103LF-ND" H 3225 5325 50 0001 C CNN "Digikey"
877+
F 7 "0" H 3225 5325 50 0001 C CNN "DNP"
852878
1 3225 5325
853879
-1 0 0 1
854880
$EndComp

0 commit comments

Comments
 (0)