ARM-software / ML-KWS-for-MCU

Keyword spotting on Arm Cortex-M Microcontrollers
Apache License 2.0
1.13k stars 415 forks source link

WARNING: MBED_ARM_PATH set as environment variable but doesn't exist #86

Closed saichand07 closed 5 years ago

saichand07 commented 5 years ago

Hello @yanyanem @navsuda It would be really helpful if I could get an answer from you,

D:\KWS-for-MCU\Deployment\kws_realtime_test>mbed compile -m DISCO_F746NG -t GCC_ARM \ --source . --source ..\Source --source ..\Examples\realtime_test / --source ..\CMSIS_5\CMSIS\NN\Include --source ..\CMSIS_5\CMSIS\NN\Source / --source ..\CMSIS_5\CMSIS\DSP\Include --source ..\CMSIS_5\CMSIS\DSP\Source / --source ..\CMSIS_5\CMSIS\Core\Include / --profile ..\release_O3.json -j 8

[mbed] Working path "D:\KWS-for-MCU\Deployment\kws_realtime_test" (program) WARNING: MBED_ARM_PATH set as environment variable but doesn't exist usage: make.py [-h] [-m MCU] [--custom-targets CUSTOM_TARGETS_DIRECTORY] [-t TOOLCHAIN] [--color] [--cflags CFLAGS] [--asmflags ASMFLAGS] [--ldflags LDFLAGS] [-c] [--profile PROFILE] [--app-config APP_CONFIG] [-p PROGRAM | -n PROGRAM | -L | -S [{matrix,toolchains,targets}]] [-j JOBS] [-v] [--silent] [-D MACROS] [-f GENERAL_FILTER_REGEX] [--stats-depth STATS_DEPTH] [--automated] [--host HOST_TEST] [--extra EXTRA] [--peripherals PERIPHERALS] [--dep DEPENDENCIES] [--source SOURCE_DIR] [--duration DURATION] [--build BUILD_DIR] [-N ARTIFACT_NAME] [--ignore IGNORE] [-b BAUD] [--rpc] [--usb] [--dsp] [--testlib] [--build-data BUILD_DATA] [-l LINKER_SCRIPT] make.py: error: unrecognized arguments: \ / / / / [mbed] ERROR: "c:\python27\python.exe" returned error. Code: 2 Path: "D:\KWS-for-MCU\Deployment\kws_realtime_test" Command: "c:\python27\python.exe -u D:\KWS-for-MCU\Deployment\kws_realtime_test\mbed-os\tools\make.py -t GCC_ARM -m DISCO_F746NG --profile ..\release_O3.json --source . --source ..\Source --source ..\Examples\realtime_test --source ..\CMSIS_5\CMSIS\NN\Include --source ..\CMSIS_5\CMSIS\NN\Source --source ..\CMSIS_5\CMSIS\DSP\Include --source ..\CMSIS_5\CMSIS\DSP\Source --source ..\CMSIS_5\CMSIS\Core\Include --build .\BUILD\DISCO_F746NG\GCC_ARM-RELEASE_O3 \ / / / / -j 8" Tip: You could retry the last command with "-v" flag for verbose output I can't able to fix this problem.

Thank you very much

yanyanem commented 5 years ago

@saichand07 i do not see this error before. but i can share u my steps.

  1. setup python2.7, and pip mbed.
  2. download gcc-arm-none-eabi-6-2017-q2-update and extract to my local and add PATH to .bashrc export PATH="/home/ai/eric/tools/gcc-arm-none-eabi-6-2017-q2-update/bin:$PATH"

by the way, you can try kws_simple_test firstly then try kws_realtime_test next.

saichand07 commented 5 years ago

Thank you very much @yanyanem