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

46 Commits

Author SHA1 Message Date
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
d2b53ac1a0 Added README and licensing information to boom. 2010-10-20 07:51:09 -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
Werner Almesberger
20517e107e Moved resistor tolerance decoding to lib/tol.inc
- boom/lib/tol.inc: tolerance codes used for resistors, capacitors, etc.
- boom/lib/captol.inc: capacitor tolerance codes
- boom/manu/panasonic/panasonic.gen, boom/manu/stackpole/stackpole.gen,
  boom/manu/yageo/yageo.gen: use tol.inc instead of duplicating the
  tolerance decoding
2010-10-16 23:31:17 -03:00
Werner Almesberger
57fc0bd84e Improve scalability by splitting the distributor cache. Additional cleanup and
generalizations.

- boom/Makefile, dist/dk/Makefile: the "files with everything" are now
  called dist/db/all.* instead of dist/db/digi-key.*
- boom/manu/panasonic/Makefile, boom/manu/stackpole/Makefile,
  boom/manu/yageo/Makefile: changed digi-key.equ to all.equ
- boom/Makefile: there can now be a list of distributors
- boom/Makefile (tar): new target to generate a snapshot of the database
- boom/Makefile (PHONY): added "spotless"
- boom/dist/dk/Makefile: do not merge catalog listings so that we don't have
  to search a huge cache with O(n^2)
- boom/dist/dk/Makefile (clean, rebuild, update, spotless): targets for
  different degrees of rebuilding
- boom/dist/dk/dk-db.pl: added progress report output
2010-10-16 23:29:51 -03:00
Werner Almesberger
f0519fcb56 Added a warning that things under boom/ don't make much sense yet. 2010-10-16 12:25:53 -03:00
Werner Almesberger
bf0de45040 Added Yageo RC series chip resistors.
- boom/dist/dk/Makefile, boom/dist/dk/yageo-rc.catq: Yageo RC series chip
  resistors
- boom/manu/yageo/Makefile, boom/manu/yageo/yageo.gen: decode RC series
  chip resistors
- boom/Makefile (CHR): added yageo.chr
2010-10-16 12:12:25 -03:00
Werner Almesberger
331094ec8f ds-catq.pl: allow selecting multiple values and added a test mode.
- boom/dist/dk/dk-catq.pl: allow multiple values of a parameter to be
  selected
- boom/dist/dk/dk-catq.pl: new option -t to run in test mode, in which the
  resulting pages are not downloaded but only the URL leading to them is
  printed
2010-10-16 12:10:38 -03:00
Werner Almesberger
58bca0e24e Corrected build rule for .equ files in boom/dist/dk/
- boom/dist/dk/Makefile: use pattern rule for .equ, so that we can have it
  in a different directory than the .catq file
2010-10-16 08:59:51 -03:00
Werner Almesberger
df88430d48 Test query to exercise the big resistor database we now have.
- boom/test.mbq: sample query (a bunch of 0402 resistors)
- boom/test.sub: basic substitution rules
- boom/Makefile: tie it all together
2010-10-16 08:18:51 -03:00
Werner Almesberger
7190706c6e boom/mbq2lst: utility to generate a KiCad-style BOM from a more human-friendly
version.
2010-10-16 08:17:35 -03:00
Werner Almesberger
d4d34d7cb0 stackpole.gen produced only garbage. Fixed it.
- boom/manu/stackpole/stackpole.gen: picked the wrong field for the
  component value
- boom/manu/stackpole/stackpole.gen: trim trailing dot in value
2010-10-16 07:48:18 -03:00
Werner Almesberger
71c15a5844 Fixed typo in panasonic.gen affecting ERJ-P14 parts.
- boom/manu/panasonic/panasonic.gen: typo 1210 footprint is P14, not P12
2010-10-16 07:33:46 -03:00
Werner Almesberger
c1574ce3f6 Catalog listing and enhanced versions of various BOOM items from ben-wpan/bom.
- boom/dist/dk/dk-catq.pl: new - query the Digi-Key catalog for a list of
  items
- boom/dist/dk/dk-db.pl: enhanced - never generate more than 1000 queries
  per wget run (to keep argv from getting too long)
- boom/dist/dk/panasonic-erj.catq, boom/dist/dk/stackpole-rmcf.catq: query
  scripts for dk-catq.pl
- boom/lib/e12.inc: enhanced - added Rxx and Rxxx codes
- boom/manu/panasonic/panasonic.gen: enhanced - added decoding for all ERJ
  series resistors listed at Digi-Key
- boom/manu/stackpole/: (new) part number decoder for RMCF series resistors
2010-10-15 23:58:57 -03:00