Link Search Menu Expand Document

Setup

1) Coolterm

  • Download and install Coolterm

  • Connect your board to your computer

  • Options: Set up serial connection with Nucleo

    • Port: usbmodemxxxxx
    • Baudrate: 115200

coolterm-1

  • Terminal: check “Filter ASCII Escape Sequences” and press Ok

coolterm-2

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

coolterm-settings

  • Connect

coolterm-connect

2) 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:

coolterm-3

Your final setup should look something like this:

final-setup