How to use printf() to print string to Console and UART in KDS2.0

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use printf() to print string to Console and UART in KDS2.0

No ratings

How to use printf() to print string to Console and UART in KDS2.0

This document summarizes how to use printf() to print string to Console and UART in KDS2.0 .

 

Printing string to Console and UART both includes three conditions: Processor Expert project, KSDK project and bareboard project.

 

Refer to this document, we can use the printf() in KDS with any project conveniently.

Labels (1)
Attachments
Comments

I repeat printf to console  steps defined in “pdf” file:  #1.1 (page 2) and  #1.2 (page3).

  1. Working with new KDS v3.0.0 - No print to console
  2. Building the projects in KDS v2.0.0 - There is a print to console
  3. Importing the “FRDM-K64_printf_UART_baraboad.zip” project fail during Build debug with make*** [ProjectName.elf] error 1

Make_Error.jpg

KDS v2.0.0 and KDS v3.0.0 are using different libraries.

See Semihosting with Kinetis Design Studio | MCU on Eclipse  how to do semihosting with KDS v2.0.0.

See Semihosting for Kinetis Design Studio V3.0.0 and GNU ARM Embedded (launchpad) | MCU on Eclipse  how to use semihosting with KDS v3.0.0.

I hope this helps,

Erich

Version history
Revision #:
1 of 1
Last update:
‎03-25-2015 03:34 AM
Updated by: