Difference between revisions of "Install nBlocksStudio and mbed-cli"
From emboxit
m (1 revision) |
|||
Line 2: | Line 2: | ||
*[https://docs.mbed.com/docs/mbed-os-handbook/en/5.1/dev_tools/cli/ Handbook] | *[https://docs.mbed.com/docs/mbed-os-handbook/en/5.1/dev_tools/cli/ Handbook] | ||
+ | |||
+ | ==Install mbed-cli== | ||
+ | 15/03/2018 | ||
+ | * Download 32 bit windows installer for python 2.7 (dont use 64bit Python installer, issues with pip) | ||
+ | * Configure installer for adding Python path to system path and complete Python 2.7 installation | ||
+ | * Restart Windows (otherwise pip fails) | ||
+ | * Install mbed cli from command prompt: pip install mbed-cli | ||
+ | * Test Python from command line: Python--version and pip with pip --version should work from any directory | ||
+ | <br><br> | ||
==Import existing program from online compiler== | ==Import existing program from online compiler== | ||
Line 14: | Line 23: | ||
− | + | ==Install mbed-cli== | |
+ | * Download 32 bit windows installer for python 2.7 (dont use 64bit Python installer, issues with pip) | ||
+ | * Configure installer for adding Python path to system path and complete Python 2.7 installation | ||
+ | * Restart Windows (otherwise pip fails) | ||
+ | * Install mbed cli from command prompt: pip install mbed-cli | ||
+ | * Test Python from command line: Python--version and pip with pip --version should work from any directory | ||
Revision as of 19:10, 15 March 2018
Install mbed-cli
15/03/2018
- Download 32 bit windows installer for python 2.7 (dont use 64bit Python installer, issues with pip)
- Configure installer for adding Python path to system path and complete Python 2.7 installation
- Restart Windows (otherwise pip fails)
- Install mbed cli from command prompt: pip install mbed-cli
- Test Python from command line: Python--version and pip with pip --version should work from any directory
Import existing program from online compiler
- From online compiler right click on the project and publish (or FORK) in to something like this: frequency_counter
- If the project is copy from somebody else's project, probably have to fork to your own mbed space
- With administrative rights,
mbed import https://developer.mbed.org/users/chalikias/code/frequency_counter/
- for a list of supported targets
mbed compile -S
- Finnaly
mbed compile -m LPC1768 -t GCC_ARM
Install mbed-cli
- Download 32 bit windows installer for python 2.7 (dont use 64bit Python installer, issues with pip)
- Configure installer for adding Python path to system path and complete Python 2.7 installation
- Restart Windows (otherwise pip fails)
- Install mbed cli from command prompt: pip install mbed-cli
- Test Python from command line: Python--version and pip with pip --version should work from any directory