Building the Sample Code

Follow these steps to build the sample code:

  1. In the Project Explorer view, right click on the folder for blinky and click Build Project. Alternatively, you can select the project and click the Build Project icon, which looks like a hammer, as shown in the "Beginning to Build a Project in the onsemi IDE" figure.

Figure: Beginning to Build a Project in the onsemi IDE

  1. When the build is running, the output of the build is shown in the onsemi IDE C/C++ Development Tooling (CDT) Build Console, as illustrated in the "Example of Build Output" figure.

Figure: Example of Build Output

  1. The key resulting output in Project Explorer, in the Debug folder, includes:
  • blinky.hex: hex file for loading into flash memory
  • blinky.elf: Arm® executable file, run from RAM, used for debugging
  • blinky.map: map file of the sections and memory usage

These files are shown in the "Output Files from Building a Sample Project" figure.

NOTE: You might need to refresh the project to see the three built output files. To do so, right-click on the project name blinky and choose Refresh from the menu.

Figure: Output Files from Building a Sample Project