You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simple Hello World example for NXP LPCXpresso55S69 Development Board.
This example prints "Hello World" and a counter value via the standard output which is routed to the debug console through Virtual COM port.
Prerequisites
The following tools need to be installed on your machine:
Required tools described in file vcpkg-configuration.json should be automatically installed by vcpkg. You can see the
status of vcpkg in the status bar.
Required CMSIS packs need to be also installed. In case a required pack is missing, a notification window will pop-up
to install the missing pack.
Open the 'CMSIS' view from the side bar, select desired 'Build Type' and press the 'Build' button.
Using Command Line Interface (CLI)
Download required packs (not required when the packs are already available) by executing the following commands:
Build the project by executing the following command:
cbuild hello.csolution.yml
Run the example
Run in Visual Studio Code
Connect the board's ST-LINK USB to the PC (provides also power).
Open the 'CMSIS' view from the side bar:
Press the 'Run' button and wait until the image is programmed and starts running.
Using Drag-and-drop programming or external programmer and terminal
Connect the board's ST-LINK USB to the PC (provides also power).
Program the image (.hex) using drag-and-drop programming or use an external programmer.
Open a terminal on the PC and connect to the board's serial port with 115200 baud rate.
Observe the terminal output.
Debug the example
Before starting to debug the application, make sure that you have gone through the steps as described in the
run the application section.
Debug in Visual Studio Code
Open the CMSIS view from the side bar and press the Debug button. In the Debug view, use the
SERIAL MONITOR to connect to the board's serial port with 115200 baud rate and observe the output.
About
Simple Hello World example for NXP LPCXpresso55S69