remove -g to get it to compile with LTS-20120406

This commit is contained in:
matthias.ringwald 2012-04-27 21:49:09 +00:00
parent 534f4788a4
commit f02a521e8e
2 changed files with 3 additions and 4 deletions

View File

@ -7,7 +7,7 @@
BTSTACK_ROOT = ../..
CC = msp430-gcc
CFLAGS = -mmcu=msp430f5438a -g -Os -Wall -I. -I../src -I../firmware -I${BTSTACK_ROOT} -I${BTSTACK_ROOT}/chipset-cc256x -I${BTSTACK_ROOT}/src -I${BTSTACK_ROOT}/ble -I${BTSTACK_ROOT}/include
CFLAGS = -mmcu=msp430f5438a -Os -Wall -I. -I../src -I../firmware -I${BTSTACK_ROOT} -I${BTSTACK_ROOT}/chipset-cc256x -I${BTSTACK_ROOT}/src -I${BTSTACK_ROOT}/ble -I${BTSTACK_ROOT}/include
LDFLAGS = -mmcu=msp430f5438a
CORE = \
@ -47,7 +47,6 @@ LCD_OBJ = $(LCD:.c=.o)
%.hex: %.out
msp430-objcopy -O ihex $< $@
# create firmware image from common objects and example source file
all: ble_server.out
@ -55,7 +54,7 @@ all: ble_server.out
profile.h: profile.gatt
${BTSTACK_ROOT}/ble/compile-gatt.py $< $@
ble_server.out: profile.h ble_server.o ${CORE_OBJ} ${COMMON_OBJ} ${LCD_OBJ}
ble_server.out: profile.h ble_server.o ${CORE_OBJ} ${COMMON_OBJ} ${LCD_OBJ}
${CC} $^ ${LDFLAGS} -o $@

View File

@ -9,7 +9,7 @@
BTSTACK_ROOT = ../..
CC = msp430-gcc
CFLAGS = -mmcu=msp430f5438a -g -Os -Wall -I. -I../src -I../firmware -I${BTSTACK_ROOT} -I${BTSTACK_ROOT}/chipset-cc256x -I${BTSTACK_ROOT}/src -I${BTSTACK_ROOT}/include
CFLAGS = -mmcu=msp430f5438a -Os -Wall -I. -I../src -I../firmware -I${BTSTACK_ROOT} -I${BTSTACK_ROOT}/chipset-cc256x -I${BTSTACK_ROOT}/src -I${BTSTACK_ROOT}/include
LDFLAGS = -mmcu=msp430f5438a
CORE = \