SLAA638A august 2014 – may 2023 MSP430I2040 , MSP430I2041
The example IAR project has been configured for MSP430i2041. To run on MSP430i2040, follow these steps once:
Figure 12-1 IAR 5.5
Launch WindowWhen prompted to open the project, select emeters.eww from the project directory of the example code.
Figure 12-2 Open
Workspace Window
Figure 12-3 Workspace OptionsIn the Options window, click on General Options on the left-hand column and then select the Target tab. Then, in the Device section, click on the right-hand side button of the entry box and select MSP430Ixxxx Family→MSP430I2040.
Figure 12-4 Options WindowClick on Linker in the left-hand column and select the Config tab. Then click on the right-hand button in the Linker configuration file box.
Figure 12-5 Config TabSelect lnk430i2040_temp.xcl when prompted and click Open.
Figure 12-6 Selecting Default XCL FileWhen brought back to the Options window, click OK.
Figure 12-7 Finishing the Setting ChangesWhen brought back to the main screen, select File→Save to save the setting.
Figure 12-8 Saving the Setting ChangesThe project is now set for run on MSP430i2040. To have the project to run back on MSP430i2041, follow the same steps except to select MSP430Ixxxx Family→MSP430I2041 in the Options window and select lnk430i2041_temp.xcl when prompted in the Linker configuration file box.