From df2aac27e659461d3392623e6c4bb016c2868357 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Fri, 23 Apr 2021 22:39:08 -0700 Subject: [PATCH] clang doesn't work yet because there isn't a minimal set of headers for it.. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1fc4d95..637d878 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,11 @@ -ARMCC?= arm-none-eabi-gcc ARMOBJDUMP?= arm-none-eabi-objdump +ARMCC?= arm-none-eabi-gcc ARMTARGET?= -mcpu=cortex-m3 -mthumb -DSTROBE_SINGLE_THREAD=1 +# Clang doesn't work due to no-nano libc +#ARMCC?=clang-mp-9.0 +#ARMTARGET?= -nostdlib -ffreestanding -target arm-none-eabi -mcpu=cortex-m3 -mfloat-abi=soft -mthumb + PROG = lora.irr PROGEXT = .elf