User Tools

Site Tools


nblocksstudio:installation_for_nblocksstudio1.0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
nblocksstudio:installation_for_nblocksstudio1.0 [2020/03/05 11:14]
engineer
nblocksstudio:installation_for_nblocksstudio1.0 [2020/08/22 04:11] (current)
engineer ↷ Page name changed from nblocksstudio:installation to nblocksstudio:installation_for_nblocksstudio1.0
Line 3: Line 3:
 </​WRAP>​ </​WRAP>​
  
-======nBlocksStudio ​Installation======+======nBlocksStudio1.0 ​Installation======
  
-**nBlocksStudio** is using mbed-cli infrastructure including GCC compiler, for the microprocessor code compilation.\\+**nBlocksStudio1.0** is using mbed-cli infrastructure including GCC compiler, for the microprocessor code compilation.\\
 The Graphical interface is written in Python and is accessing the n-Blocks.net server when it starts, to get the definition of the Nodes\\ The Graphical interface is written in Python and is accessing the n-Blocks.net server when it starts, to get the definition of the Nodes\\
    
Line 52: Line 52:
   * Install mbed cli from command prompt: <​code>​ pip install mbed-cli </​code> ​   * Install mbed cli from command prompt: <​code>​ pip install mbed-cli </​code> ​
   * Verify mbed installation:​ <​code>​ mbed --version </​code>​   * Verify mbed installation:​ <​code>​ mbed --version </​code>​
 +  * 07-March-2020,​ install Microsoft Visual C++ Compiler for Python 2.7:  (([[ http://​aka.ms/​vcpython27]]))
 \\ \\
 \\ \\
Line 76: Line 77:
   *new OS2 project:<​code>​ mbed new project2 --mbedlib </​code>​   *new OS2 project:<​code>​ mbed new project2 --mbedlib </​code>​
   *new OS5 project at current directory:<​code>​ mbed new . </​code>​   *new OS5 project at current directory:<​code>​ mbed new . </​code>​
 +
 +
 +===Alternative method to import OS2 program from mbed online compiler=== ​
 +I had issues with the import method described above. This Alternative method works.Tested for Target LPC11U35_401 [20 May 2020] 
 +  * From mbed online compiler right-click on a **Program** in the **Program Workspace**:​ Export Program using <​code>​ Export</​code>​ Toolchain <​code>​ZIP archive (with repositories)</​code>​
 +  * Extract the ZIP file to a Temporary folder.
 +  * Create a new folder as new mbed OS2 project. This folder will be the project working folder: <​code>​ mbed new project_name --mbedlib </​code>​
 +  * **From Inside** the Temporary folder copy all files and folders.
 +  * Paste the copied files and folders, to **project_name** folder created from  **mbed new project_name --mbedlib**
 +      * Just overwrite existing files when Windows asks
 +  * From Command line Compile: <​code>​mbed compile -t GCC_ARM -m LPC11U35_401</​code>​
 +
  
  
nblocksstudio/installation_for_nblocksstudio1.0.1583424842.txt.gz · Last modified: 2020/03/05 11:14 by engineer