1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-04 22:58:26 +02:00
Commit Graph

86 Commits

Author SHA1 Message Date
Wolfgang Spraul
dd9db75be1 added pcbnew --fill-all-zones, stricter option semantics 2010-12-28 10:42:06 +00:00
Werner Almesberger
d2da52b215 Patches to enhance KiCad, mainly for non-interactive use
- README: description of the build process
- series: control file for quilt
- eeschema-plot-only-mode.patch, erc-exceptions.patch,
  fix-pinedit-collision.patch, streamline-erc.patch: patches carried over
  from svn.openmoko.org/trunk/gta02-core/kicad-patches/
- eeschema-bom-only-mode.patch: adds support for eeschema --bom mode to
  only create a bom .lst file (by Wolfgang Spraul)
- pcbnew-scripted.patch: adds several command line parameters to pcbnew
  (by Wolfgang Spraul)
2010-12-27 22:59:52 -03:00
Werner Almesberger
ff29948b69 dsv: print usage on "dsv setup" without file name
- dsv/dsv (usage): fixed typo
- dsv/dsv (main): it is now an error if "dsv setup" is invoked without
  file name (suggested by Wolfgang Spraul)
2010-12-13 11:52:24 -03:00
Werner Almesberger
fb1c75cc4d dsv: added DSV_PDFVIEWER as a means to set a PDF viewer different from xpdf
dsv/dsv (search): if the environment variable _DSV_PDFVIEWER is set, use
  the program mentioned there instead of xpdf (suggested by Wolfgang
  Spraul)
2010-12-13 11:46:28 -03:00
Werner Almesberger
4f655930a4 dsv (list): use "ls -b" to avoid confusing "column" with 8 bit characters 2010-11-30 19:37:17 -03:00
Werner Almesberger
f207be6671 dsv (setup): make sure file ends with a newline, so that we can "read" it 2010-11-30 19:27:59 -03:00
Werner Almesberger
be269982f3 dsv: in names, convert / to %2F and % to %25
- dsv (flush): convert / and % in cache file name
- dsv (flush): convert / and % in name and alias file name
- dsv (list): convert %2F and %25 back to / and %
- dsv (search): convert / and %
2010-11-30 19:16:22 -03:00
Werner Almesberger
e928d82b79 dsv (search): quote file name, so that we can also look up names with spaces 2010-11-30 18:56:33 -03:00
Werner Almesberger
92cb58023d dsv: make "dsv setup" accept spaces in names and aliases
- dsv (set_value): store name and alias with double quotes, to protect
  spaces
- dsv (flush): access name and alias via "eval"
2010-11-30 18:52:57 -03:00
Werner Almesberger
3b3c4bf056 dsv: remove unnecessary double quotes in assignments
- dsv: change  foo="$bar"  to  foo=$bar
- dsv: change  foo="`bar`"  to  foo=`bar`  (and variations thereof)
2010-11-30 18:37:31 -03:00
Werner Almesberger
4ae9a0940c The eda-tools welcome the arrival of fpd2pdf
- fpd2pdf/fpd2pdf: footprint pretty-printer
- README: list fpd2pdf
- README: licensing terms may also be just in the file in question, if
  there's only one
2010-11-13 18:50:22 -03:00
Werner Almesberger
a6c65c7dd2 manu/Makefile: run a recursive make on all subdirectories
- boom/boom-config.in: new command "manu" to list the manufacturers
- manu/Makefile: run make for targets "all", "test", "sane", and "spotless"
  on each manufacturer directory
2010-10-30 19:12:29 -03:00
Werner Almesberger
6ba3a5667a boom/Makefile: new target "db" to build or update the database 2010-10-30 19:11:49 -03:00
Werner Almesberger
fa21900b0f boom/manu/Makefile.common: rm -f is enough, no need for -rf 2010-10-24 13:10:00 -03:00
Werner Almesberger
ce1d269f3e boom/dist/dk/Makefile: changed rm -rf to rm -f (reported by Wolfgang Spraul) 2010-10-21 07:41:35 -03:00
Werner Almesberger
8bf21d867a boom/boom-config.in: complain if invoked without argument (reported by Wolfgang
Spraul)
2010-10-21 03:19:53 -03:00
Werner Almesberger
ba891c80b2 Added README with an overview of the sub-projects. 2010-10-20 08:25:28 -03:00
Werner Almesberger
b195195e35 Added README with an overview of the sub-projects. 2010-10-20 08:23:42 -03:00
Werner Almesberger
5e4b41abd9 dsv/dsv: added copyright notice. 2010-10-20 07:56:10 -03:00
Werner Almesberger
d2b53ac1a0 Added README and licensing information to boom. 2010-10-20 07:51:09 -03:00
Werner Almesberger
853ede97aa Added licensing information and a bit more documentation to schhist.
- schhist/README: added introductory text, stubs for all the programs, and
  licensing information
- schhist/COPYING.GPLv2: added for convenience
2010-10-20 07:39:31 -03:00
Werner Almesberger
2744057e98 Avoid leading zeroes in resistance and capacitance values (except 0R)
- boom/lib/e12.inc: several rules produces mal-formed results with leading
  zeroes
