avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avrdude-dev] About multiple signatures patch


From: Tomaž Šolc
Subject: Re: [avrdude-dev] About multiple signatures patch
Date: Wed, 09 Nov 2011 09:52:17 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20111004 Icedove/3.0.11

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08. 11. 2011 08:13, Joerg Wunsch wrote:
>> If you would be willing
>> to accept a patch implementing that, I am prepared to work on it.
>
> That would be great!  Implementing that (and then compacting
> avrdude.conf) was basically what I thought would be my next job, as
> time permits.  I'd really like to have this feature aboard in the next
> AVRDUDE release, as it allows to add a number of outstanding devices
> very easily.

I'm glad I can help.

I've looked into it and it seems that it would be quite simple to
implement as long as you add the constraint that the "parent" definition
must come before any other under the "part" section (that allows you to
simply duplicate the parent's struct and overwrite things as you go)

So I'm thinking about syntax like this:

part parent "m328"
    id                 = "m328p";
    desc               = "ATMEGA328P";
    signature          = 0x1e 0x95 0x0F;

I've hacked together a patch that implements this, but it needs some
more testing.

What do you think?

Best regards
Tomaž
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk66P0EACgkQsAlAlRhL9q8YMACcCDAIh1E8StmUxq9O8XqVz0wF
Pt8AoKJGkeUZT1TyfduP82xshlFuOtFC
=Z/gA
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]