![]() |
CMSIS-Compiler Support
Version 1.0.0
Standard C Library File, I/O and OS Retargeting
|
Application code frequently uses standard C library functions, such as fopen
, fwrite
, printf()
, scanf()
and others to perform input/output operations.
These functions may as well be used is a multithreaded environment.
The structure of these functions in the standard C run-time library together with the retarget interfaces is:
Standard C library functions are platform independent and can be easily ported, while the low-level interfaces needs to be tailored to the chosen platform. Generally low-level I/O functions serve to interact with the file system and a serial interface, i.e. terminal. Multithreading support is available for applications that run on top of an RTOS kernel. CMSIS-Compiler enables platform specific retargeting by providing software components that break down into the following interfaces:
The pages Low-Level I/O Retarget and Multithreading Support Retarget explain the details about how retargeting is done using the provided components.