name: blue-pill
description: STM32F103C8T6-based development board
datasheet: https://wiki.cuvoodoo.info/doku.php?id=stm32f1xx#blue_pill
keywords: IC, MCU, Micro-Controller, STM32, STM32F1, STM32F103, Development Board

pinout:
  PORTA:
    PA0-12: 25-32, 5-9
    PA15: 10
  PORTB:
    PB0-1: 33-34
    PB3-15: 11-17, 35-36, 1-4
  PORTC:
    PC13-15: 22-24
  CTRL:
    ~NRST: 37
  GND: 19, 39, 40
  POWER:
    3V3: 20, 38
    5V: 18
    VB: 21

properties:
  in: ~NRST
  bidir: PA0-15, PB0-15, PC13-15
  power: 3V3, 5V, VB
  ground: GND
  inverted: ~NRST

schematic:
  symbol: IC
  left: PORTA, PORTC
  right: PORTB, CTRL
  top: POWER
  bottom: GND

housing:
  pattern: DIP
  bodyWidth: 22.5
  bodyLength: 53
  height: 12.7
  pitch: 2.54
  leadWidth: 0.64
  leadLength: 0.64
  leadHeight: 0.5 # should be 6 but the generated pattern would be too large (no idea why)
  leadCount: 40
  holeDiameter: 1.0
  leadSpan: 15
  horizontalPitch: 15
  verticalPitch: 2.54
  rowCount: 20
  columnCount: 2
