Chapter 18

Input and Output Software Examples

Abstract

This chapter looks into common tasks in microcontroller projects, such as handling printf message and user inputs. Topics covered include re-targeting and semi-hosting in various tool chains including Keil® MDK-ARM®, IAR EWARM and gcc.

Keywords

Semihosting; retargeting; printf; peripheral; display; printf; ITM; trace; Serial Wire Viewer (SWV)

Chapter Outline

18.1 Producing outputs

In the last few chapters we have demonstrated simple programs that toggle LEDs on a development board ...

Get The Definitive Guide to ARM® Cortex®-M3 and Cortex®-M4 Processors, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.