Hi:
When i am going to download the code to my Texas Instruments launchpad TivaC (tm4cgh6pm), IAR shows this error.
How can i fix it ?
I'm afraid I am not familiar with IAR so will give general guidance.
You need to make the .h file available to your project.
With IDEs I have used, there were two main ways of doing this:
If you choose to copy the file in the same directory as your main.c, you can change your include to #include "tm4c123gh6pm.h" (to learn more about why: c++ - What is the difference between #include <filename> and #include "filename"? - Stack Overflow)
If you don't want to bother searching how to include the folders in your IDE path (option 2), then you can download a copy of the header file from tm4c123gh6pm.h from the University of Texas.