You are now ready to build the code and run it on the target hardware.
Click the Build
button to compile source code, and link together.
If running the code from Flash on the board, ensure your board is connected to your host machine. Click Download
to load it onto the Flash memory on the board.
This step is not necessary if using the VHT
target, or running code from SRAM.
Once flashed onto the board, you can start a debug session.
Open the Call Stack + Locals
tab in the IDE. This will show the value of the variables a
and b
.
Step through the program and notice how the values of a
and b
change.
You will see the string “Hello world!” copy to b, and then be capitalized.