Tool/software:
I would like to know how to troubleshoot this type of error:
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Can you provide some context? Where did i2c_target.c come from? What was auto-generated (and how was it done)?
I created a new project for MSPM0G3507 using "i2c_target" "Generic I2C Communication Module - Target code". I then configured the I/O pin. I left I2C alone.
I found something in "C:\ti\mspm0_sdk_2_04_00_06\examples\nortos\LP_MSPM0G3507\comm_modules\i2c_target". Is that the one?
Line 36 of i2c_target.c says:
> I2C_Instance gI2C;
and it builds properly. Is it possible that line got deleted somehow? Maybe it's useful to import the project again.
yes, this line:
I2C_Instance gI2C;
somehow got deleted. Now it builds fine thank you for your help.