This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Cannot get CCS or Keil working

Hello everyone,

I am trying to set up keil to use tiva libraries. I followed the exact steps mentioned in manual spmu355. Now, I can compile run the example projects without errors, but whenever I try making my own project, the compiler says that the libraries included do not exist and stops building. Please help me.

The error message:

main.c(28): error: #5: cannot open source input file "inc/hw_types.h": No such file or directory
#include "inc/hw_types.h"
main.c: 0 warnings, 1 error

It remains the same for all libraries, and does not go beyond the first  #include statement citing fatal error.

Edit:

I tried to setup CCS as well and followed instructions here:

Now I am getting following error when I try to build a project:

"C:/ti/lib/Driver/driverlib/gpio.h", line 141: error #20: identifier "uint32_t" is undefined
"C:/ti/lib/Driver/driverlib/gpio.h", line 141: error #20: identifier "uint8_t" is undefined

And the same errors span from line 141 to line 253. My code is a test one and hardly has 50 lines, so I am guessing it is from library. What should I do?

Thank You