Blinky sample

For the Blinky sample, make sure that bit10 (LED control) of DIP Switch (SW1) is turned ON. If it is OFF, the LED will not blink.

Build

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

This should build your first application, Blinky.

These steps match the Build the Blinky Sample section in the Zephyr documentation.

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 flashing, power-cycle the SC-OBC Module A1. You should see the blinking LED (LED11).