Can you archive your project and attach it to this forum?
We can see if we can reproduce your same results.
1 of 1 people found this helpful
I was not able to get the same "missing file" errors you received.
The project you provided did "Application Build". This is the first phase where the TopDesign is compiled. There were NO complaints.
I did have build errors in the 'C' compile build phase. It complained it couldn't find both functions:
This is because you placed the prototypes for both functions in a file called i2c_mpu9250.h.
However, in TopDesign you placed a component you named I2C_MPU9250. This generated a file called I2C_MPU9250.h. This nae is in conflict with the file you put together called i2c_mpu9250.h. The pre-compile phase was confused and could find the prototypes previously mentioned.
I changed the name of your files to i2c_mpu9250app.h and i2c_mpu9250app.c. I also changed the #include references to i2c_mpu9250app.h.
This compiled and completed the build with no errors.
wow, it worked.
thanks Led for your explanation .