1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-16 21:32:27 +02:00
Commit Graph

91 Commits

Author SHA1 Message Date
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
Werner Almesberger
a1d1182691 schhist/gitsch2ps: removed redundant quotes in assignments. 2010-10-13 04:49:16 -03:00
Werner Almesberger
e7f84454e2 Removed relative date in commit entries.
- schhist/schhist2web: the relative date is relative to the time
  schhist2web was run, not the time the page is displayed, which is
  incorrect. Removed it. (Reported by Wolfgang Spraul)
2010-10-12 05:50:47 -03:00
Werner Almesberger
9816847760 Make schhist try harder to do seamless in-place updates.
- schhist/schhist2web: create index.html in a temporary file and rename it
  to index.html only at the end. This way, in-place updates work most of
  the time.
2010-10-06 07:28:01 -03:00
Werner Almesberger
479fff14c9 Allow setting of _schhist2web, to allow for parallel runs.
- schhist/schhist2web: cache="$2" doesn't need quoting
- schhist/schhist2web: "tmp" remains constant throughout the run, so assign
  it at the beginning
- schhist/schhist2web: option -T tmp-dir to set "tmp" to a user-defined
  location
2010-10-06 03:55:51 -03:00
Werner Almesberger
f68e5a58b6 Option -D to keep temporary work trees for analysis/debugging.
- schhist/gitsch2ps: option -D to give _gitsch2ps a unique name, to copy
  the Postscript files instead of moving them, and to refrain from deleting
  _gitsch2ps
- schhist/schhist2web: option -D to refrain from deleting _gitsch2ps and
  to pass -D to gitsch2ps
2010-10-06 03:35:46 -03:00
Werner Almesberger
4d28daf6a0 Environment variable SCHHIST_ADDLIBS to force libraries to be present.
- schhist/sanitize-profile: ensure that the libraries listed in
  SCHHIST_ADDLIBS are present in the profile
- schhist/Makefile (board-qi-avt2): use SCHHIST_ADDLIBS to add the "device"
  library
2010-10-04 03:04:35 -03:00
Werner Almesberger
7b1d3fd4d2 gitsch2ps now by default removes cache.lib (option -c keeps it)
- schhist/gitsch2ps: added option -c to keep cache.lib
- schhist/gitsch2ps: remove cache.lib unless -c is set
- schhist/gitsch2ps: added missing space in warning when the profile is
  missing
2010-10-04 02:01:22 -03:00
Werner Almesberger
8be9fe13e2 Added mmone-jtag-serial-cable.
- schhist/Makefile (PHONY, mmone-jtag-serial-cable): added generation of
  mmone-jtag-serial-cable
2010-10-04 01:30:34 -03:00
Werner Almesberger
02bb696704 Make schhist more forgiving if profile or top-level sheet is missing.
- schhist/gitsch2ps: issue a (fatal) error only if .pro and .sch are missing
- schhist/gitsch2ps: exit with success if only one of .pro and .sch is
  missing
- schhist/schhist2web: skip commits for which no Postscript was generated
2010-10-04 00:28:28 -03:00
Werner Almesberger
781c92d2d5 Added AVT2 to the Makefile and the demo index.
- schhist/Makefile (PHONY, board-qi-avt2, board-qi-avt2-upload): added
  board-qi-avt2 (avt2)
- schhist/demo-index.html: added avt2
2010-10-03 23:31:35 -03:00
Werner Almesberger
4c81717cca Corrected the renumbering warning in sanitize-profile.
- schhist/sanitize-profile: used a non-existing variable and thus didn't
  print the expected entry when renumbering
- schhist/sanitize-profile: the message when renumbering had no newline
2010-10-03 22:15:43 -03:00
Werner Almesberger
c247df9701 Moved dsv over from ben-wpan (now in eda-tools/dsv/dsv) 2010-10-03 21:54:57 -03:00
Werner Almesberger
2cfc6ef0c0 schhist/Makefile: added sie-v2 2010-10-03 21:53:52 -03:00
Werner Almesberger
d4405e4386 sanitize-profile accidently ignored LibDir, causing many incorrect "corrections"
- schhist/sanitize-profile: $1 vs. $2 typo when processing LibDir
2010-10-01 08:12:18 -03:00
Werner Almesberger
75a4ea8869 New script sanitize-schem to remove subsheets for which no file can be found.
- schhist/sanitize-schem: remove inaccssible schematics sub-sheets
- schhist/gitsch2ps (usage, "main"): -S runs sanitize-schem in addition to
  sanitize-profile
