Good Evening:
This should be pretty easy to solve. I'm just not seeing it.... at all.
I am writing an I2C program using SYS/BIOS (6.34) and Code Composer: Version: 5.3.0.00090. Stellaris LM3S6965.
I "borrowed" piece of code from one of the posted messages and was unable to compile it. It appeared to use the SYS/BIOS framework, the same that I am using.
Every CONSTANT below is missing. This is in an I2CInit routine.
SysCtlPeripheralEnable(SYSCTL_PERIPH_I2C0);
SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOB);
GPIOPinConfigure(GPIO_PB2_I2C0SCL);
GPIOPinConfigure(GPIO_PB3_I2C0SDA);
GPIOPinTypeI2CSCL(GPIO_PORTB_BASE, GPIO_PIN_2);
GPIOPinTypeI2C(GPIO_PORTB_BASE, GPIO_PIN_3);
I2CMasterInitExpClk(I2C0_MASTER_BASE, SysCtlClockGet(), false);
I2CMasterIntEnableEx(I2C0_MASTER_BASE, I2C_MASTER_INT_DATA);
IntEnable(INT_I2C0);
I added...
PART_LM3S6965 to... Properties --> Build --> Arm Compiler --> Advanced Options --> Predefined Symbols
I can not find a pin_map.h file; but, adding this files does not seem right.
I'm not finding the header files NOR the requisit Constants as I "search" through the TI directories.
Any help... would be very much appreciated.
Rick