{"id":13457898,"url":"https://github.com/maksimdrachov/zephyr-rtos-tutorial","last_synced_at":"2025-04-05T17:05:41.513Z","repository":{"id":37573907,"uuid":"383702350","full_name":"maksimdrachov/zephyr-rtos-tutorial","owner":"maksimdrachov","description":"Zephyr: Tutorial for beginners","archived":false,"fork":false,"pushed_at":"2024-04-07T12:35:19.000Z","size":13666,"stargazers_count":338,"open_issues_count":9,"forks_count":62,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-03-29T16:08:19.133Z","etag":null,"topics":["embedded","tutorial","zephyr","zephyr-rtos"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maksimdrachov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-07T06:51:34.000Z","updated_at":"2025-03-29T14:47:19.000Z","dependencies_parsed_at":"2024-12-31T15:03:45.468Z","dependency_job_id":null,"html_url":"https://github.com/maksimdrachov/zephyr-rtos-tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maksimdrachov%2Fzephyr-rtos-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maksimdrachov%2Fzephyr-rtos-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maksimdrachov%2Fzephyr-rtos-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maksimdrachov%2Fzephyr-rtos-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maksimdrachov","download_url":"https://codeload.github.com/maksimdrachov/zephyr-rtos-tutorial/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247369952,"owners_count":20927928,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["embedded","tutorial","zephyr","zephyr-rtos"],"created_at":"2024-07-31T09:00:39.185Z","updated_at":"2025-04-05T17:05:41.494Z","avatar_url":"https://github.com/maksimdrachov.png","language":"C","funding_links":[],"categories":["Learning Material","Tutorials","Community Documentation"],"sub_categories":["Version Control","More useful APIs","Split Wired"],"readme":"   \u003ca href=\"https://www.zephyrproject.org\"\u003e\n     \u003cp align=\"center\"\u003e\n       \u003cimg src=\"images/logo_no_bg.png\"\u003e\n     \u003c/p\u003e\n   \u003c/a\u003e\n\nA step-by-step guide that teaches you how to use Zephyr RTOS. It assumes:\n- knowledge of C\n- no previous experience with RTOS\n- basic embedded electronics knowledge (GPIO, Timers, Interrupt,...)\n\nEach 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.\n\nThis tutorial is under active development, if you want to participate - please read the [Contribution guide](docs/Contributions.md).\n\n**A web version of this tutorial can be found [here](https://maksimdrachov.github.io/zephyr-rtos-tutorial)**\n\n## Table of Contents\n\n- [x] **[Introduction](docs/Introduction.md)**\n- [x] **[Contribution guide](docs/Contributions.md)**\n- [x] **[Prerequisites](docs/Prerequisites.md)**\n- [ ] **Lesson 1: Zephyr Setup** \n  - [ ] 1.1 Installation\n    - [x] [MacOS](docs/1-zephyr-setup/install/mac-os.md)\n    - [ ] [Linux](docs/1-zephyr-setup/install/linux.md)\n    - [ ] [Windows](docs/1-zephyr-setup/install/windows.md)\n  - [ ] 1.2 Basic Workspace Setup\n    - [x] [MacOS](docs/1-zephyr-setup/setup/mac-os.md)\n    - [ ] [Linux](docs/1-zephyr-setup/setup/linux.md)\n    - [ ] [Windows](docs/1-zephyr-setup/setup/windows.md)\n\n- [x] **Lesson 2: Introduction**\n  - [x] 2.1 [RTOS basics](docs/2-introduction/rtos-basics.md)\n  - [x] 2.2 [Zephyr structure](docs/2-introduction/zephyr-structure.md)\n  - [x] 2.3 [Tutorial structure](docs/2-introduction/tutorial-structure.md)\n  \n- [x] **Lesson 3: Threads**\n  - [x] 3.1 [Introduction](docs/3-threads/introduction.md)\n  - [x] 3.2 [Commands](docs/3-threads/commands.md)\n  - [x] 3.3 [Kconfig](docs/3-threads/kconfig.md)\n  - [x] 3.4 [Exercise](docs/3-threads/exercise.md)\n\n- [x] **Lesson 4: GPIO**\n  - [x] 4.1 [Introduction](docs/4-gpio/introduction.md)\n  - [x] 4.2 [Commands](docs/4-gpio/commands.md)\n  - [x] 4.3 [Kconfig](docs/4-gpio/kconfig.md)\n  - [x] 4.4 [Exercise](docs/4-gpio/exercise.md)\n\n- [x] **Lesson 5: Scheduling**\n  - [x] 5.1 [Introduction](docs/5-scheduling/introduction.md)\n  - [x] 5.2 [Commands](docs/5-scheduling/commands.md)\n  - [x] 5.3 [Kconfig](docs/5-scheduling/kconfig.md)\n  - [x] 5.4 [Exercise](docs/5-scheduling/exercise.md)\n\n- [ ] **Lesson 6: Logging**\n  - [x] 6.1 [Introduction](docs/6-logging/introduction.md)\n  - [x] 6.2 [Commands](docs/6-logging/commands.md)\n  - [x] 6.3 [Kconfig](docs/6-logging/kconfig.md)\n  - [ ] 6.4 [Exercise](docs/6-logging/exercise.md)\n\n- [ ] **Lesson 7: Debugging**\n  - [x] 7.1 [Introduction](docs/7-debugging/introduction.md)\n  - [x] 7.2 [Commands](docs/7-debugging/commands.md)\n  - [x] 7.3 [Kconfig](docs/7-debugging/kconfig.md)\n  - [x] 7.4 [Exercise](docs/7-debugging/exercise.md)\n\n- [x] **Lesson 8: Interrupts** \n  - [x] 8.1 [Introduction](docs/8-interrupts/introduction.md)\n  - [x] 8.2 [Commands](docs/8-interrupts/commands.md)\n  - [x] 8.3 [Kconfig](docs/8-interrupts/kconfig.md)\n  - [x] 8.4 [Exercise](docs/8-interrupts/exercise.md)\n\n- [ ] **Lesson 9: Timers**\n  - [x] 9.1 [Introduction](docs/9-timers/introduction.md)\n  - [x] 9.2 [Commands](docs/9-timers/commands.md)\n  - [x] 9.3 [Kconfig](docs/9-timers/kconfig.md)\n  - [x] 9.4 [Exercise](docs/9-timers/exercise.md)\n\n- [ ] **Lesson 10: Mutexes**\n  - [x] 10.1 [Introduction](docs/10-mutexes/introduction.md)\n  - [x] 10.2 [Commands](docs/10-mutexes/commands.md)\n  - [x] 10.3 [Kconfig](docs/10-mutexes/kconfig.md)\n  - [ ] 10.4 [Exercise](docs/10-mutexes/exercise.md)\n\n## Useful Links\n**General**\n- [Zephyr Official Documentation](https://docs.zephyrproject.org/latest/)\n- [Introduction to the Zephyr RTOS (video)](https://www.youtube.com/watch?v=jR5E5Kz9A-k)\n- [awesome-zephyr](https://github.com/fkromer/awesome-zephyr)\n\n**Youtube channels**\n- [The Linux Foundation](https://www.youtube.com/c/LinuxfoundationOrg/search?query=zephyr)\n- [Zephyr Project](https://www.youtube.com/c/ZephyrProject/videos)\n\n**Projects using Zephyr**\n- [Golioth: IoT cloud platform](https://github.com/golioth/zephyr-sdk)\n- [Battery management system](https://github.com/scttnlsn/bms)\n- [MG100: IoT sensor module](https://github.com/LairdCP/MG100_firmware)\n- [Anyl: Embedded crypto wallet (for IoT)](https://github.com/Anylsite/anyl-wallet)\n- [BLE sensor](https://github.com/patrickmoffitt/zephyr_ble_sensor)\n- [PineTime smartwatch](https://github.com/endian-albin/pinetime-hypnos)\n- [UWB position tracking](https://github.com/RT-LOC/zephyr-dwm1001)\n- [zmk: mechanical keyboard firmware](https://github.com/zmkfirmware/zmk)\n- [air quality sensor](https://github.com/ExploratoryEngineering/air-quality-sensor-node)\n\n**Zephyr libraries**\n- [Zephyr Scientific Library](https://github.com/zscilib/zscilib)\n- [micro-ROS Zephyr module](https://github.com/micro-ROS/micro_ros_zephyr_module)\n- [sof: sound/DSP firmware](https://github.com/thesofproject/sof)\n\n\n## Contact\nFollow me on [twitter](https://twitter.com/maksimdrachov): stay up to date on my latest blogs/projects","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaksimdrachov%2Fzephyr-rtos-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaksimdrachov%2Fzephyr-rtos-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaksimdrachov%2Fzephyr-rtos-tutorial/lists"}