User Tools

Site Tools


windows_mios32_toolchain_core

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
windows_mios32_toolchain_core [2010/11/30 20:03]
philetaylor
windows_mios32_toolchain_core [2015/07/01 10:24] (current)
shuriken [GCC Toolchain]
Line 57: Line 57:
 The MIDIbox community have created a modified GNU Compiler Collection, ready for use with the ARM Cortex M3 platform. The toolchain contains all of the tools required to build MIOS32 applications including GCC and NEWLIB. MSYS is still currently required although may be added to a later version of the toolchain. The MIDIbox community have created a modified GNU Compiler Collection, ready for use with the ARM Cortex M3 platform. The toolchain contains all of the tools required to build MIOS32 applications including GCC and NEWLIB. MSYS is still currently required although may be added to a later version of the toolchain.
  
-The Toolchain has currently been compiled for Windows (2000+), Mac OS X (Leopard or newer) and Linux x86 (built on Ubuntu ​10.10).+The Toolchain has currently been compiled for Windows (2000+), Mac OS X (Leopard or newer) and Linux x86 (built on Ubuntu).
  
-The download directory for the toolchain is ftp://ftp.lansystems.co.uk/pub/midibox+The download directory for the toolchain is http://www.midibox.org/mios32_toolchain
  
-Download the latest "​windows"​ file and unzip into your favorite directory, If you unzip into c:\ the toolchain will create c:\mios32_toolchain ​and various sub-directories containing the toolchain files.+Download the latest "​windows"​ file and unzip into your favorite directory, If you unzip into c:\ the toolchain will create c:\gcc-arm-none-eabi-4_7-2013q3-20130916-win32 ​and various sub-directories containing the toolchain files. Rename the directory gcc-arm-none-eabi-4_7-2013q3-20130916-win32 to mios32_toolchain.
  
 You must add the "​bin"​ directory to your windows path, a temporary way is to type the following in a Windows Command Prompt window: (change c:​\mios32_toolchain to wherever you extracted your toolchain) You must add the "​bin"​ directory to your windows path, a temporary way is to type the following in a Windows Command Prompt window: (change c:​\mios32_toolchain to wherever you extracted your toolchain)
Line 97: Line 97:
     * ;​C:​\MSYS\1.0\bin     * ;​C:​\MSYS\1.0\bin
  
-If you missed adding the path to the CodeSourcery compiler upon installation,​ add this one too 
-  * ;C:\Program Files\CodeSourcery\Sourcery G++ Lite\bin 
  
-It is STRONGLY recommended to put these directories ​at the BEGINNING of the PATH Variable!  +It is STRONGLY recommended to put this directory ​at the BEGINNING of the PATH Variable!  
-For users with different Windows language versions, the "​Program Files" directory may be +
-named differently and needs to be adapted.+
  
 Merge everything in notepad. Merge everything in notepad.
Line 126: Line 123:
 DOS: (we assume, that the repository has been downloaded to D:\) DOS: (we assume, that the repository has been downloaded to D:\)
   set MIOS32_PATH=/​D/​mios32/​trunk   set MIOS32_PATH=/​D/​mios32/​trunk
-  set MIOS32_BIN_PATH=/D/mios32/trunk/bin+  set MIOS32_BIN_PATH=D:\mios32\trunk\bin
  
 Additional environment variables to configure the environment:​ Additional environment variables to configure the environment:​
Line 136: Line 133:
   set MIOS32_PROCESSOR=STM32F103RE   set MIOS32_PROCESSOR=STM32F103RE
   set MIOS32_BOARD=MBHP_CORE_STM32   set MIOS32_BOARD=MBHP_CORE_STM32
-  set MIOS32_LCD=clcd+  set MIOS32_LCD=universal 
 +   
 +MBHP_CORE_LPC17:​ 
 +  set MIOS32_GCC_PREFIX=arm-none-eabi 
 +  set MIOS32_FAMILY=LPC17xx 
 +  set MIOS32_PROCESSOR=LPC1769 
 +  set MIOS32_BOARD=MBHP_CORE_LPC17 
 +  set MIOS32_LCD=universal 
 +   
 +MBHP_CORE_STM32F4:​ 
 +  set MIOS32_GCC_PREFIX=arm-none-eabi 
 +  set MIOS32_FAMILY=STM32F4xx 
 +  set MIOS32_PROCESSOR=STM32F407VG 
 +  set MIOS32_BOARD=MBHP_CORE_STM32F4 
 +  set MIOS32_LCD=universal 
 +  ​
  
 You can set these in the Windows preferences (just like the PATH variable) by clicking "Add New" and entering the respective pairs. You can set these in the Windows preferences (just like the PATH variable) by clicking "Add New" and entering the respective pairs.
Line 155: Line 167:
   * Type "​CMD"​ (without the quotes) and hit Enter.   * Type "​CMD"​ (without the quotes) and hit Enter.
   * Paste in the following command:   * Paste in the following command:
-''​make --version''​+<​code>​ 
 +make --version 
 +</​code>​
   * Hit Enter. You should see the following output:   * Hit Enter. You should see the following output:
  
Line 177: Line 191:
 \\ \\
 \\ \\
- 
  
 ====SVN Repository==== ====SVN Repository====
Line 194: Line 207:
 ====== Core Tools Complete ====== ====== Core Tools Complete ======
  
-If you'd like to have a more advanced tool set in your hands, please read on to install and configure an IDE. Currently, there is documentation for:\\ 
-[[windows_toolchain_notepadplus|NotePad++]] - An open-source tool suitable for C apps.\\ 
 You may also like to see the documents for the additional tools:\\ You may also like to see the documents for the additional tools:\\
 [[http://​www.midibox.org/​dokuwiki/​windows_toolchain_svn|TortoiseSVN]]\\ [[http://​www.midibox.org/​dokuwiki/​windows_toolchain_svn|TortoiseSVN]]\\
Line 201: Line 212:
 \\ \\
 \\  \\ 
 +
 +====== MIOS32 IDE ======
 +
 +If you'd like to have a more advanced tool set in your hands, please read on to install and configure an IDE.
 +
 +===== Notepad++ =====
 +
 +[[windows_toolchain_notepadplus|NotePad++]] - An open-source tool suitable for C apps.
 +
 +===== Eclipse =====
 +
 +[[eclipse|Eclipse]] - A popular open-source IDE.  Project configurations exist in the repository for app_skeleton and app_skeleton_cpp. ​ This IDE also supports OpenOCD integration for on-chip debugging your MIOS32 application through a JTAG interface. Setting up projects in Eclipse, as well as JTAG source level debugging is documented here. 
 +\\
 +\\
windows_mios32_toolchain_core.1291147389.txt.gz · Last modified: 2010/11/30 20:03 by philetaylor