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