Differences
This shows you the differences between two versions of the page.
notes:geda_tips [2012/07/15 09:38] admin created |
notes:geda_tips [2013/02/02 11:20] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== gschem tips ====== | ||
- | ===== Generating BOM from schema ===== | ||
- | * make a text file called 'attribs' listing the attributes you want in the BOM, for example: | ||
- | <code> | ||
- | $ print "device\nfootprint\ncomment" > ./attribs | ||
- | $ cat ./attribs | ||
- | device | ||
- | footprint | ||
- | comment | ||
- | $ | ||
- | </code> | ||
- | No need to explicitly specify 'refdes', it is always added. | ||
- | |||
- | * Let gnetlist create the BOM | ||
- | |||
- | <code> | ||
- | $ gnetlist -g bom -o bom.txt file1.sch [file2.sch file3.sch ...] | ||
- | </code> |