Hello,
I am using MCUXpresso trying to debug one of the examples: "display_sensor". I am trying to learn how to use the I2C interface to communicate with a sensor. The issue with this example is that when building I get the following:
I have updated the paths at project's properties, and I also used the clean option with no improvement. What can be wrong ?
Thank you !
Hello Alejandro Abraham ,
In order to help you, please share me the below information:
Your chip part number? What about the project, a demo or create by yourself?
Which version of MCUXpresso IDE you used? Attached your project.
Thanks.
BR
Alice
Hi Alice,
I am using NXP Rapid IoT Kit which uses both MK64NF1M0VMD12 and MKW41Z512VHT4.
Version of MCUXpresso IDE is 10.3.1_2233.
Demo project is: "display_sensor" downloaded from:
https://community.nxp.com/docs/DOC-342383
RAPID-IOT MCUXPRESSO EXAMPLES PROJECTS | NXP Community<https://community.nxp.com/docs/DOC-342383>
community.nxp.com
Rapid-IoT Users, Please find enclosed example projects. See below the different projects included. Here is the procedure to import those project into
The problem seems to be that the include files are copied to the "C:\User" folder rather than to the workspace. Once I copy all the include folders manually into "C:\User" the project compiles without that error. Now it shows the following error:
I am looking to find a working example from which I can learn how to use the I2C and GPIO. If you could direct me to one, that would be great.
In addition, when trying the "rapid_iot_k64f_hello_world" project from:
I try to compile and I get the following errors:
Please let me know your thoughts.
Thank you.
Best,
Alejandro
Hello Alejandro,
When import project into MCUXpresso IDE, don't check "Copy projects into workspace".
I test on my side, there is no error. Please look at my video in attachment, it shows the detail steps.
Hope it helps,
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi Alice,
Yes I have done that and if you compile directly there is no error. The issue arises when I go to Config Tools and update the drivers. Then the errors appear. How could I use the config tools without errors then ?
Thank you.
Best,
Alejandro
Hi Alejandro,
Because when you use configure tool, the generate code will change some files and code of original project,
for example some defines by author lost.
If you want to use configure tool, I recommend you create a new project based on SDK, then you can
use the config tool.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------