Building the Sample Code

Build the sample code as follows:

  1. Right click on RSL15 and choose Rebuild all target files. Alternatively, you can use the icon shown in the "Starting to Build a Project in the Keil μVision IDE" figure.

NOTE: Compiling with Link-Time Optimization (LTO) enabled might result in some unexpected results. For more information on LTO, see this LTO article in the Arm Community website.

Figure: Starting to Build a Project in the Keil μVision IDE

  1. When the build is running, the output of the build is shown in the Build Output view in the IDE, as illustrated in the "Example of Build Output" figure.

Example of Build Output

Figure: Example of Build Output

  1. The key resulting output in Project Explorer in the IDE includes:
    • blinky.hex: HEX file for loading into Flash memory
    • blinky.axf: Arm executable file, run from RAM, used for debugging
    • blinky.map: map file of the sections and memory usage