]> git.gag.com Git - hw/altusmetrum/commit
Switch preferred parts to JSON format
authorKeith Packard <keithp@keithp.com>
Thu, 2 Nov 2023 04:35:45 +0000 (21:35 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 2 Jul 2024 19:34:40 +0000 (12:34 -0700)
commit79a02639facc4091d03216573873e878aa362204
tree3b4617f81f5e2d090b886292d68411fcd5221e1a
parent02ef253e9e924984620d99dfc0bd3f241f9aa508
Switch preferred parts to JSON format

This should make the file a bit easier to add fields to where
necessary and provide some validation during use.

To search the file for a string, use the new 'pgrep' command
in bin:

    $ bin/pgrep SAMD21G17D preferred.json
    {
    "device": "IC",
    "footprint": "vqfn-48",
    "loadstatus": "smt",
    "mfg_part_number": "ATSAMD21G17D-MUT",
    "provided": "yes",
    "value": "SAMD21G17D",
    "vendor": "mouser",
    "vendor_part_number": "556-ATSAMD21G17D-MUT"
    }

Signed-off-by: Keith Packard <keithp@keithp.com>
bin/fillpartslist.5c [new file with mode: 0755]
bin/parts-json [new file with mode: 0755]
bin/pgrep [new file with mode: 0755]
pcb-rnd.mk
pcb.mk
preferred.json [new file with mode: 0644]