Tools/EclipseArmebs4/SetupOSX/2014-10-01

(Difference between revisions)
Jump to: navigation, search
(Eclipse)
Line 1: Line 1:
 
Install a click-and-run IDE for stm32f4 based boards.
 
Install a click-and-run IDE for stm32f4 based boards.
This HOWTO has been tested on '''OS X 10.9'''.
 
  
 +
The Eclipse based ARMEBS4 IDE has been tested on '''OS X 10.9''','''OS X 10.10''' and '''OS X 10.11'''.
  
== Toolchain ==
+
The Eclipse-ARMEBS4 Application bundle contains all tools needed for ARMEBS4 or Cortex-M development. Just download it from here:
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
+
[http://armebs4doc.hevs.ch/download/Eclipse-ARMEBS4-2015.11.dmg Download Eclipse-ARMEBS4 for Mac]
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 ==
+
== Current Tools versions (Eclipse-ARMEBS4 2015-11) ==
The simplest way to install Open-OCD is to install it via [http://brew.sh Homebrew]:
+
* Eclipse Mars (4.4.2 - 64 bits) - java developer edition
<source lang='bash'>
+
** GNU ARM Eclipse Plug-ins
brew update
+
** CDT
brew install open-ocd
+
** Subversive
</source>
+
** EmbSysRegView
 +
** ...
 +
* gcc-arm-none-eabi - 4_9-2015q2-win32
 +
* Openocd - 0.9.0
 +
* MSYS - 1.0.11
 +
* make - 3.8.1
 +
* Zadig - 2.1.2
 +
* ARMEBS4 drivers - 1.0.1.0
 +
* Java SE Development Kit 8u40 (64 bits)
 +
** RXTX-2-2-20081207
 +
* svn - 1.8.13
 +
* doxygen - 1.8.9.1
 +
* FreeRtos+Trace - 2.7.5
  
= Eclipse =
+
== Prerequisites ==
Stay away from trouble and use Eclipse Kepler (4.3)...
+
* Get an ARMEBS4 Suitcase (ask someone from the [[Hardware/ARMEBS/4/Team|ARMBES4 team]])
 
+
** Verify it's content:
* 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.
+
*** An ARMEBS4 board
* Help -> Install new software ... -> add site: '''http://gnuarmeclipse.sourceforge.net/updates''' and '''http://embsysregview.sourceforge.net/update'''
+
*** A USB cable (A -> micro B)
* Help -> Install new software ... -> work with '''-- All available sites --''' and add:
+
* A Mac
** '''Collaboration : Subversive SVN Team provider'''
+
** Supported are OS X 10.9 to 10.11
** '''GNU ARM C/C++ Cross Development Tools''': '''GNU ARM OpenOCD Debugging Support''' and '''GNU ARM C/C++ STM32Fx Project Template'''
+
** A USB port
** '''embsysregview''': '''Embedded Systems Register View (SFR)''' and '''EmbSysRegView Data'''
+
** 2 GByte free HDD space
* 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 variables:
+
** '''PATH''' : '''${PATH}:/opt/gcc-arm-none-eabi-4_8-2014q2/bin'''
+
** '''OPENOCD_PATH''' : '''/usr/local'''
+
  
 
{{TOC right}}
 
{{TOC right}}

Revision as of 10:53, 4 December 2015

Install a click-and-run IDE for stm32f4 based boards.

The Eclipse based ARMEBS4 IDE has been tested on OS X 10.9,OS X 10.10 and OS X 10.11.

The Eclipse-ARMEBS4 Application bundle contains all tools needed for ARMEBS4 or Cortex-M development. Just download it from here:

Download Eclipse-ARMEBS4 for Mac

Current Tools versions (Eclipse-ARMEBS4 2015-11)

  • Eclipse Mars (4.4.2 - 64 bits) - java developer edition
    • GNU ARM Eclipse Plug-ins
    • CDT
    • Subversive
    • EmbSysRegView
    • ...
  • gcc-arm-none-eabi - 4_9-2015q2-win32
  • Openocd - 0.9.0
  • MSYS - 1.0.11
  • make - 3.8.1
  • Zadig - 2.1.2
  • ARMEBS4 drivers - 1.0.1.0
  • Java SE Development Kit 8u40 (64 bits)
    • RXTX-2-2-20081207
  • svn - 1.8.13
  • doxygen - 1.8.9.1
  • FreeRtos+Trace - 2.7.5

Prerequisites

  • Get an ARMEBS4 Suitcase (ask someone from the ARMBES4 team)
    • Verify it's content:
      • An ARMEBS4 board
      • A USB cable (A -> micro B)
  • A Mac
    • Supported are OS X 10.9 to 10.11
    • A USB port
    • 2 GByte free HDD space

Contents

Personal tools
Namespaces
Variants
Actions
Navigation
Browse
Toolbox