From 32a3f4e8a1d7339deb993e8775afc99f37bee938 Mon Sep 17 00:00:00 2001 From: Paul Bartell Date: Thu, 1 Dec 2022 17:15:33 -0800 Subject: [PATCH] msp430_GCC: Update makefile for most recent mspgcc --- FreeRTOS/Demo/msp430_GCC/makefile | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/FreeRTOS/Demo/msp430_GCC/makefile b/FreeRTOS/Demo/msp430_GCC/makefile index f546f54b2..581b51285 100644 --- a/FreeRTOS/Demo/msp430_GCC/makefile +++ b/FreeRTOS/Demo/msp430_GCC/makefile @@ -33,7 +33,7 @@ OPT=-Os WARNINGS=-Wall -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare \ -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -CFLAGS=-mmcu=msp430x449 $(OPT) $(DEBUG) -I. -I../../Source/include -I../Common/include -DGCC_MSP430 $(WARNINGS) +CFLAGS=-mcpu=430 -mmcu=msp430f449 $(OPT) $(DEBUG) -I. -I../../Source/include -I../Common/include -DGCC_MSP430 $(WARNINGS) # Setup paths to source code SOURCE_PATH = ../../Source @@ -69,16 +69,4 @@ $(OBJ) : %.o : %.c makefile $(CC) -c $(CFLAGS) $< -o $@ clean : - touch makefile - - - - - - - - - - - - + ${RM} ${OBJ} a.out