16.5 About passing arguments to main()

ARM® DS-5™ Debugger enables you to pass arguments to the main() function of your application.

You can use one of the following methods:

  • Using the Arguments tab in the Debug Configuration dialog box.

  • On the command-line (or in a script), you can use either:

    • set semihosting args <arguments>

    • run <arguments>.

Note:

Semihosting must be active for these to work with bare-metal images.
Non-ConfidentialPDF file icon PDF versionARM DUI0446Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.