I want to read a line of input from the Code Composer Studio (CCS) console using an MSP430
I am able to get printf(…) working to the CCS console by doing the following:
Proj properties -> Debug -> Enabled CIO function use
Proj properties -> Build -> Linker - Basic Options (set heap stack size to 500)
Given the interaction of stdout, CCS w/debugger and the FET works for printf(…), I am encouraged that reading from stdin is also possible.
My environment
MCU: MSP430F5171
IDE: Code Composer Studio 5.5.0.00077
The code fragment is as follows:
static char response[32] ;
...
fgets(response, 32, stdin) ;
// Code above immediately falls through to here and does not block for my input from the console
The compiler/linker have no warnings/errors. The code fragments I am using work in standard C/C++ environments with Eclipse IDE.
Any help is greatly appreciated.