mbed

install on Linux

Louiey 2018. 10. 31. 15:10

1. Configure Environment


sudo apt-get install software-properties-common
sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install python-pip


2. Install mbed-cli

pip install mbed-cli
git clone https://github.com/ARMmbed/mbed-cli
$ python setup.py install


3. add bash

cp -r mbed-cli/tools/bash_completion/mbed /etc/bash_completion.d


4. log out and long in to refresh terminal


5. cd Work/mbed


6. create project

mbed new mbed-os-program


7. cd mbed-os-program


8. find your target

mbed target -S

9. build

mbed compile -t ARM -m DISCO_F469NI