avr-libc-dev
[Top][All Lists]
Advanced

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

[avr-libc-dev] xml


From: Theodore A. Roth
Subject: [avr-libc-dev] xml
Date: Wed, 23 Jun 2004 00:40:15 -0700 (PDT)

Hi,

I've created a new directory in cvs: xml/

There are 3 files there right now:

  Atmel2libc.py: reads Atmel's device xml files and splits out a reduced
                 fat xml file.

  Validate.py: validates an xml file.

  Device.dtd: The avr-libc device Document Type Definition. Used to
              validate the files spit out my Atmel2libc.py.

The goal is to have enough information in the device xml file to
automagically generate the io header for that device. And farther down
the road, we can use this to generate the io register bit field
structures recently discussed on the avr-gcc list.

I still need to do a few things to the DTD and pull a bit more info out
of atmel's files, but it's pretty close.

The next step is to write a script that reads our xml files (these will
be bootstrapped off the atmel files and then checked into cvs) and spits
out the io headers.

If any one has comments or improvements for the DTD, I'd like to get
this hashed out now, before any xml files are committed.

NOTE to those with commit access: Please don't commit any of the Atmel
xml files to cvs.

---
Ted Roth
PGP Key ID: 0x18F846E9
Jabber ID: address@hidden




reply via email to

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