unzip the edge impulse library into the reposotory folder and with GIT-BASH I run the following script:
" MPLABX_VERSION=6.10 XC_VERSION=4.10 XC_NUMBER_BITS=32 ./build.sh WBZ451 libedgeimpulse"
The script starts and seems to find either MPLAB 6.10 or XC32 4.10 on my PC but it terminates with
"recipe for target ‘.build-impl’ failed
"
Hi Eoin,
thanks for replying me !
I tried with 2 different xc32 compiler (4.10 and 4.35) and 2 different MPLAB version (6.10 and 6.35) but they give me the same error.
Can I send to you the c++ exported from my edge impulse project to let you try on your own?
Please let me know ad thanks !
N.
Hi @Koli,
I’m Matt form the EI Embedded Team.
Could you post or send me in the PM the full build log? The error recipe for target ‘.build-impl’ failed just tells that this recipe failed, but the actual error is probably much earlier in the log.
The last time this came up I went through this with the user, but we didn’t get it finished.
What OS are you working on? There are some hard coded values and outdated EI sdk references
In the post i shared there are some steps that need to be taken on that repo to change the MPLAB version and SDK libs:
Either way please give the replys to Mat and Raul and then let me know how you get on with the suggestions in the steps that need to be taken to edit the script for your OS
@Koli
Please try to debug the build.sh script. The easiest way is to put: echo "Stage NN ready" after each important step. Then see in the console which exactly step failed. I guess it could be this one.
If that is really the step that failed, then analyze what it is doing. You can see that before starting make it changes directory: cd "${PRJ_NAME}".X. Try to find this directory (you can do echo ${PRJ_NAME} before to see the exact name). Then go to this directory and check if there is any Makefile. I guess you should search in libedgeimpulse.X.
Let me know how you get on this week with the build.sh or open-cmsis approach. @ei_francesco it would be great to see how open-cmsis works with MPLAB, and if the addition of sensors / libs is as seamless as it was for Arm Keil MDK.
Hi @mateusz,
thanks for reply.
Hi think , was just a problem of “naming” the output project .
Now it seems the “.X” mplab project was created since I dont see that error anymore.
The difference with the past is just it takes a less time to exit from that command .
This is my output regarding the folders:
libedgeimpulse.X this is the output from the build.sh after you updated the edge impulse sdk required libs on Friday @Koli should have resolved the dependency issues:
ml-edgeimpulse-project-builder/build.sh needs to be updated
Needs to include the latest as you can see in that file it mentions the list is pulled directly from the example-stand-alone-inferencing example.
Also make sure that you update the relevant wget commands to pull your correct compuler and remaining MPLAB required files:
Run “MPLABX_VERSION=6.10 XC_VERSION=4.10 XC_NUMBER_BITS=32 ./build.sh WBZ451 koli-project”
In this step I checked the packets @Eoin mentioned and seems they are good.