Dear MSP-GCC Experts,

How can I fix this problem?
Followings are the error messgae and the "makefile".
Please help !

Regards,


Tony Jung


======= Error Message =====================
msp430-gcc -g -mmcu=msp430x449 -c main.c
msp430-gcc -g -mmcu=msp430x449 -c uart0.c
msp430-gcc -o test main.o lcd.o init.o comms_uart.o uart0.o display.o ade7758.o 
sched.o modmap.o modcrc.o modslv.o modutils.o regent.o system.o
msp430-ld: region text is full (test section .text)
msp430-ld: region data is full (test section .data)
msp430-ld: address 0x503 of test section .bss is not within region data
msp430-ld: address 0x503 of test section .noinit is not within region data
msp430-ld: section .vectors [0000ffe0 -> 0000ffff] overlaps section .text 
[0000fc00 -> 000164b7]
msp430-ld: test: section .vectors lma 0xffe0 overlaps previous sections
Make: *** [test] Error 1


======= Makefile ==========================

#
OBJS =  main.o \
                lcd.o \
                init.o \
                comms_uart.o \
                uart0.o \
                display.o \
                ade7758.o \
                sched.o \
                modmap.o \
                modcrc.o \
                modslv.o \
                modutils.o \
                regent.o \
                system.o
                

CC=msp430-gcc
CFLAGS= -g -mmcu=msp430x449


TARGET = test


$(TARGET): $(OBJS)
        $(CC) -o $@ $(OBJS)

clean:
        -rm -f $(OBJS)

        
main.o: includes.h main.c
        msp430-gcc -g -mmcu=msp430x449 -c main.c
        
lcd.o: includes.h lcd.c
        msp430-gcc -g -mmcu=msp430x449 -c lcd.c

init.o: includes.h init.c
        msp430-gcc -g -mmcu=msp430x449 -c init.c

comms_uart.o: includes.h comms_uart.c
        msp430-gcc -g -mmcu=msp430x449 -c comms_uart.c

uart0.o: includes.h uart0.c
        msp430-gcc -g -mmcu=msp430x449 -c uart0.c

display.o: includes.h display.h display.c
        msp430-gcc -g -mmcu=msp430x449 -c display.c

ade7758.o: includes.h ade7758.h eep_data.h ade7758.c
        msp430-gcc -g -mmcu=msp430x449 -c ade7758.c
        
sched.o: includes.h sched.c
        msp430-gcc -g -mmcu=msp430x449 -c sched.c

modcrc.o: modcrc.h modutils.h modcrc.c
        msp430-gcc -g -mmcu=msp430x449 -c modcrc.c

modmap.o: includes.h modslv.h regent.h eep_data.h modmap.c
        msp430-gcc -g -mmcu=msp430x449 -c modmap.c

modslv.o: modslv.h modutils.h modcrc.h sysapi.h eep_data.h modslv.c
        msp430-gcc -g -mmcu=msp430x449 -c modslv.c

modutils.o: modutils.h modutils.c
        msp430-gcc -g -mmcu=msp430x449 -c modutils.c

regent.o: pnc.h regent.h regent.c
        msp430-gcc -g -mmcu=msp430x449 -c regent.c

system.o: includes.h system.c
        msp430-gcc -g -mmcu=msp430x449 -c system.c

Reply via email to