News:

;) This forum is the property of Proton software developers

Main Menu

PPI vs DEF

Started by RGV250, Apr 12, 2024, 06:35 AM

Previous topic - Next topic

RGV250

Hi,
I did not want to hijack a different thread.
As the PPI file seems to be what the compiler uses for the device info what do the DEF files do.
Also where does the INFO file come in to play, which I have only just found exists.

Bob

top204

#1
The .ppi files are what the compiler uses to gather information on the device being compiled for.

The .def file is for the preprocessor to use, so it is mainly for the user's benefit. The compiler does not read anything from the .def files.

The .info file is purely for the assembler to use and neither the preprocessor or the compiler use it.

tumbleweed

The actual configuration data is generated by MPASM based on the settings in the 8bit_device.info database file.
The .info file specifies the 'fuse' name, settings, bit values, and memory location to put the data into the .hex file.

It's MPASM that translates statements like 'config FOSC = HS' into the appropriate hex data for the device.