From ed60865743a5d65240c9da353edb4dc20cf7009f Mon Sep 17 00:00:00 2001 From: Duncan Wilkie Date: Tue, 18 Jul 2023 11:55:03 -0500 Subject: Rename, add startup file. --- controller/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'controller/Makefile') diff --git a/controller/Makefile b/controller/Makefile index 00ed2da..9be9eb3 100644 --- a/controller/Makefile +++ b/controller/Makefile @@ -17,11 +17,11 @@ SRCS = $(wildcard src/*.c) \ OBJ = obj/ OBJS = $(addprefix $(OBJ),$(notdir $(SRCS:.c=.o))) LD_SCRIPT = ld/$(MCU).ld -IPATH = /home/dnw/Code/TivaC/libs +IPATH = /home/dnw/Code/TivaC/libs/driverlib # Flags. CFLAGS = -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections \ - -fdata-sections -MD -std=c99 -Wall -pedantic -DPART_${MCU} -c -Os -Dgcc -ggdb + -fdata-sections -MD -std=c2x -Wall -Wextra -Werror -DPART_${MCU} -c -Os -Dgcc -ggdb CFLAGS += ${patsubst %,-I%,${subst :, ,${IPATH}}} -iquote inc # Compiler/standard resource locations. -- cgit v1.2.3