- boom/manu/Makefile.common (spotless): added new target to remove
  $(NAME).chr
- boom/manu/Makefile.common (MALFORMED): test for leading zeroes, allowing
  only 0R as an exception
- boom/manu/stackpole/stackpole.gen: catch values < 1 R and convert them
  to mR
2010-10-18 17:23:19 -03:00
Werner Almesberger
9e9eb89f3b Make boom-config complain about usage errors.
- boom/Makefile, boom/boom-config.in: add a warning to boom-config that the
  file is machine-generated
- boom/boom-config.in (usage): complain about unrecognized keywords
2010-10-17 20:15:48 -03:00
Werner Almesberger
41ae009c6a It's now easy to get a list all the files, so we don't need dist/all.* anymore.
- dist/Makefile: removed
- boom/manu/Makefile.common (EQU): use boom-config as well
2010-10-17 20:07:54 -03:00
Werner Almesberger
0a86c10803 Generate script boom-config that lists all the database paths, like pkg-config
- boom/Makefile: generate boom-config
- boom/boom-config.in: template for boom-config script
- boom/Makefile (EQU, INV, DSC, CHR): use boom-config
- boom/test/Makefile (EQU, INV, DSC, CHR): use boom-config
2010-10-17 19:58:59 -03:00
Werner Almesberger
281dda5e09 more 2010-10-17 19:51:18 -03:00
Werner Almesberger
61bfa83475 Separate the test from the boom/ top-level directory.
- boom/test.mbq, boom/test.sub: moved to boom/test/
- boom/Makefile: moved all items related to running the test to
  test/Makefile
2010-10-17 19:44:29 -03:00
Werner Almesberger
6ce7ea1027 For consistency, renamed captol.inc to ctol.inc. Rs now use rtol.inc instead of
tol.inc.

- lib/captol.inc: renamed to ctol.inc, for consistency with rtol.inc
- boom/manu/avx/avx.gen, boom/manu/johanson/johanson.gen,
  boom/manu/murata/murata.gen, boom/manu/tdk/tdk.gen,
  boom/manu/yageo/yageo.gen: use ctol.inc instead of captol.inc
- boom/manu/panasonic/panasonic.gen, boom/manu/stackpole/stackpole.gen,
  boom/manu/yageo/yageo.gen: use rtol.inc insteas of tol.inc
2010-10-17 18:26:46 -03:00
Werner Almesberger
ba9a79ea07 Added Yageo RT series of precision chip resistors.
- boom/dist/dk/yageo-rc.catq: include RT series as well
- boom/lib/rtol.inc: resistor-specific variant of the tolerances
- boom/manu/yageo/yageo.gen: decode RT series as well
2010-10-17 18:19:13 -03:00
Werner Almesberger
03e1fde48c Added Stackpole RNCP series of low TC resistors.
- boom/dist/dk/stackpole-rmcf.catq: include RNCP series as well
- boom/manu/stackpole/stackpole.gen: decode RNCP series
2010-10-17 17:37:05 -03:00
Werner Almesberger
5c6ffda94b Introduce temperature coefficients for resistors.
Note: in most of the specifications, the TC depends on the resistor's value.
Since we don't have a useful way to express this sort of dependency, the
TC values are always the worst lower and upper bound for a given package.

- boom/test.sub (R): recognize #ppm/K as temperature coefficient
- boom/manu/yageo/yageo.gen: convert FP=0100 to canonical FP=01005 and
  then work with that value
- boom/manu/panasonic/panasonic.gen, boom/manu/stackpole/stackpole.gen,
  boom/manu/yageo/yageo.gen: added temperature coefficients
2010-10-17 17:37:05 -03:00
Werner Almesberger
36048db468 Added more detailed part counting.
- boom/count.pl: count characterized parts, with type and manufacturer
  breakdown
- boom/Makefile (count): new target to run count.pl
2010-10-17 16:19:49 -03:00
Werner Almesberger
b5520264c6 boom/mbq2lst: recognize #END comment (as end of file, like in the BOOM parser) 2010-10-17 16:08:51 -03:00
Werner Almesberger
d31ede8bea test.sub now better catches typos and supports more capacitor parameters.
- boom/test.sub (R, C): set R and C by default to "required", so that an
  unparseable value doesn't cause a wildcard search
- boom/test.sub (C): added tolerances
- boom/test.sub (C): added material and special properties (syntax:
  material/property, e.g., NP0/RF)
2010-10-17 15:56:04 -03:00
Werner Almesberger
94de4f9865 Added Johanson RF capacitors.
- boom/dist/dk/johanson-cergp.catq: also select E, L, and S series
- boom/manu/johanson/johanson.gen: classify E, L, and S all as "RF"
2010-10-17 15:41:16 -03:00
Werner Almesberger
f0df994795 Added Johanson general-purpose ceramic SMT capacitors.
- boom/Makefile (MANU): added johanson
- boom/dist/dk/Makefile (MANU), boom/dist/dk/johanson-cergp.catq: added
  Johanson "no series" ceramic capacitors
