|
From: | Rene Liebscher |
Subject: | [avrdude-dev] [bug #34302] Feature request : device configuration with parent classes |
Date: | Wed, 21 Dec 2011 12:33:08 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.63 Safari/535.7 |
Follow-up Comment #2, bug #34302 (project avrdude): The patch needs also an avr_dup_opcode() function to duplicate the op-array (OPCODE * op[AVR_OP_MAX]; /* opcodes */) in AVRPART and AVRMEM structures. If you just copy the array without to duplicate the entries you get a problem when someone defines an op code for the new part different than its parent. BTW: An avr_part_free function would be nice in case anyone uses libavrdude and reads (several) times a config file and wants later to free all the stuff that was created at reading the config file. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?34302> _______________________________________________ Nachricht geschickt von/durch Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |