0hmX/am3352-ddr-track-b-byte0-wip-20261007

Partial full-board preview: 11 of 47 DDR signal nets routed; power and interfaces incomplete. Fabrication and electrical release blocked.

Version
0.0.1
License
unset
Stars
0

part-contract.ts

export interface SupportPart {
  name: string
  kind: string
  value?: string
  mpn?: string | null
  sheet: string
  package?: string
  footprint?: string
  footprintKey?: string
  useImportedFootprint?: boolean
  pinLabels: Record<string, string>
  connections: Record<string, string>
  noConnect: string[]
}

export interface PadContract {
  pin?: string
  type: string
  shape: string
  x: number
  y: number
  width: number
  height: number
  rotation?: number
  drill?: (number | string)[] | null
}

export interface FootprintContract {
  pads: PadContract[]
}

export function isStringEntry(entry: [string, string | undefined]): entry is [string, string] {
  return typeof entry[1] === "string"
}