- schhist/schhist2web (usage): -S now also sanitizes the top-level sheet
2010-10-01 07:50:47 -03:00
Werner Almesberger
b94f1b27a4 Fixed use of argument of -c.
- schhist/schhist2web: use $2 as argument of -c not the -c itself in $1
  (reported by Wolfgang Spraul)
2010-10-01 05:56:28 -03:00
Werner Almesberger
31fe9c654b Added project sie-ceimtun. Plus some cleanup.
- schhist/Makefile (PHONY, all, update, sie-ceimtun-schhist,
  sie-ceimtun-schhist-upload), schhist/demo-index.html:  added project
  sie-ceimtun
- schhist/Makefile (all): also mention targets "update" and "upload-index"
- schhist/Makefile (atusd-schhist): SCHHIST_TITLE wasn't used
- schhist/demo-index.html: didn't like the <P>, changed it to <BR>
2010-09-25 05:27:50 -03:00
Werner Almesberger
bd26493b98 Demo histories on http://downloads.qi-hardware.com/people/werner/schhist/
- schhist/Makefile (DEST): changed upload location from www.almesberger.net
  to downloads.qi-hardware.com
- schhist/Makefile (atusb-schhist-upload, xue-schhist-upload,
  cntr-schhist-upload, atusd-schhist-upload): changed directory name from
  demo* to the KiCad project name
- schhist/Makefile (update): pull the latest Xue, then regenerate and upload
  all schematics (atusb, xue, cntr, and atusd)
- schhist/demo-index.html: index page for schematics histories demos
- schhist/Makefile (upload-index): upload the demo index.html
- schhist/Makefile (PHONY): removed the obsolete ben-wpan-* entries and
  replaced them with atusb-*
2010-09-22 10:40:26 -03:00
Werner Almesberger
4780b8b33b schhist2web: users can now specify how names are ordered.
- schhist/schhist2web: sort names in the order specified by the environment
  variable SCHHIST_ORDER (colon-separated list of names)
- schhist/Makefile (atusb-schhist): order sheets
2010-09-22 10:14:38 -03:00
Werner Almesberger
16001d32a7 schhist2web can now identify sub-sheets by file name (also across renames).
- schhist/schhist2web: strip the top-level sheet name prefix from sub-sheet
  names
- schhist/schhist2web: option -f to identify sub-sheets by their file name
  instead of the sheet name
- schhist/schhist2web: keep the name of the top-level sheet constant across
  renames
- schhist/schhist2web: if using -f, try to keep the name of the sub-sheets
  constant across renames
2010-09-22 09:36:00 -03:00
Werner Almesberger
150f9ab4d4 gitsch2ps: added option -k to keep temporary clone of repository
- schhist/gitsch2ps: new option -k to keep the cloned repository and print
  the path name of the temporary directory on standard output
- schhist/gitsch2ps: invoked "git clone" with -q to suppress progress
  output on standard output
2010-09-22 06:57:36 -03:00
Werner Almesberger
553514cc67 schhist/subschname2file: search a subsheet name in the top-level sheet and
print the name of the subsheet file
2010-09-22 06:42:06 -03:00
Werner Almesberger
f0eb8ce77b gitwhoareyounow: determine a file's final name in recorded future
- schhist/gitwhoareyounow: trace a file name in git history across renames
- schhist/README: documentation of tools, starting with gitwhoareyounow
2010-09-22 06:01:32 -03:00
Werner Almesberger
8b5ad4787c Updated Makefile for new location and added ben-wpan/atusd.
- schhist/Makefile (all, ben-wpan-schhist, ben-wpan-schhist-upload): renamed
  to ben-wpan-* to atusb-*
- schhist/Makefile (atusb-schhist, cntr-schhist): added path to ben-wpan
  repository (was auto-located by default before)
- schhist/Makefile (atusb-schhist, atusb-schhist-upload): changed output
  directory from _out to _atusb
- schhist/Makefile (all, atusd-schhist, atusd-schhist-upload): added rules
  for making the schematics history of ben-wpan/atusd
2010-09-07 18:25:55 -03:00
Werner Almesberger
17c6705c28 Initial commit of files moved over from ben-wpan. 2010-09-07 17:03:19 -03:00