ARM-software / cmsis-pack-eclipse

CMSIS-Pack Eclipse Plug-ins
Other
63 stars 32 forks source link

CMSIS-Pack Management for Eclipse

The CMSIS-Pack Management for Eclipse is created by ARM to provide a open-source reference implementation for the support of the CMSIS-Pack and CMSIS-Zone specification in the Eclipse environment. It implements the fundamentals to access the information and resources contained in Software Packs and can be re-used by the ARM eco-system in any type of tools, for example configuration utilities or development environments.

ARM is commited to maintain this CMSIS-Pack Management for Eclipse to ensure consistency with future extensions and modifications to the CMSIS-Pack Specification.

Releases can be found on the releases page of this repository containing:

For evaluation you need CMSIS-Pack compliant Software Packs that are available for download from the CMSIS Pack Repository.

License

The software is provided under the Eclipse Public License Version 2.0. Contributions to this project are under the same license and there is no additional Contributor License Agreement (CLA) required.

The Apache FreeMarker 2.3.29 is delivered under the Apache License 2.0: https://freemarker.apache.org/docs/app_license.html

The eo-yaml 7.0.9 is delivered under BSD 3-Clause "New" or "Revised" License (BSD-3-Clause) : https://github.com/decorators-squad/eo-yaml/blob/master/LICENSE

Platform

This release of the CMSIS-Pack Management for Eclipse has been tested on Eclipse 2023-06 and 2023-12.

Source Code

This repository contains the source code of the CMSIS-Pack Management for Eclipse that consists of the following plug-ins:

Starting from version 2.5.0 CMSIS-Zone functionality is supported. It includes the following plug-ins:

The following projects are added in version 2.5.0 to support Mave-based build:

Requirements: This release of the CMSIS-Pack Management for Eclipse requires JRE 11 to run and JDK 11 to build.

CMSIS-Pack Management Plug-In 1.0 has been presented at the Eclipse Conference Europe 2015

EclipseConEurope2015

The presentation is available on YouTube, slides to download: Enhanced Project Management for Embedded C/C++ Programming using Software Components

Hands-On : Using the CMSIS-Pack Management Plug-In

Eclipse Plug-In Overview

Installing the CMSIS-Pack Management Plug-In

  1. Download the CMSISPackPlugin_x.x.zip from corresponding release

  2. Use the Eclipse menu command: Help - Install New Software.... Click Add... and the Archive... and specify the location of the CMSISPackPlugin_x.x.zip file.

  3. (Optional) Download com.arm.cmsis.pack.refclient_x.x.x.x.jar to dropin folder of your Eclipse installation.

Installing Software Packs the CMSIS-Pack Management Plug-In

  1. Start Eclipse with installed CMSIS-Pack Management Plug-In.

  2. Specify the location of the installed Software Packs with the Eclipse menu command Window - Preferences - CMSIS Packs. The CMSIS Pack root folder is the base directory, for example C:\Keil_v5\ARM\Pack.

  3. Switch to "CMSIS Pack Management perspective" and press Check Web "Check for Updates on Web" toolbar button

  4. Install required Packs using "Packs" view

  5. (Optional) Install supplied ARM.RefClient.0.2.0.pack to evaluate example importing functionality

Creating RTE project

  1. Open New C/C++ Project wizard using Elipse menu command File -> New -> Project... -> C/C++ -> C Project.

  2. In the first page specify Project name, select desired Toolchain and "CMSIS RTE C/C++ Project" type, press Next. NewProjectWizardTemplatePage

  3. In the second page select a Toolchain Adapter and press next. Select Adapter

    Note: CMSIS-Pack Eclipse plug-in contains adapters for the following toolchains:

    If one of those toolchains is selected in the first page, the matching adapter is selected automatically.

    For any other toolchain select Generic Toolchain Adapter and a toolchain family (defines component filtering). That does not set all required compiler options, but allows to experiment with RTE Project management.

  4. In the third page select a device from the installed Software Packs and press Finish or continue to the next pages. Select Device

  5. New C/C++ will be created and the RTE configuration editor will open. The editor allows you to select the Software Components that are available based on your device and compiler selection. You may change the component selection and use the Resolve toolbar button. Component Selection

  6. Save the configuration by pressing Save toolbar button. This will trigger project update. You can now investigate project content, compiler settings and build the project.

Refer to integrated help for further information


Copyright (c) 2014-2024, ARM Limited and Contributors. All rights reserved.