Description of multiple files output simultaneously in IAR
Method 1: procedure:
1. in project-> options-> xlink-> include, observe the xcl file used by the project.
2. Add the following two lines to the xlc file:
-Ointel-extended, (CODE) =. HEX
-Ointel-extended, (xdata) =. Eep
3. Select ubrof6 from project> Options> xlink> output> Format> Other to output data.
Method 2: procedure:
1. Add the following content to project-> options-> Custom Build-> output files:
-Ointel-extended, (xdata) =. Eep // Generate the file written to the EEPROM
-Ointel-extended, (CODE) =. a90 // Generate a debugging File
-Ointel-extended, (CODE) =. HEX // Generate the *. HEX file in Intel extended format
2. Add the following to project> Options> xlink> extra option:
-Ointel-extended, (xdata) =. Eep // Generate the file written to the EEPROM
-Ointel-extended, (CODE) =. a90 // Generate a debugging File
-Ointel-extended, (CODE) =. HEX // Generate the *. HEX file in Intel extended format