Catalog · How the catalog works
importATDF
Generate Pascal style units from AVR ATDF definition files
- ★ 1 on GitHub
Anyone may press Interesting, signed in or not. It helps others find this project.
README
importATDF
Generate Pascal style units from AVR ATDF definition files.
Two options available in main form:
Open file
This will open a single file and convert it into a Pascal unit according to the options as configured in generatepascalunit.pas. The generated code will be displayed in the text memo area.
Parse folder
This will iterate through all files in the selected folder and try to parse each file as an ATDF compatible XML file. The output units will be saved in a sub folder pp. Extra information is collected from the gcc folder (this tool assume the default folder layout of the atpack archive) to determine the Gnu tools compatible subarchitecture type. Also a cpuinfo.pas file is created with memory layout and subarchitecture information required in the compiler's avr/cpuinfo.pas unit, and also a CPU_UNITS line in case one needs to update the make files in RTL if a new subarchitecture is added.

