We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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 ?
Hello, how did you do the include of that .h file ?
The error message would suggest the tool cannot find the header file.
Hi Alban:
This is the header include
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.
Hi aitorsp.
does the post Re: IAR embedded workbench include files makes error help you?
Best regards,
Yasuhiko Koumoto.
No reply from poster, so closing the thread.