Skip to content

Vaishnav-Sabari-Girish/Zephyr-Experiment

Repository files navigation

Zephyr Programs

This repo contains a list of programs written using Zephyr RTOS for the following boards

  1. STM32 Nucleo L433RC-P
  2. Nordic nrf52840dk

Steps for reproduction of environment

Install the Zephyr SDK by following the instructions on their official documentation

Create a $HOME/zephyrproject/ directory to store the source code of Zephyr RTOS

After running the commands given in this part of the documentation which is Getting Started and activating the Virtual Environment, make sure to assign the environment variable ZEPHYR_BASE to the path where you have stored zephyrproject/ folder i.e if it is in $HOME add the following line to your ~/.bashrc or ~/.zshrc

export ZEPHYR_BASE="$HOME/zephyrproject/zephyr/"

This allows you to create zephyr apps anywhere in your system.

Scripts

I have created scripts for making user experience better.

If you have just install run

just build
just size 
just clean
just check <config_name>   # Eg: just check GPIO
just dts <dts_node>        # Eg: just check button0

Or run:

./scripts/batch_build.d          # To build 
./scripts/batch_clean.d          # To clean
./scripts/batch_size.d           # To check binary size
./scripts/batch_check.d <config_name>         # To check the enabled and disabled configs in KConfig
./scripts/batch_dts.d   <dts_node>            # To check the data regarding specific DTS node

About

Hands-on experiments exploring Zephyr RTOS fundamentals, drivers, and embedded workflows.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors