ARM Cortex MX

From ErikaWiki

Revision as of 16:43, 25 January 2012 by Outlawch (Talk | contribs)
Jump to: navigation, search

Contents

ARM Cortex MX support

ERIKA Enterprise supports ARM Cortex MX microcontrollers. The support for RT-Druid is now available.

The Cortex M0 support includes:

  1. support for IAR and Keil ARM compiler;
  2. support for single and multi stack configurations;
  3. ISR interrupt supported;
  4. support for IAR J-Link Debugger.

The Cortex M4 support includes:

  1. support for Texas Instruments TMS470 and Keil ARM compiler;
  2. support for single and multi stack configurations;
  3. ISR interrupt supported;
  4. support for Texas Instruments Stellaris ICDI and Keil ULINK2 Debugger.
  • Supported compiler:
    • IAR Embedded Workbench compiler and debugger tool suite. (Cortex M0)
    • Texas Instruments Code Composer Studio compiler and debugger tool suite. (Cortex M4)
    • Keil uVision compiler and debugger tool suite. (Cortex M0 and Cortex M4)
  • Mode of operation:
    • Mono-stack: The Monostack configuration of the ERIKA Kernel models the fact that all tasks and ISRs in the system share the same stack.
    • Multistack HAL: Every thread can have its private stack, or it can share it with other threads.

MCUs

  • The MCUs currently supported are the following:
    • NXP LPC12xx. (Cortex M0)
    • Texas Instruments Stellaris LM4F232xxxx. (Cortex M4)

Boards

  • The boards currently supported are the following:
    • NXP LPCXpresso LPC1227 demo board. (Cortex M0)
    • Texas Instruments Stellaris LM4F232H5QD evaluation board. (Cortex M4)
  • List of functions:
    • Currently the NXP LPCXpresso demo board (Cortex M0) is supported through the CMSIS library.
    • Currently the Texas Instruments Stellaris LM4F232H5QD (Cortex M4) evaluation board is supported through AUTOSAR Drivers.

Choosing compiler

It is possible to choose the path of the compiler in three different ways:

  • environment var:
    • IAR compiler: the IAR_CCDIR variable is able to override the path compiler set in RT-Druid during the build progress.
    • Texas Instruments TMS40 compiler: CCS_INSTALL_ROOT variable is able to override the path compiler set in RT-Druid during the build progress.
    • Keil ARM compiler: ARM_ROOT variable is able to override the path compiler set in RT-Druid during the build progress.
  • configuration file:
    • command line versions of RT-Druid accept a configuration file, usually located at configuration/common_oil.pref.
      This file is in the java properties format (i.e. each line is composed by keyword=value).
      The keyword preference_cortex_m0__path_for_cc_compiler can be used to set the compiler path for Cortex MX.
  • gui:
    • inside eclipse preferences, it is possible to set the path of Cortex MX complier

Download and install

  • The Cortex MX plug-in for Eclipse is part of the official distribution of RT-Druid.

The procedure to install (or update) Erika and RT-Druid plugins is described at Tutorial: Update ERIKA and RT-Druid.

Libraries

Examples

  • The examples and tests are available in the new release (see below...).

See also

Personal tools