Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 1.12 KB

README.md

File metadata and controls

61 lines (43 loc) · 1.12 KB

pinout-diagram-drawer

A tool for creating pinout diagrams useful when designing PCBs with microcontrollers.

currently supports:

supported packages:

  • LQFP

Features

  • filtering signals using AND/OR logic,
  • rotating dies

Motivation

See Motivation

Usage

python pinout-drawer -c config.yaml -o output.png

Examples

config.yaml

pinout: stm-db/data/STM32F103C8Tx.json
rotate: 0
drawing:
  image_size_w: 700
  image_size_h: 800
  die_size: 6
  die_margin: 20
color: true
filters:
  - or: [SWDIO, SWCLK]
  - and:
      - or: [USART, UART]
      - or: [TX, RX]
  - and: [I2C, {or: [SCL, SDA]}]
  - or: [USB_OTG_FS_DM, USB_OTG_FS_DP]
  - and: [TIM, CH]

Result

Other examples

Alternative software

  • STM32CubeIDE