git.s-ol.nu hw/0x33.board/hardware / main config.kibot.yaml
main

Tree @main (Download .tar.gz)

config.kibot.yaml @mainraw · history · blame

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'