-
Notifications
You must be signed in to change notification settings - Fork 14
Runtime library configuration
The Library Configuration tab provides an interface for configuring the runtime library options such as locale support, multibytes in printf()
, low-level interface implementation for stdout/stderr
, etc.
- Open the project’s options with Project → Options (ALT+F7).
- Navigate to the General Options category → Library Configuration tab.
- Select a library type according to the requirement.
Specifically for Arm targets,
- Select Semihosted for Library low-level interface implementation.
- If the device has the SWO pin, set stdout/stderr type to Via SWO. This will redirect the low-level output (from
printf()
, for example) to the Terminal I/O window.
Note
The default option is stdout/stderr: Via semihosting. Only devices with the SWO pin can use SWO to redirect output messages to the Terminal I/O window.
- Check the Use CMSIS option to enable CMSIS support.
Note
CMSIS is a standard firmware library infrastructure has been created by Arm Ltd. along with semiconductor and toolchain vendors. The Cortex® Microcontroller Software Interface Standard (CMSIS) defines a hardware abstraction layer which is available as a firmware library integrated into the IAR Embedded Workbench for Arm.
This is the IAR EWPtool wiki. Back to Home.