Tools/EclipseArmebs4/SetupOSX/2014-10-01

(Difference between revisions)
Jump to: navigation, search
(Created page with "WIP... {{TOC right}}")
 
Line 1: Line 1:
WIP...
+
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 https://launchpad.net/gcc-arm-embedded]. This is a toolchain maintained by ARM employees and is available for Linux, Windows and OS X.
 +
 
 +
* download [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 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:
 +
<source lang='bash'>
 +
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 -'
 +
</source>
 +
 
 +
== openocd ==
 +
The simplest way to install Open-OCD is to install it via [http://brew.sh Homebrew]:
 +
<source lang='bash'>
 +
brew update
 +
brew install open-ocd
 +
</source>
 +
 
 +
= Eclipse =
 +
Stay away from trouble and use Eclipse Kepler (4.3)...
 +
 
 +
* Download Eclipse Kepler (4.3) from [http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/keplersr2 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 (same version as the subversion installed on your system)
 
{{TOC right}}
 
{{TOC right}}

Revision as of 20:57, 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.

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 (same version as the subversion installed on your system)

Contents

Personal tools
Namespaces
Variants
Actions
Navigation
Browse
Toolbox