From 12fa2716dbc3ea80c833411b12fe403421cebb00 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Thu, 25 Jan 2018 11:00:18 -0500 Subject: hardware float support --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5e13666..ef55a5a 100644 --- a/Makefile +++ b/Makefile @@ -4,9 +4,9 @@ AS = as AR = ar OBJCOPY = objcopy -MCUFLAGS = -mthumb -mcpu=cortex-m4 +MCUFLAGS = -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 AFLAGS = $(MCUFLAGS) -CFLAGS = $(MCUFLAGS) -Iinclude -ffreestanding -Wall -Werror -Wextra +CFLAGS = $(MCUFLAGS) -Iinclude -fno-builtin -fsigned-char -ffreestanding -Wall -Werror -Wextra OFLAGS = -O ihex CFILES = $(wildcard src/*.c) -- cgit v1.2.3