Tool/software: Code Composer Studio
Hello!
I am a student who is relatively new to using C language to program my TM4C123GH6PM board (my previous experience was using assembly). In class, we use Keil uVision 4, and all the code I have written compiles and loads to the board just fine. On my personal laptop, I initially downloaded Keil uVision 5 and Code Composer Studio 7, but neither will compile my code (I used code that worked just fine in Keil 4). I checked to make sure the appropriate startup file was included in each project (as well as a copy of tm4c123gh6pm.h, I wasn't sure if this was included by default or not), but in both program I keep getting the same errors when compiling, which are:
identifier "SYSCTL" is undefined for the line SYSCTL->RCGCGPIO |= 0x20;
identifier "GPIOF" is undefined for the line GPIOF->DIR = 0x0e;
and then other examples which follow suit. Commenting these lines out allows the program to compile just fine (because I haven't done anything beyond initializations in my code at this point). Obviously the problem is that it isn't recognizing the definitions of these in the same way Keil 4 does, I'm just not familiar enough with either the C language or these programs to understand exactly why. I'd love to get experience coding outside of the classroom on my personal computer, so any help would really be appreciated!