A tool for creating pinout diagrams useful when designing PCBs with microcontrollers.
currently supports:
- STM32 - using data files from STM32CubeIDE - https://github.com/LibrePCB/stm-db
supported packages:
- LQFP
- filtering signals using AND/OR logic,
- rotating dies
See Motivation
python pinout-drawer -c config.yaml -o output.png
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]
- STM32CubeIDE