avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] Re: Avrdude GUI and Avr Studio Plugin


From: Joerg Wunsch
Subject: Re: [avrdude-dev] Re: Avrdude GUI and Avr Studio Plugin
Date: Tue, 11 May 2010 20:30:05 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

As Weddington, Eric wrote:

> > TinyXML++ at a glance looks like it might do the trick.
> 
> That's good to know. :-) Thanks for the recommendation.

Alas, it looks like it's C++ (only).  That would mean to convert
AVRDUDE into C++.  Not a bad thing as such (it would allow to
implement a lot of things much cleaner), but another truckload of
work.

> > As to 
> > converting to XML (the actual avrdude.conf and the 
> > read_conf() is all; right?), that shouldn't be hard at all.
> 
> Totally agreed.

The key point is to define a good, usable, and extensible structure,
i.e. an XSD schema the XML file(s) can be validated against.  It's
correct that the AVRDUDE application "in the field" does not have to
validate the XML file, but during the development, an XML schema
should be there the file can be validated against.  If we continue
allocating entries "ad hoc" (i.e. the way it has been done in
avrdude.conf's grammar), after only a short period of time, we'll end
up combining the mess of the current avrdude.conf with the bloat of
XML.  It's not there were no examples of that kind of mess, and we
don't have to walk very far away to see them...

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



reply via email to

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