Lab 2 – CCSv5 Projects
MSP430 Workshop - Programming C with CCS 2 - 41
Fix Your Project
21. What is wrong?
We searched the internet for: “msp430 printf” and found a wiki page that demonstrated how
to get printf() to work:
http://processors.wiki.ti.com/index.php/Printf_support_for_MSP430_CCSTUDIO_compiler
Since you may not have internet access in the classroom, here’s the relavent bit:
22. Increase the heap size.
Per the wiki suggestion, let’s increase the heap size size to 320 bytes.
Rt-click project Properties MSP430 Linker Basic Options
Increase Heap size to: 320
Hint: As a side note, if you look just below the entry for setting the Heap size, you will see
the setting for Stack size. This is where you would change the stack size of you
system, when/if that needs to be done.