X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: [geda-user] Should uCtlr symbols have mutable attributes reflecting pinmux? Discuss. From: Dave Curtis In-Reply-To: <20130920144255.928688043C48@turkos.aspodata.se> Date: Fri, 20 Sep 2013 08:51:41 -0700 Message-Id: References: <51E5B2AD DOT 1020402 AT sonic DOT net> <20130920144255 DOT 928688043C48 AT turkos DOT aspodata DOT se> To: geda-user AT delorie DOT com X-Mailer: Apple Mail (2.1084) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r8KKmU5p015553 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 On Sep 20, 2013, at 7:42 AM, Karl Hammar wrote: > 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. If you go with per-project symbol libraries, perhaps. But also, remember that pin functions can change through the life of a project as you move the pin assignments around to ease routing or software. In the end, I think a reasonable symbol generator needs to support all three methodologies. Tools should support the user's choice in methodology, not impose a methodology. -dave > > 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 > >