Other Parts Discussed in Thread: TM4C123GH6PM, TM4C123GE6PM, TM4C123GE6PZ
Tool/software: Code Composer Studio
Hi,
I'm using the TM4C123GH6PZ device but is seems that CCS compile my code for the PM version. With the following code:
ROM_GPIOPinConfigure(GPIO_PH4_M0PWM4); ROM_GPIOPinTypePWM(GPIO_PORTH_BASE, GPIO_PIN_4); ROM_GPIOPinConfigure(GPIO_PC4_M0PWM6); ROM_GPIOPinTypePWM(GPIO_PORTC_BASE, GPIO_PIN_4);
When I go to the declaration of the PC4 it send me in the pin_map.h file under the TM4C123GH6PM instead of the PZ and so when I try with the PH4 it doesn't allow me to go to the declaration. I saw in the datasheet of the PM that PH4 doesn't have a PMW4 on it.
I went to the properties of the project to verify if i didn't chose the wrong device but the right one is selected. I also checked in the .ccxml file to see if something was wrong in it but still, the right device is selected.
I also tried to add the following define at the beginning but it didn't change anything
#define PART_TM4C123GH6PZ
My question: is there somewhere else I'm supposed to select the device I'm working with?
Regards,
Yann
