Skip to content

StaflSystems/stafl-devcontainer-iar-public

Repository files navigation

Stafl DevContainer - IAR

Introduction

This devcontainer is based on StaflSystems/stafl-devcontainer but adds IAR Build Tools for ARM.

Building the Container for CI Use

  • Place the .deb file(s) for IAR Build Tools for ARM in stafl-devcontainer/iar
  • Run docker build stafl-devcontainer-iar -t stafl-devcontainer-iar:latest
    • Add --build-arg BXARM=fs to build the container with the FuSa version of IAR Build Tools for ARM.

License Setup

Run the following commands inside the container to set up the IAR license:

PACKAGE_DIR=$(find /opt/iarsystems -type l)
LICENSE_SERVER="<some hostname or IP address>"
${PACKAGE_DIR}/common/bin/lightlicensemanager setup -s ${LICENSE_SERVER}

Use with VSCode

  • Follow comments in .devcontainer/devcontainer.json to make required customizations.
  • Follow comments in docker-compose.yml to make required customizations.
  • Follow instructions on https://code.visualstudio.com/docs/devcontainers/containers to setup the container.
  • Run the license setup inside the container.

About

IAR Devcontainer build scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published