summaryrefslogtreecommitdiffstats
path: root/config.kibot.yaml
blob: f93c83dc94f1994242909b251c2e2dc11d55da3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
kibot:
  version: 1

preflight:
  check_zone_fills: true
  run_drc: false
  run_erc: false

  set_text_variables:
    - name: 'VCS_DATE'
      command: 'git log -1 --format="%as"'

    - name: 'VCS_REV'
      command: 'git rev-parse --short HEAD'

    - name: 'VCS_TAG'
      command: 'git describe --tags --exact-match HEAD || echo "r?"'

global:
  dir: 'dist/%d_0x33.board_%r'
  output: '%i.%x'
  solder_mask_color: 'black'
  silk_screen_color: 'white'

filters:
  - name: 'exclude_virtual'
    type: 'generic'
    exclude_any:
      - column: Footprint
        regex: 'Jumper'
      - column: Value
        regex: '^PMOD/GPIO$'
      - column: Value
        regex: 'Outline'

outputs:
  - type: 'ibom'
    name: 'ibom'
    options:
      layer_view: 'B'
      dnf_filter: exclude_virtual

  - type: 'bom'
    name: 'bom'
    options:
      exclude_filter: exclude_virtual

  - type: 'position'
    name: 'pnp'
    options:
      output: 'placement.%x'
      separate_files_for_front_and_back: false

  - type: 'pcbdraw'
    name: 'pcb_front'
    options:
      output: 'board_front.%x'
  - type: 'pcbdraw'
    name: 'pcb_back'
    options:
      output: 'board_back.%x'
      bottom: true

  - type: 'svg_sch_print'
    name: 'schematic'