Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Setup prerequisites and build Zephyr demo app

...

Code Block
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git 
sudo apt install build-essential ncurses-dev doxygen dfu-util device-tree-compiler

...

Download zephyr-sdk from the link below:

https://github.com/zephyrproject-rtos/meta-zephyr-sdk/releases/download/0.9.1/zephyr-sdk-0.9.1-setup.run

Code Block
chmod +x zephyr-sdk-<version>-setup.run
./zephyr-sdk-<version>-setup.run

...

Flashing an Application to 96Boards Nitrogen:

This example uses the Hello World sample with the pyOCD tools. Use the make flash build target to build your Zephyr application, invoke the pyOCD flash tool and program your Zephyr application to flash.

Code Block
cd <zephyr_root_path>
. zephyr-env.sh
cd samples/hello_world/
make BOARD=96b_nitrogen

References: