avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] [patch #7603] wiring - programmer type for Wiring boards (


From: Brett Hagman
Subject: [avrdude-dev] [patch #7603] wiring - programmer type for Wiring boards (based on STK500v2)
Date: Thu, 25 Aug 2011 04:19:20 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0

Follow-up Comment #1, patch #7603 (project avrdude):

Odd.  Because the new programmer type "inherits" from stk500v2, there is no
place to store private data - that is, the cookie is dedicated to stk500v2
(because I can't access the data structure outside of stk500v2.c).

So where do you think I can store my parameter data?  I'm REALLY tempted to
use a global :)

I realize that programmer type inheritance wasn't a top concept when this was
built.  I just don't know how to get around this without duplicating a lot of
code, or creating a global or even a static local variable.

Any insight would be fantastic.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?7603>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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