- manu/johanson/Makefile, manu/johanson/johanson.gen: generate
  characteristics for Johanson capacitors
2010-10-17 15:10:55 -03:00
Werner Almesberger
1f52cc962f dist/dk/Makefile (count): new target to count the number of parts we have 2010-10-17 13:59:08 -03:00
Werner Almesberger
d816e82d1e Added AVX general-purpose ceramic SMT capacitors, "no series"
- dist/dk/Makefile (PARTS), dist/dk/avx-cersmt.catq: added AVX ceramic SMT
  capacitors
- manu/avx/Makefile, manu/avx/avx.gen: generate AVX capacitor
  characteristics
- Makefile (MANU): added AVX
2010-10-17 13:55:44 -03:00
Werner Almesberger
bf2e9f2338 Added sanity check for characteristics and corrected omissions/errors found.
- boom/manu/Makefile.common (sane): new target to check that values are
  well-formed and that all required fields are present
- boom/manu/murata/murata.gen (GRM*): added references to catalog pages
- boom/manu/murata/murata.gen (GRM*): added footprints 1808, 1812, and
  2220
- boom/manu/murata/murata.gen (GRM*): ordered materials alphabetically
- boom/manu/murata/murata.gen (GRM*): added materials Z5UY5V
- boom/manu/murata/murata.gen (GRM*): added voltages 250V, 630V, 1kV, abd
  3.15kV
- boom/manu/panasonic/panasonic.gen (ERJ*): tolerance used the wrong field
- boom/manu/yageo/yageo.gen (CC*): added voltage 500V
2010-10-17 13:15:33 -03:00
Werner Almesberger
fd67bc9f3e Added TDK C series of ceramic SMT capacitors.
- boom/lib/tol.inc: added tolerance "E", 0.5%
- boom/Makefile (MANU): added tdk
- boom/dist/dk/Makefile (PARTS), boom/dist/dk/tdk-c.catq: added the TDK
  C series
- boom/manu/tdk/Makefile, boom/manu/tdk/tdk.gen: added generation of
  TDK C series
2010-10-17 03:08:59 -03:00
Werner Almesberger
db2ecbf620 Makefile (CHR): generate from list of manufacturer names 2010-10-17 01:36:02 -03:00
Werner Almesberger
afda18ab88 Oops, murata-grm.catq wasn't committed 2010-10-17 01:26:13 -03:00
Werner Almesberger
ac7ebdd822 manu/Makefile were highly redundant. Moved their content to a common Makefile.
- boom/manu/Makefile.common: common makefile for all manufacturers
- boom/manu/Makefile.common (test): added coverage test mode (gen2chr -n)
- murata/Makefile, panasonic/Makefile, stackpole/Makefile, yageo/Makefile:
  use Makfile.common
2010-10-17 00:57:22 -03:00
Werner Almesberger
b66b71f560 boom/dist/dk/dk-catq.pl: allow out-of-stock parts 2010-10-17 00:41:09 -03:00
Werner Almesberger
dff11db9e7 Added Murata GRM series of ceramic SMT capacitors.
- boom/Makefile (CHR): added manu/yageo/yageo.chr
- boom/dist/dk/Makefile (PARTS) added yageo-grm
- boom/manu/murata/Makefile, boom/manu/murata/murata.gen: decoding of
  Murata GRM series
2010-10-17 00:32:57 -03:00
Werner Almesberger
9ddc70fedc Yageo CC...R50 weren't recognized.
- boom/lib/e12.inc: added support for leading R to _E12_P scale
- boom/manu/yageo/yageo.gen: allow CC series parts with a value of Rxx
2010-10-17 00:20:25 -03:00
Werner Almesberger
046ae8584e dk-catq.pl: allow selection of top category as well
- boom/dist/dk/dk-catq.pl: category can now include the top-level category
  (syntax: top/sub)
- boom/dist/dk/dk-catq.pl: corrected value printed in "no such value" error
  message
2010-10-17 00:13:21 -03:00
Werner Almesberger
83d4e709af Removed knowledge about distributors from manufacturers and (partially) from
the top-level makefile.

- boom/dist/Makefile: generate all.{equ,inv,dsc} for all distributors in
  dist/
- boom/Makefile (EQU, INV, DSC): use dist/all.* instead of dist/*/db/all.*
- boom/Makefile (tar): also collect $(EQU), $(INV), and $(DSC)
- boom/manu/panasonic/Makefile, boom/manu/stackpole/Makefile,
  boom/manu/yageo/Makefile: include dist/all.equ instead of
  dist/dk/db/all.equ
2010-10-16 23:59:00 -03:00
Werner Almesberger
0b24c43e6a Added Yageo CC series of ceramic SMT capacitors.
- boom/dist/dk/Makefile, boom/dist/dk/yageo-cc.catq: added catalog query
  for Yageo CC series of ceramic chip capacitors
- boom/manu/yageo/yageo.gen: generate characteristics of Yageo CC series
2010-10-16 23:46:11 -03:00
Werner Almesberger
310e8866bc boom/dist/dk/dk-catq.pl: category regexp was mis-designed and it had a typo. 2010-10-16 23:37:32 -03:00