Use arm-none-eabi- compilation toolchain for embeded micro-controllers. No need of...
authorNathael Pajani <nathael.pajani@ed3l.fr>
Fri, 27 Feb 2015 09:19:31 +0000 (10:19 +0100)
committerNathael Pajani <nathael.pajani@ed3l.fr>
Tue, 8 Nov 2022 16:03:04 +0000 (17:03 +0100)
Makefile

index 009719c..4331d04 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ LPC = lpc1224
 CPU = cortex-m0
 ARCH = armv6-m
 
-CROSS_COMPILE ?= arm-linux-gnueabi-
+CROSS_COMPILE ?= arm-none-eabi-
 CC = $(CROSS_COMPILE)gcc
 FOPTS = -fno-builtin -ffunction-sections -fdata-sections -ffreestanding
 CFLAGS = -Wall -O2 -mthumb -mcpu=$(CPU) $(FOPTS)