Hi,
Thanks to NXP community support, we successfully ran a GPIO example application developped from Matlab/Simulink on our Evaluation Kit (based on the MCU i.MXRT1064)
--> see. my previous post
It will be usefull to be able to debug the generated code directly from the great MCUxpresso IDE.
So, we try to import the NXP project (GPIO Polling example) into the IDE but, when we build the project, there are errors (missing includes files, ...).
As the full example application is pure generated code, normally, we should be able to re-build it from the NXP IDE without do anything... but it is not the case.
Has anyone tried this before ?
Does it exist a tutorial for this operation ?
Thanks in advance.
BR,
Sebastian
Solved! Go to Solution.
Hi Sebastian,
You can debug the generated projects into MCUIDE. You need to export the project - this operation will do the necessary updates on for the <model_name>Config folder to the successfully imported and debugged into MCUXpresso IDE. To do that go to Hardware Settings -> Hardware implementation -> User paths and use the Export generated projects. See below screenshot:
Use Simulink model folder that will do just an update of the existing files/folders - in this way you can work in both Simulink and MCUIDE and see the changed in both parts. After this, you can just use Import project from MCUXpresso and you are good to go. One more note, do not use Copy project into workspace when doing the import in MCU IDE- because some paths might be invalidated by this check.
BR,
Alexandra
Hi Alexandra,
Your explanation is very clear, as usual
I'm going to apply it immediatly on my project and check that all is OK.
I come back as soon as it's done.
Thanks
BR,
Sebastian
Hi Sebastian,
You can debug the generated projects into MCUIDE. You need to export the project - this operation will do the necessary updates on for the <model_name>Config folder to the successfully imported and debugged into MCUXpresso IDE. To do that go to Hardware Settings -> Hardware implementation -> User paths and use the Export generated projects. See below screenshot:
Use Simulink model folder that will do just an update of the existing files/folders - in this way you can work in both Simulink and MCUIDE and see the changed in both parts. After this, you can just use Import project from MCUXpresso and you are good to go. One more note, do not use Copy project into workspace when doing the import in MCU IDE- because some paths might be invalidated by this check.
BR,
Alexandra
Hi @nxa11767
I have the same question for S12Z.
In "Configuration Parameters" I do not see the "User Paths"
What should I do?
Many Thanks!
BR