1.3.197 stdin

Specifies semihosting input requested by application code.

Note:

This command is not required if you launch the debugger within Eclipse or if you use a telnet session to interact directly with the application.

Syntax

stdin [input]

Where:

input

Specifies semihosting input requested by application code. This must be terminated by  \n  to tell the debugger that the input is complete.

You can use this command before the input is required by the application code. All input is buffered by the debugger until requested and then discarded when the semihosting operation finishes.

Example 1-200 Examples

stdin 10000\n                # Pass the number 10000 to the application.
Non-ConfidentialPDF file icon PDF versionARM DUI0452Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.