Closed oneway3124 closed 6 years ago
C:\Users\Administrator\Desktop\ML-KWS-for-MCU\Deployment>mbed new kws_simple_tes t --mbedlib [mbed] Creating new program "kws_simple_test" (git) [mbed] Adding library "mbed" from "https://mbed.org/users/mbed_official/code/mbe d/builds" at latest revision in the current branch [mbed] Updating reference "mbed" -> "https://mbed.org/users/mbed_official/code/m bed/builds/tip" warning: LF will be replaced by CRLF in mbed.bld. The file will have its original line endings in your working directory. [mbed] Couldn't find build tools in your program. Downloading the mbed 2.0 SDK t ools...
C:\Users\Administrator\Desktop\ML-KWS-for-MCU\Deployment>cd kws_simple_test
C:\Users\Administrator\Desktop\ML-KWS-for-MCU\Deployment\kws_simple_test>mbed de ploy [mbed] Updating library "mbed" to branch/tag "tip" [mbed] Downloading library build "5aab5a7997ee" (might take a minute)
This seems to be an issue with your mbed-cli environment. Can you try importing and building mbed-cli example here and raise an issue in mbed-cli if you have the same problem?
From the above pictures, I think that this issue may be created by package update. So Can you tell me which file is responsible for this?
The second picture is my local file storage which is compiled for latest successful compilation.
@navsuda Can you help me answer this question?
It seems to be ok now!
But, why is there some other compile error as the figure shows?
Hi @oneway3124 I do not understand the cause of your error, but it seems to be an error with mbed-cli specific to your environment. Can you try debugging it in a virtual-environment? Also, raise an issue in mbed-cli, some other users who have had this issue may be able to help you. I have added an example for FRDM-K64F, which can be built without mbed-cli here. Using that as a starting point, you may be able to build it for any other mbed supported board.
OK, this environment has been installed on the laptop of my colleague, but the error looks like me. Which virtual environment do you mean? virtualbox or vmware, I has tried it. At the same time, I also raise one issue in mbed-cli, there is no useful answer for this question. So, I am trying your new example for FRDM-K64F now.
@navsuda thanks for your help, I can compile the FRDM-K64F on the ubuntu system in the virtualbox. Then, I will complete the remaining steps of NUCLEO_F411RE board. If there is some question, I will raise some isssue on this site. Thanks very much in advance.
C:\Users\Administrator\Desktop\ML-KWS-for-MCU\Deployment>mbed new kws_simple_tes t --mbedlib [mbed] Creating new program "kws_simple_test" (git) [mbed] Adding library "mbed" from "https://mbed.org/users/mbed_official/code/mbe d/builds" at latest revision in the current branch [mbed] Downloading library build "5aab5a7997ee" (might take a minute)