I have a really odd problem. With existing code I added one more enumeration. Normally in the CCS editor enumeration values show up as blue italics if they are recognized. Within the enumeration list the new enumeration shows up as blue italics. But then I use it I can't get it to show up as blue Italics. in the code snippet below both case statements are in the same source file right next to each other and the old enum RADAR_DEVICE_CONFIG_CUSTOM_SETTING shows up in blue italics and the new one does not. So the .h file has to be in the source file for both.
Another really odd thing is if I search for RADAR_DEVICE_CONFIG_CUSTOM_SETTING with the C/C++ search it will find it but it will not find RADAR_DEVICE_CONFIG_ADC_TEST. But if I un-define RADAR_DEVICE_CONFIG_ADC_TEST in the .h file it will give an error for the line below that the enumeration is not defined.
But another user can build the same code and RADAR_DEVICE_CONFIG_ADC_TEST will show up in blue italics and we don't see a difference in the build environment.
This is done with CCS 5.3 and compiler 6.1.13
- case RADAR_DEVICE_CONFIG_CUSTOM_SETTING:
- caseRADAR_DEVICE_CONFIG_ADC_TEST:
- {