ARM bare-metal toolchain (arm-none-eabi) with OpenOCD, CMake, git on Alpine (single-stage).
5.8K
Support: wischner.co.uk/support
wischner/gcc-arm-none-eabi is a ready-to-use Ubuntu 22.04 based Docker image for ARM bare-metal development with the arm-none-eabi toolchain.
It is designed as the general-purpose ARM base image in the Wischner toolchain family. Use it for Cortex-M and other microcontroller projects when you want a clean GNU embedded workflow with compiler, linker, debugger, and OpenOCD already installed.
arm-none-eabi-gcc and arm-none-eabi-g++binutils-arm-none-eabigdb-multiarchopenocdcmake, make, ninja, pkg-configgitpyserial and pyelftoolsusbutils, libusb, and hidapiInteractive shell:
docker run --rm -it \
-v "$PWD":/work -w /work \
wischner/gcc-arm-none-eabi:latest \
bash
Compile a simple Cortex-M program:
docker run --rm \
-u $(id -u):$(id -g) \
-v "$PWD":/work -w /work \
wischner/gcc-arm-none-eabi:latest \
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -Os \
-ffunction-sections -fdata-sections \
-Wl,--gc-sections -nostartfiles -specs=nosys.specs \
-o hello.elf hello.c
/work/usr/bin/opt/arm-none-eabi/binARM_NONE_EABI_TOOLCHAIN_PATH=/usrContributions are welcome. Please open an issue or pull request: https://github.com/wischner/docker-toolchains
Content type
Image
Digest
sha256:0578140b9…
Size
864.5 MB
Last updated
about 2 months ago
docker pull wischner/gcc-arm-none-eabi