Setup
1) Coolterm
-
Download and install Coolterm
-
Connect your board to your computer
-
Options: Set up serial connection with Nucleo- Port:
usbmodemxxxxx - Baudrate:
115200
- Port:

Terminal: check “Filter ASCII Escape Sequences” and pressOk

File -> Save: Save this configuration under~/zephyrproject

Connect

2) VSCode
-
Install VSCode
- Add the following extensions to VSCode:
- Clone tutorial repository into
~/zephyrprojectand open VSCode
cd ~/zephyrproject
git clone https://github.com/maksimdrachov/zephyr-rtos-tutorial
cd zephyr-rtos-tutorial
code .
- VSCode:
Terminal -> New Terminal
cd exercises/basic-sample
west build -b nucleo_l552ze_q
west flash
If you’ve previously made a build for a different board, remove the old build first:
rm -rf build
- Verify the serial output:

Your final setup should look something like this:
