Setup prerequisites and build Zephyr demo app
...
Download zephyr-sdk from the link below:
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:
- https://www.zephyrproject.org/doc/getting_started/getting_started.html
- https://wiki.zephyrproject.org/view/96B-Nitrogen#Debugging_with_GDB
- https://www.hashdefineelectronics.com/compiling-and-installing-openocd-with-cmcsis-dap-support/
- http://openocd.zylin.com/#/c/3511/
- https://patch-diff.githubusercontent.com/raw/mbedmicro/pyOCD/pull/196.diff
- https://github.com/mbedmicro/pyOCD/pull/196
- https://www.zephyrproject.org/doc/getting_started/getting_started.html
- https://www.96boards.org/documentation/IoTEdition/nitrogen/getting-started/
- http://openocd.org/doc/doxygen/html/patchguide.html#stepbystep