X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Mailer: exmh version 2.7.2 01/07/2005 (debian 1:2.7.2-18) with nmh-1.3 X-Exmh-Isig-CompType: repl X-Exmh-Isig-Folder: inbox To: geda-user AT delorie DOT com Subject: Re: [geda-user] Should uCtlr symbols have mutable attributes reflecting pinmux? Discuss. In-reply-to: <51E5B2AD.1020402@sonic.net> References: <51E5B2AD DOT 1020402 AT sonic DOT net> Comments: In-reply-to Dave Curtis message dated "Tue, 16 Jul 2013 13:53:01 -0700." Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Message-Id: <20130920144255.928688043C48@turkos.aspodata.se> Date: Fri, 20 Sep 2013 16:42:54 +0200 (CEST) From: karl AT aspodata DOT se (Karl Hammar) X-Virus-Scanned: ClamAV using ClamSMTP Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Dave Curtis, 16 Jul: > Modern microcontrollers typically have several functions that can be > brought out to each pin, under control of some pin routing registers. > Typically, I've used a pinlabel such as: > > pinlabel=PD5 (PCINT21/OC0B/T1) > > which shows the canonical GPIO name, plus other possible functions in > parens afterwards. > > A few days ago I was showing a friend (a KiCAD user) the output from the > symbol generator that I am working on, and he asked if there was a way > to make the pinlabel reflect the actual pin function as deployed in the > application, and lose all the other stuff. ... If you are writing a symbol generator, wouldn't the simplest solution be to make a new symbol. I'm doing something similar with my pintosym.pl script. See http://turkos.aspodata.se/git/openhw/pdftosym/examples.pintosym/ for examples. Regards, /Karl Hammar ----------------------------------------------------------------------- Aspö Data Lilla Aspö 148 S-742 94 Östhammar Sweden +46 173 140 57