ON Semiconductor
www.onsemi.com
13
Figure 10. Output Files from Building a Sample Project
NOTE: If the ON Semiconductor IDE has trouble finding the GNU toolchain, it might be caused by
having other GNU toolchains installed. See Appendix B, “Arm Toolchain Support” on page 50
for more information.
3.3 D
EBUGGING
THE
S
AMPLE
C
ODE
3.3.1 Debugging with the .elf File
Debug the application using the
.elf
file as follows:
1. Within the
Project Explore
r, right-click on the
blinky.elf
file and select
Debug As > Debug
Configurations…
2. When the
Debug Configurations
dialog appears, right-click on
GDB SEGGER J-Link Debugging
and
select
New
. A new configuration for
blinky
appears under the
GDB SEGGER
heading, with new
configuration details in the right side panel.
3. Change to the
Debugger
tab, and enter
RSL10
in the
Device
field. Ensure that
SWD
is selected as the target