windows_mios32_toolchain_core
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| windows_mios32_toolchain_core [2010/08/22 02:21] – Fixed broken link to MSYS-1.0.11.exe wilba | windows_mios32_toolchain_core [2015/07/01 10:24] (current) – [GCC Toolchain] shuriken | ||
|---|---|---|---|
| Line 32: | Line 32: | ||
| ====== Windows Utilities ====== | ====== Windows Utilities ====== | ||
| - | ===== Sun Java J2SE ===== | ||
| - | |||
| - | Chances are you already have the Java runtime... I don't recommend upgrading the existing version if you do. | ||
| - | * [[http:// | ||
| - | * Install with defaults or whatever meets your requirements. I recommend disabling automatic updates. | ||
| - | \\ | ||
| - | \\ | ||
| ===== 7zip ===== | ===== 7zip ===== | ||
| Line 60: | Line 53: | ||
| * Press Enter, to exit the postinstall script, and click ' | * Press Enter, to exit the postinstall script, and click ' | ||
| - | ===== CodeSourcery G++ Lite ===== | + | ===== GCC Toolchain |
| - | This is the modified GNU Compiler Collection, ready for use with the ARM Cortex M3 platform. | + | The MIDIbox community have created a modified GNU Compiler Collection, ready for use with the ARM Cortex M3 platform. |
| - | Since the STM32 is a flavour | + | |
| - | Later, once Cortex support makes it into the regular | + | The Toolchain has currently been compiled for Windows (2000+), Mac OS X (Leopard or newer) and Linux x86 (built on Ubuntu). |
| - | but for now, we need the CodeSourcery distribution. | + | |
| + | The download directory for the toolchain | ||
| + | |||
| + | Download the latest " | ||
| + | |||
| + | You must add the " | ||
| + | |||
| + | SET PATH= %PATH%; | ||
| + | |||
| + | If you want to make this change permanent (you probably will) follow this Microsoft KB article http:// | ||
| - | * [[http:// | ||
| - | * Install using the defaults. | ||
| - | * Answer the question for adding to the PATH variable with " | ||
| \\ | \\ | ||
| \\ | \\ | ||
| Line 98: | Line 97: | ||
| * ; | * ; | ||
| - | If you missed adding the path to the CodeSourcery compiler upon installation, | ||
| - | * ;C:\Program Files\CodeSourcery\Sourcery G++ Lite\bin | ||
| - | It is STRONGLY recommended to put these directories | + | It is STRONGLY recommended to put this directory |
| - | For users with different Windows language versions, the " | + | |
| - | named differently and needs to be adapted. | + | |
| Merge everything in notepad. | Merge everything in notepad. | ||
| Line 126: | Line 122: | ||
| 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: | set MIOS32_BIN_PATH=D: | ||
| Line 137: | 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 156: | Line 167: | ||
| * Type " | * Type " | ||
| * Paste in the following command: | * Paste in the following command: | ||
| - | '' | + | < |
| + | make --version | ||
| + | </ | ||
| * Hit Enter. You should see the following output: | * Hit Enter. You should see the following output: | ||
| Line 178: | Line 191: | ||
| \\ | \\ | ||
| \\ | \\ | ||
| - | |||
| ====SVN Repository==== | ====SVN Repository==== | ||
| Line 189: | Line 201: | ||
| If you made it this far, you've actually done enough. You can code C apps in wordpad.exe, | If you made it this far, you've actually done enough. You can code C apps in wordpad.exe, | ||
| I'd recommend taking a look at [[http:// | I'd recommend taking a look at [[http:// | ||
| - | You should visit [[mios_studio|The MIOS Studio Page]] for instructions on how to install MIOS Studio to upload the app.\\ | + | You should visit [[http:// |
| \\ | \\ | ||
| \\ | \\ | ||
| Line 195: | 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:// | [[http:// | ||
| Line 202: | 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. | ||
| + | \\ | ||
| + | \\ | ||
windows_mios32_toolchain_core.1282443715.txt.gz · Last modified: 2010/08/22 02:21 by wilba
