Tools/EclipseArmebs4/SetupOSX/2014-10-01
(Difference between revisions)
(→Eclipse) |
(→Eclipse) |
||
Line 30: | Line 30: | ||
* After setup and restart, subversive should ask to choose a connector, choose: | * After setup and restart, subversive should ask to choose a connector, choose: | ||
** SVNkit 1.8.x | ** SVNkit 1.8.x | ||
+ | |||
+ | Configure the path to the ARM-Cortex-M compiler in eclipse: | ||
+ | * open Eclipse->Preferences... | ||
+ | * Go to C/C++ -> Build -> Environment | ||
+ | * Add the following environment variable: '''PATH''' : '''${PATH}:/opt/gcc-arm-none-eabi-4_8-2014q2/bin''' | ||
+ | |||
{{TOC right}} | {{TOC right}} |
Revision as of 22:09, 30 September 2014
Install a click-and-run IDE for stm32f4 based boards. This HOWTO has been tested on OS X 10.9.
Toolchain
The toolchain we use comes from https://launchpad.net/gcc-arm-embedded. This is a toolchain maintained by ARM employees and is available for Linux, Windows and OS X.
- download gcc-arm-none-eabi-4_8-2014q2-20140609-mac.tar.bz2, extract it and copy it to /opt
Alternatively you can just type in a terminal:
sudo bash -c 'curl -L https://launchpad.net/gcc-arm-embedded/4.8/4.8-2014-q2-update/+download/gcc-arm-none-eabi-4_8-2014q2-20140609-mac.tar.bz2 | bunzip2 | tar -zxf -'
openocd
The simplest way to install Open-OCD is to install it via Homebrew:
brew update
brew install open-ocd
Eclipse
Stay away from trouble and use Eclipse Kepler (4.3)...
- Download Eclipse Kepler (4.3) from here and launch it. Choose the 64 bit version.
- Help -> Install new software ... -> add site: http://gnuarmeclipse.sourceforge.net/updates and http://embsysregview.sourceforge.net/update
- Help -> Install new software ... -> work with -- All available sites -- and add:
- Collaboration : Subversive SVN Team provider
- GNU ARM C/C++ Cross Development Tools: GNU ARM OpenOCD Debugging Support and GNU ARM C/C++ STM32Fx Project Template
- embsysregview: Embedded Systems Register View (SFR) and EmbSysRegView Data
- After setup and restart, subversive should ask to choose a connector, choose:
- SVNkit 1.8.x
Configure the path to the ARM-Cortex-M compiler in eclipse:
- open Eclipse->Preferences...
- Go to C/C++ -> Build -> Environment
- Add the following environment variable: PATH : ${PATH}:/opt/gcc-arm-none-eabi-4_8-2014q2/bin
|