Hello World sample

Open Console

Connect the cable between your SC-OBC Module A1 and your PC, then open the console on terminal:

tio /dev/ttyUSB2
To use the Zephyr console, bit3 (RX) and bit4 (TX) of DIP Switch (SW1) must be turned ON.

Build

Then open the another terminal, and build the sample.

cd ~/myproject
source .venv/bin/activate
west build -p always -b scobc_a1 --shield scobc_a1_dev zephyr/samples/hello_world

Flash

To flash with west flash, bit5 and bit6 of DIP Switch (SW1) must be turned ON.

Next, we’ll flash the SC-OBC Module A1:

west flash

Confirm

After power-cycle the SC-OBC Module A1, you should see the Hello World string on your serial console. If you want to exit the tio console, first press Ctrl + t, followed by q.