GithubHelp home page GithubHelp logo

maksimdrachov / zephyr-rtos-tutorial Goto Github PK

View Code? Open in Web Editor NEW
235.0 11.0 34.0 13.35 MB

Zephyr: Tutorial for beginners

License: MIT License

CMake 9.34% C 88.09% Python 2.37% Ruby 0.20%
embedded zephyr zephyr-rtos tutorial

zephyr-rtos-tutorial's Introduction

A step-by-step guide that teaches you how to use Zephyr RTOS. It assumes:

  • knowledge of C
  • no previous experience with RTOS
  • basic embedded electronics knowledge (GPIO, Timers, Interrupt,...)

Each lesson builds on the previous one. Most lessons end with exercises (with solutions!) that show how the covered concepts can be used in a practical application.

This tutorial is under active development, if you want to participate - please read the Contribution guide.

A web version of this tutorial can be found here

Table of Contents

Useful Links

General

Youtube channels

Projects using Zephyr

Zephyr libraries

Contact

Follow me on twitter: stay up to date on my latest blogs/projects

zephyr-rtos-tutorial's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zephyr-rtos-tutorial's Issues

Zephyr Setup for Linux

I would like to write the tutorial for zephyr rtos setup for Linux environment.
Arch Linux to be more specific.
I am also learning zephyr right now.

Images not working on web version

Images are not loading on the web version, https://maksimdrachov.github.io/zephyr-rtos-tutorial/

Example link to image: "/images/2-introduction/sample-folder.png", to my understanding means it's trying to load it from the root URL, i.e. https://maksimdrachov.github.io/images/2-introduction/sample-folder.png which gives a 404

Whereas they should be, or at least they're accessable on: https://maksimdrachov.github.io/zephyr-rtos-tutorial/images/2-introduction/sample-folder.png
I think they should drop the leading forward slash but it's been a while since I did any web stuff
No idea how Just the Docs works otherwise I'd give it a go :)

Better layout / theme

I believe it would be more accessible if this used a theme such as Just the Docs, which would provide easier navigation and search functionality. (This is something I'm actively working on, at least for myself, and would like to contribute it back if possible).

Section on Device Trees

Good work on this project. Might be good to explain more about the device tree and related.

Add license

Great tutorial! Can you add a license to the project so we know what is fair use and proper attribution?

Thanks!

K_thread_define exercise

The current exercise invoking the k_thread_design function fails to compile in v3.1.99. I had to recast my_tid using:

extern const k_tid_t name; or extern const k_tid my_tid;

I hope this helps.

k_sleep parameter in the latest Zephyr API

Hi,
When I try to build the code in the thread start exercise, the k_sleep gave error. I found that the parameter k_sleep takes should be in type k_timeout_t (https://docs.zephyrproject.org/apidoc/latest/group__thread__apis.html#ga48d4b041790454da4d68ac8711f29657). And the code can be changed to k_sleep(K_MSEC(500)), or change the define of SLEEPTIME.

Have you thought of adding a section for drivers?

I'm in the process of developing for a board that needs to use a driver. I'm having trouble figuring out exactly how to use it. Do you have experience with using an existing Zephyr driver for UART, SPI, etc?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.