Undefined reference to "mbed_assert_internal" and "GPIO_INIT_OUT"

1 view (last 30 days)
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

Answers (1)

Abhishek GS
Abhishek GS on 7 Jul 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:
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.
Abhishek GS
Abhishek GS on 13 Jul 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.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!