Skip to content

A cross-compiler toolchain for macOS (13) arm64 host and arm-none-eabi targets optimized for cortex-m0+, cortex-m4f and cortex-m7f

Notifications You must be signed in to change notification settings

tsandmann/arm-cortexm-toolchain-macos-arm64

Repository files navigation

arm-cortexm-toolchain-macos-arm64

A cross-compiler toolchain for macOS (13) arm64 host and arm-none-eabi targets optimized for cortex-m0+, cortex-m4f and cortex-m7f.

Installation

Checkout somewhere (e.g. to /usr/local/arm-none-eabi) and add the bin folder of that path (e.g /usr/local/arm-none-eabi/bin) to PATH.

Components and Versions

  • gcc 13.2, newlib 4.4, binutils 2.39, gdb 14.1 (built with crosstool-ng)
    • newlib is built with nano malloc
    • newlib is available in two versions:
      1. with standard printf (libc.a)
      2. with nano formatted io printf (libc_nano.a), select with --specs=nano.specs
    • newlib and libstdc++ are build with unwind tables, if not needed, discard sections .ARM.exidx and .ARM.extab via linker script to save some memory

About

A cross-compiler toolchain for macOS (13) arm64 host and arm-none-eabi targets optimized for cortex-m0+, cortex-m4f and cortex-m7f

Resources

Stars

Watchers

Forks