Hi all,
I leave CCS for a while and I'm back to CCS V10 (latest version) on Windows 7 64bits, for a simple project using gcc V9 (latest version) in assembly code.
I'm a bit disappointed ;-)
The following file (test.S, the only file of project) :
-----------------------------------------------------------------
.text
Reset:
jmp Reset
.section .resetvect,"ax",@progbits
.word Reset
-----------------------------------------------------------------
generate the following errors during link time (compile is ok ;-) )
---------------------------------------------------------------
|
makefile:144: recipe for target 'test.out' failed c:/ti/ccs1010/ccs/tools/compiler/msp430-gcc-9.2.0.50_win64/bin/../lib/gcc/msp430-elf/9.2.0/../../../../msp430-elf/bin/ld.exe: test.out section `__reset_vector' will not fit in region `RESETVEC' c:/ti/ccs1010/ccs/tools/compiler/msp430-gcc-9.2.0.50_win64/bin/../lib/gcc/msp430-elf/9.2.0/../../../../msp430-elf/bin/ld.exe: region `RESETVEC' java-scripted by 2 bytes c:/ti/ccs1010/ccs/tools/compiler/msp430-gcc-9.2.0.50_win64/bin/../lib/gcc/msp430-elf/9.2.0/../../../../msp430-elf/bin/ld.exe: c:/ti/ccs1010/ccs/tools/compiler/msp430-gcc-9.2.0.50_win64/bin/../lib/gcc/msp430-elf/9.2.0/../../../../msp430-elf/lib\libcrt.a(crt_main.o): in function `.Loc.254.1': (.crt_0800call_main+0x4): undefined reference to `main' |
------------------------------------------------------------
Where am I wrong ?
Claude