[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] RFC: Database for device properties.?
From: |
Uwe Fechner |
Subject: |
Re: [avr-libc-dev] RFC: Database for device properties.? |
Date: |
Fri, 21 Apr 2006 18:41:18 +0200 |
User-agent: |
Mail/News 1.5 (X11/20060311) |
Björn Haase wrote:
> In this case, however, I'd like to
> suggest to try to find a format that could be edited by some sort of GUI.
>
> Any suggestions would be appreciated.
>
> Bjoern
>
I think, xml is the format of choice.
I made the same suggestion some time ago in the avr-freaks forum.
At that time, I thought it would be a good idea, to evaluate the
xml-database at runtime,
and I was told that this would be too slow.
But a code generator generating C code from an xml file should be the
best solution.
I have wrote some code-generators (xml to C) at work, using Borland Delphi.
For editing xml-files there are many good solutions, e.g. emacs or
oxygen or ...
There is something like xml-forms, too.
One problem is, that we cannot redistribute the xml device definition
file from atmel
without their permission (Jörn asked them for a permission and they said
no.)
Therefore it might be a good idea, to create an own format, that can be
filled from
the atmel xml file (well, to 95%) with a little converter.
If people here agree, that this is a good solution, I could make a
suggestion for an
xml format (dtd).
Regards:
Uwe Fechner