Anyone have tried to use the scanf function with CCE 3.2?.
The printf function works fine after enable the CIO function use and
specify the heap size to 400. The level of printf support was chosen
With IAR the IO console have two different spaces: one for output; the
other for input. In CCE the input and output share the same space
(with different colours).
The scanf function always returns -1.
Anyone can help?
Scanf from the console does not seem to be working correctly in this version of CCE. It will be fixed in the next major release.
Scanf from files is working as expected. It is not ideal, but you could keep a file open in an editor, add your input there, and read from that instead of the console.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.