Part Number: MSP432P401R
Tool/software: TI-RTOS
I'm trying to use the I2CSlave functions of the TIRTOS. When i compile I get an error #10056, for I2C_slaveSendNAK being defined multiple times.
error #10056: symbol "I2C_slaveSendNAK" redefined: first defined in "C:/ti/tirtos_msp43x_2_20_00_06/products/tidrivers_msp43x_2_20_00_08/packages/ti/drivers/lib/drivers_MSP432P401R.aem4f<I2CSlaveMSP432.oem4f>"; redefined in "C:/ti/tirtos_msp43x_2_20_00_06/products/msp432_driverlib_3_21_00_05/driverlib/MSP432P4xx/ccs/msp432p4xx_driverlib.lib<i2c.o>"
Digging into the library code I found the following in C:/ti/tirtos_msp43x_2_20_00_06/products/tidrivers_msp43x_2_20_00_08/packages/ti/drivers/i2cslave/I2CSlaveMSP432.c
/*
* Requested function to be added to driverlib. Temporary function here for
* testing. Will be removed when code is checked in.
*/
/*
* ======== MAP_I2C_slaveSendNAK ========
*/
void MAP_I2C_slaveSendNAK (uint32_t moduleInstance)
{
//Slave Receiver sends NAK
UCB0CTLW0 |= UCTXNACK;
}
It seems to me that this code from the comment should not have been included in this build. Anyone at TI have any ideas?
Thanks