layout | title | parent | grand_parent | nav_order |
---|---|---|---|---|
post |
MacOS |
1.2 Workspace Setup |
1. Zephyr Setup |
1 |
-
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
-
Install VSCode
-
Add the following extensions to VSCode:
-
Clone tutorial repository into
~/zephyrproject
and 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
{: .note }
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: