| |||
Home > Writing Code for ROM > Example 3: Using the embedded C library |
This example shows an application that makes use of a function
from the Embedded C library, in this case, sprintf()
.
The code for startup.s
and print.c
is
in the Examples\rom\embed_lib
subdirectory
of your SDT installation directory (normally c:\ARM250\Examples\rom\embed_lib
),
and is included below for reference.
For more information on the Embedded C library, refer to Chapter 4 The C and C++ Libraries in the ARM Software Development Toolkit Reference Guide.