DEPRECATED: Use instread https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm Cortex M3/M4 with LLVM toolkit
Use instread LLVM embedded toolchain for Arm from ARM-Software
Cortex M with LLVM toolkit.
Example firmware for cortex-m using LLVM toolchain.
Tested well with LLVM/CLANG 6.0 or high from LLVM download site
This project provide a simple makefile set for working with LLVM/CLANG on cortex-m. Due to configure your target you need:
config.mk
with preferred parameters for your project (self explained into file)lib/mem.ld
)lib/link.ld
)src/start.c
Next, add your sources to src/*.c
or modify Makefile
to include others directories