Cannot find the mbed tools directory

Hello Béla,

The KWS project site suggests to create a simple KWS interface program by running the command:

mbed new kws_simple_test --mbedlib 

According to the mbed-cli documentation the --mbedlib option is used when creating a mbed os 2 program.

  • Unfortunately, ARM doesn’t support mbed os 2 anymore and the --mbedlib option has no effect. Consequently, no mbed library is downloaded to the kws_simple_test folder by such command. You have to do that manually from https://github.com/ARMmbed/mbed-dev. Copy the downloaded .zip file to the kws_simple_test folder and unzip. Then rename the mbed-dev-master folder to mbed and issue the mbed deploy command (from the kws_simple_test folder) to install the mbed tools into the mbed folder.

  • Another option is to create a mbed bare-metal project (mbed os 6 without os) rather than a mbed os 2. For more info have a look at https://os.mbed.com/docs/mbed-os/v6.1/bare-metal/index.html.

Best regards, Zoltán

1 Like