installing_gnu_on_osx
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
installing_gnu_on_osx [2010/11/30 20:10] – philetaylor | installing_gnu_on_osx [2011/05/21 20:41] – Improved MIOS32 toolchain doc for MacOS admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
====How to set up the toolchain for coding MIOS32 apps with OS X==== | ====How to set up the toolchain for coding MIOS32 apps with OS X==== | ||
- | You have probably already installed the developper | + | You have probably already installed the developer |
+ | Xcode is located on the MacOS Installation DVD, but the most recent version can also be downloaded from [[http:// | ||
===steps: | ===steps: | ||
0- about the terminal\\ | 0- about the terminal\\ | ||
1- get the mios32 files from the repository server\\ | 1- get the mios32 files from the repository server\\ | ||
- | 2- install the STM32 toolchain\\ | + | 2- install the MIOS32 |
3- configure the paths\\ | 3- configure the paths\\ | ||
+ | 4- other derivatives\\ | ||
===0- about the terminal=== | ===0- about the terminal=== | ||
Line 26: | Line 28: | ||
===1- get the files from the repository server=== | ===1- get the files from the repository server=== | ||
- | The simplest way to do this is to get the " | + | TK proposes |
+ | |||
+ | After the installation just create a svn directory: | ||
+ | mkdir svn | ||
+ | thereafter checkout the repository with: | ||
+ | svn co svn:// | ||
+ | done! | ||
+ | Applications will be located under svn/ | ||
+ | |||
+ | |||
+ | If you prefer a GUI (but TK states that this will be more confusing), install a client like " | ||
Then you are able to drag and drop the " | Then you are able to drag and drop the " | ||
Now the Unix path of your mios32 files is " | Now the Unix path of your mios32 files is " | ||
Line 36: | Line 48: | ||
In the " | In the " | ||
- | ===2- install the STM32 toolchain=== | + | ===2- install the MIOS32 |
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. | 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. | ||
Line 65: | Line 77: | ||
to check that the path variable has been assigned. | to check that the path variable has been assigned. | ||
- | In our case, we need to set up the path variable for the STM32 toolchain: | + | In our case, we need to set up the path variable for the MIOS32 |
type in the terminal\\ | type in the terminal\\ | ||
'' | '' | ||
Line 124: | Line 136: | ||
[[http:// | [[http:// | ||
+ | |||
+ | ===4- other derivatives=== | ||
+ | |||
+ | For STM32 running on a MBHP_CORE_STM32 board use following setup: | ||
+ | |||
+ | '' | ||
+ | export MIOS32_BIN_PATH=$MIOS32_PATH/ | ||
+ | export MIOS32_GCC_PREFIX=arm-none-eabi\\ | ||
+ | export MIOS32_FAMILY=STM32F10x\\ | ||
+ | export MIOS32_PROCESSOR=STM32F103RE\\ | ||
+ | export MIOS32_BOARD=MBHP_CORE_STM32\\ | ||
+ | export MIOS32_LCD=clcd'' | ||
+ | |||
+ | |||
+ | For LPC17 running on a MBHP_CORE_LPC17 (or LPC1769 based LPCXPRESSO) board use following setup: | ||
+ | |||
+ | '' | ||
+ | export MIOS32_BIN_PATH=$MIOS32_PATH/ | ||
+ | export MIOS32_GCC_PREFIX=arm-none-eabi\\ | ||
+ | export MIOS32_FAMILY=LPC17xx\\ | ||
+ | export MIOS32_PROCESSOR=LPC1769\\ | ||
+ | export MIOS32_BOARD=MBHP_CORE_LPC17\\ | ||
+ | export MIOS32_LCD=clcd'' | ||
installing_gnu_on_osx.txt · Last modified: 2011/05/21 20:52 by admin