Skip to content

Gullwing generator: tidy ups and add compatible MPN tagging

The primary motivation here is allowing a generically-named generated FP, say, HTSSOP-14-1EP_4.4x5mm_P0.65mm_EP3.4x5mm_Mask3x3.1mm to be able to be tagged with compatible vendor part numbers, such as TI's PWP0014A. This makes it much easier to both search for and then double-check this is indeed the right part when you are making a symbol.

To do this, two new fields are added to the gullwing YAML: additional_tags and compatible_mpns. Both are freeform string lists, and both are appended to the tag field. They are separate so they can be semantically different in the generator YAML - compatible MPNs have a special meaning and could be otherwise handled, and additional tags are free-form for use by generator authors.

The declarative def tool used to do this makes it very easy to add the same functions to other generators.

Then, use this capability to add MPNs to some parts in HTSSOP as a demo. Also remove some redundant custom name formats - the generated name is the same. kicad-footprints!3469 (merged)


Other changes (as separate commits)

  • General formatting clean-up in Gullwing IPC generator
  • Break out a function that will one day be common between different generators
  • Remove a reference to an unused and un-declared YAML field, which would call a non-existant function.
Edited by John Beard

Merge request reports