Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

Device compilers

This topic is a discussion of Brew MP device compiler options and their generated output.

Brew MP applications are run on the Brew MP Simulator using DLL/DDL1s. Brew MP applications run on a device use a MOD/MOD1 file. The ARM compiler is used to generate these files for the ARM processor.

The following table shows the files used to run an application on the Simulator versus the files used to run an application on a physical device

File type Required files for Brew MP Simulator Required files for Brew MP device File source
Module Information File (MIF) yes yes
  • For Visual Studio and Eclipse workflows: generated by Brew MP cifc compiler
  • For command line: generated by the Brew MP Resource Manager
Brew MP Applet Resource File (BAR) optional optional
  • For Visual Studio and Eclipse workflows: generated by Brew MP cifc compiler
  • For command line: generated by the Brew MP Resource Manager
Dynamic Link Library (DLL/DLL1) yes n/a Compiled by Visual Studio or Eclipse IDEs
Module File (MOD/MOD1) n/a yes Compiled by ARM Compiler
Test Signature File (SIG) n/a yes Obtained from the device manufacturer
Locally-generated ClassID contained in MIF yes n/a
  • For Visual Studio and Eclipse workflows: locally generated. Brew MP Wizard generates local ClassID for use with the project framework. Local ClassIDs can also be generated from the Brew MP Resource Manager
  • For command line: locally generated via the Resource Manager
Unique ClassID included in MIF n/a yes Web-based Brew MP ClassID Generator

ARM Compilers

The following ARM compilers are compatible with Brew MP devices. The primers use the RVCT 2.2 compiler.

  • RealView Compilation Tools (RVCT) for Brew MP is based on the popular compiler, linker, and assembler components of the ARM Developer Suite version, but are specifically designed to target the Brew MP environment. Both the ARM Developer Suite and RVCT for Brew MP can be obtained from the http://www.arm.com/. The Brew MP Debugger (CDB) and Brew MP IDE Plugins are compatible with RVCT 2.2.
  • The ARM RealView Development Suite (RVDS) is a software development solution for creating applications for ARM architecture.
  • The http://www.codesourcery.com/sgpp/partners/brewmp/ G++ compiler for Brew MP is a free, open-source compiler.

Note: The ARM compiler should be installed in a path that doesn't contain any spaces.

Troubleshooting

The makefile generated points to the ARM environment variable RVCT22BIN. RVCTxxBIN needs to point to the correct directory. None of the RVCTxxBIN/INC/LIB paths can contain spaces. Ensure that the ARMLMD_LICENSE_FILE environment variable is pointing to the correct location.