Hello
I am new to the TI launchpad and I am unable to get the hello World example to compile and run, Blink works fine tho. From what I can tell I should have enough memory on the MSP430G2553 Chip that came with the Launchpad but its not working. I have set the -printf_support=minimal and tried noFloat, but its still not working.
Below you can find the code and the error, Any Help Would Be Great!
Thanks Chris
This is the code
#include <stdio.h> void main(void) { printf("Hello World!\n"); }
And this is the error I get
'Building target: hello world.out'
'Invoking: MSP430 Linker'
"C:/ti/ccsv5/tools/compiler/msp430/bin/cl430" -vmsp --abi=eabi -g --define=__MSP430G2553__ --diag_warning=225 --display_error_number --printf_support=minimal -z -m"hello world.map" --stack_size=80 --heap_size=80 -i"C:/ti/ccsv5/ccs_base/msp430/include" -i"C:/ti/ccsv5/tools/compiler/msp430/lib" -i"C:/ti/ccsv5/tools/compiler/msp430/include" --reread_libs --warn_sections --rom_model -o "hello world.out" "./hello.obj" -l"libc.a" "../lnk_msp430g2553.cmd"
<Linking>
warning #10247-D: creating output section ".data" without a SECTIONS
specification
"../lnk_msp430g2553.cmd", line 63: error #10099-D: program will not fit into
available memory. run placement with alignment fails for section ".cio"
size 0x120 . Available memory ranges:
RAM size: 0x200 unused: 0x2e max hole: 0x2c
error #10010: errors encountered during linking; "hello world.out" not built