Undefined reference to "mbed_assert_internal" and "GPIO_INIT_OUT"
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi all, was running through some Freescale Companion Apps examples and I was unable to deploy the "Line Camera Scan" to the FRDM-KL25Z board. I was prompted by the MATLAB about error in "Undefined reference to 'mbed_assert_internal' and 'GPIO_INIT_OUT'".
The code is done compiling by MATLAB (I suppose?). Thanks
0 comentarios
Respuestas (1)
Abhishek GS
el 7 de Jul. de 2016
Hi Jack,
I understand that you ran into an issue with installation of FreeScale FRDM-KL25Z Support Package and with the help of MathWorks Technical Support, the installation is fine now.
With respect to this issue, I suspect the issue is because of the change in name of the third party folder that the support package downloads from mbed. A fix has been created, and should be up soon. However, if you would like to get started right away, here is the workaround: 1. Open the support package root directory (the folder where the support package is downloaded) by executing the following command in MATLAB Command Window:
cd(matlabshared.supportpkg.getSupportPackageRoot)
2. Rename the folder named '8e73be2a2ac1' to 'mbed-8e73be2a2ac1'.
This fix should allow you to build the model.
Leave a comment on your observations after trying the above.
4 comentarios
Abhishek GS
el 13 de Jul. de 2016
Hi Jack,
The support package fix for the mbed folder name change is now live. Please follow the below steps:
1. Uninstall the support package and delete the support package root folder.
2. Remove the support package root folder from the path (if still present).
3. Install the support package again. Note that the support package version is 16.1.1 as seen in the pic below.
4. Try building the example 'freedomboard_RGB_LED' and 'freescalcup_sendLiveCameraData'.
Let me know your observations when you try the above. You do not have to download the KL25Z headers. If this does not work,
1. Please share the screenshots of the error messages that you get
2. The link from which the KL25Z headers you downloaded
3. The folder in which you saved the headers.
4. The screenshot of your MATLAB Path
5. The custom DC motor model that you talked about above.
Thanks,
Abhishek
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!