Today I came across a funny problem: the following code would not print anything (in Code Composer you are supposed to get a console window that pops up and shows your the STDIO stuff).
#include <stdio.h> int main() { printf("Hello!\n"); return 0; }
Turns out this is because printf and other I/O functions require a huge stack and heap size. To fix this, go to Project -> Properties -> Build -> MSP430 Linker -> Basic Options -> set stack size to 500 and set heap size to 500