[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gEDA-user: magic command for footprint= reverse engineering ;-)
Try one of the three following commands (each is two lines!) to get
a list
( cd `locate common.m4 | sed -e 's/common.m4//g'`; echo dumpdef | \
m4 common.m4 - 2>&1 | less )
( cd /usr/local/share/pcb/m4/; echo dumpdef | \
m4 common.m4 - 2>&1 | less )
( cd /usr/share/pcb/m4/; echo dumpdef | \
m4 common.m4 - 2>&1 | less )
Then in the less program type "/^PKG_" (without the quotes) and press 'n'
repeatedly.
For example if your find PKG_MTA100_9 then you can use
footprint=PKG_MTA100_9
or the often used PKG_R025 means footprint=R025
Macros that use $4, $5 etc. take positional parameters and their usage
in footprint= is with spaces and more parameters:
PKG_J: PKG_DIL(`$1', `$2', `$3', `$4', `$5', 100, 60, 28)
here you write footprint=PKG_J 14 300 and you'll get something meaningful.
Cl<