An open API service indexing awesome lists of open source software.

https://github.com/fae-emea/cxarm

Container images with the IAR Build Tools for Arm
https://github.com/fae-emea/cxarm

arm build compiler container devcontai devcontainer docker github-actions infineon microchip nxp renesas st ti tools vscode

Last synced: 10 months ago
JSON representation

Container images with the IAR Build Tools for Arm

Awesome Lists containing this project

README

          

# CXARM container images

The IAR Build Tools for cloud-based environments and modern workflows. All the images from this registry are created directly from the [IAR Releases](https://github.com/iarsystems/arm).

# Scenarios

## Fetch only the base image
Using a container from the base image on GitHub Actions.
```yaml
...
jobs:
job-name:
runs-on: ubuntu-24.04
container: ghcr.io/fae-emea/cxarm
steps:
...
```

## Fetch a base image with device support for a single vendor
Using a container from the base image with device support on GitHub Actions. In the example below `` can be `additional`, `base`, `infineon`, `microchip`, `minimal`, `nxp`, `renesas`, `st` or `ti`.
```yaml
...
jobs:
job-name:
runs-on: ubuntu-24.04
container: ghcr.io/fae-emea/cxarm:9.60.4-
steps:
...
```

## Fetch base images with device support from multiple vendors
Using a container from the base image with device support from multiple vendors on GitHub Actions. In the example below `` can be `additional`, `base`, `infineon`, `microchip`, `minimal`, `nxp`, `renesas`, `st` or `ti`.
```yaml
...
jobs:
job-name-1:
runs-on: ubuntu-24.04
container: ghcr.io/fae-emea/cxarm:9.60.4-
steps:
...
job-name-2:
runs-on: ubuntu-24.04
container: ghcr.io/fae-emea/cxarm:9.60.4-
steps:
...
```

## Fetch a minimalistic image
The minimalistic image is a lightweight variant from the base image that can be used for faster fetching. It comes only with the bare essentials: the compiler and its binary utilities. For `icstat` and `iarbuild`, use the `-base` image instead.
```yaml
...
jobs:
job-name:
runs-on: ubuntu-24.04
container: ghcr.io/fae-emea/cxarm:9.60.4-minimal
steps:
...
```

## Dev container
The very same images can be used in [dev containers](https://containers.dev/implementors/json_reference/) on [Visual Studio Code](https://code.visualstudio.com/docs/remote/remote-overview), by adding a `.devcontainer/devcontainer.json` file to the project. For example:
```json
{
"image": "ghcr.io/fae-emea/cxarm:9.60.4-st",
"containerEnv": {
"IAR_LMS_BEARER_TOKEN": "${localEnv:IAR_LMS_BEARER_TOKEN}"
},
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.cpptools-extension-pack",
"ms-vscode-remote.vscode-remote-extensionpack",
"ms-vscode.vscode-serial-monitor",
"github.vscode-github-actions",
"iarsystems.iar-debug"
]
}
}
}
```
Install the [Remote Development Extension Pack](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack) and then use the Pallete menu (`CTRL`+`SHIFT`+`P`) searching for "Dev Containers: Reopen in Container".

# Live example
The repository [modern-workflow](https://github.com/fae-emea/modern-workflow) is a live example using a container image with device support for building and analysis of a project developed with the IAR technology.