Skip to content

Commit 341dd27

Browse files
authored
More zone tweaking (#9)
* Tweaking here and there. Also updated the date fields. * Generate gerbers in the pipeline. * Kitbot config changes. Add rev to schematic. Remove two useless PDFs.
1 parent 84ea550 commit 341dd27

File tree

12 files changed

+13975
-15710
lines changed

12 files changed

+13975
-15710
lines changed

.github/workflows/kicad-release.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,15 @@ jobs:
3636
release_name: Release ${{ github.ref }}
3737
draft: false
3838
prerelease: false
39-
- name: Build zip file
39+
- name: Build gerbers zip file
4040
run: |
41-
zip -r --junk-paths neotron-pico-release.zip docs/
42-
- name: Upload Release
43-
id: upload-release-asset
44-
uses: actions/upload-release-asset@v1
45-
env:
46-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
zip -r --junk-paths neotron-pico-gerbers-${{ github.ref }}.zip gerbers/
42+
- name: Release
43+
uses: softprops/action-gh-release@v1
4744
with:
48-
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing its ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
49-
asset_path: ./neotron-pico-release.zip
50-
asset_name: neotron-pico-release.zip
51-
asset_content_type: application/zip
45+
files: |
46+
neotron-pico-gerbers*.zip
47+
pdfs/*.pdf
48+
ibom/*.html
49+
env:
50+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Kicad/audio.sch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ $Descr A4 11693 8268
55
encoding utf-8
66
Sheet 2 11
77
Title "Neotron Common Hardware - Audio CODEC"
8-
Date "2021-04-17"
8+
Date "2021-06-03"
99
Rev "[Uncontrolled]"
1010
Comp "https://neotron-compute.github.io/"
1111
Comment1 "Licenced as CC BY-SA"

Kicad/bmc.sch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ $Descr A4 11693 8268
55
encoding utf-8
66
Sheet 11 11
77
Title "Neotron Common Hardware - Board M'gmt Controller"
8-
Date "2021-04-17"
8+
Date "2021-06-03"
99
Rev "[Uncontrolled]"
1010
Comp "https://neotron-compute.github.io/"
1111
Comment1 "Licenced as CC BY-SA"

Kicad/dac4.sch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ $Descr A4 11693 8268
55
encoding utf-8
66
Sheet 14 11
77
Title "Neotron Common Hardware - 4-bit DAC"
8-
Date "2021-04-17"
8+
Date "2021-06-03"
99
Rev "[Uncontrolled]"
1010
Comp "https://neotron-compute.github.io/"
1111
Comment1 "Licenced as CC BY-SA"

Kicad/docs.yml

Lines changed: 58 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,38 +3,73 @@ kibot:
33

44
preflight:
55
run_erc: true
6-
run_drc: false
6+
run_drc: true
77
check_zone_fills: true
88
ignore_unconnected: false
9+
update_xml: true
910

1011
outputs:
1112
# For more information: https://github.com/INTI-CMNB/KiBoM
1213
- name: 'print schema'
1314
comment: "Print schematic (PDF)"
1415
type: pdf_sch_print
15-
dir: docs
16-
17-
- name: 'print board mechanics'
18-
comment: "Print board (PDF)"
19-
type: pdf_pcb_print
20-
layers:
21-
- Dwgs.User
22-
- Edge.Cuts
23-
- F.CrtYd
24-
dir: docs
16+
dir: pdfs
2517
options:
26-
drill_marks: full #[string='full'] what to use to indicate the drill places, can be none, small or full (for real scale).
27-
output: '%f-mechanic.%x' #[string='%f-%i%v.%x'] filename for the output PDF (%i=layers, %x=pdf). Affected by global options.
28-
plot_sheet_reference: true # [boolean=true] include the title-block.
29-
30-
- name: 'print board documentation'
31-
comment: "Print board (PDF)"
32-
type: pdf_pcb_print
18+
output: '%f-schematic-%r.%x'
19+
plot_sheet_reference: true
20+
21+
- name: 'generate gerbers'
22+
comment: "Generate gerber files"
23+
type: gerber
3324
layers:
25+
- F.Cu
26+
- In1.Cu
27+
- In2.Cu
28+
- B.Cu
3429
- Edge.Cuts
35-
- Cmts.User
36-
- F.Fab
37-
dir: docs
30+
- F.SilkS
31+
- F.Paste
32+
- F.Mask
33+
- B.SilkS
34+
- B.Paste
35+
- B.Mask
36+
dir: gerbers
3837
options:
39-
output: '%f-documentation.%x' #[string='%f-%i%v.%x'] filename for the output PDF (%i=layers, %x=pdf). Affected by global options.
40-
plot_sheet_reference: true # [boolean=true] include the title-block.
38+
# generic layer options
39+
exclude_edge_layer: false
40+
exclude_pads_from_silkscreen: false
41+
plot_sheet_reference: false
42+
plot_footprint_refs: true
43+
plot_footprint_values: true
44+
force_plot_invisible_refs_vals: false
45+
tent_vias: true
46+
line_width: 0.15
47+
48+
# gerber options
49+
use_aux_axis_as_origin: false
50+
subtract_mask_from_silk: true
51+
use_protel_extensions: false
52+
gerber_precision: 4.5
53+
create_gerber_job_file: true
54+
use_gerber_x2_attributes: true
55+
use_gerber_net_attributes: false
56+
57+
- name: 'generate drills'
58+
comment: "Generate drill files"
59+
type: excellon
60+
dir: gerbers
61+
62+
- name: 'generate position'
63+
comment: "Generate XY position files"
64+
type: position
65+
dir: gerbers
66+
67+
- name: 'generate BoM in CSV'
68+
comment: "Generate bill-of-material files"
69+
type: kibom
70+
dir: gerbers
71+
72+
- name: 'generate BoM in HTML'
73+
comment: "Generate assembly HTML page"
74+
type: ibom
75+
dir: ibom

Kicad/io_exp.sch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ $Descr A4 11693 8268
55
encoding utf-8
66
Sheet 10 11
77
Title ""
8-
Date "2021-04-17"
8+
Date "2021-06-03"
99
Rev "[Uncontrolled]"
1010
Comp ""
1111
Comment1 ""
12-
Comment2 ""
12+
Comment2 "Copyright (c) The Neotron Developers, 2021"
1313
Comment3 ""
1414
Comment4 ""
1515
$EndDescr

0 commit comments

Comments
 (0)