How To Use Zephyr Overlays

Поділитися
Вставка
  • Опубліковано 29 чер 2024
  • More information is available here: blog.golioth.io/can-zephyr-ov...
    In this video we discuss how to use an "overlay" in Zephyr, which allows customization of firmware images for particular hardware targets. For instance, we might use the "device tree overlay" to change which pin we are targeting for a signal assigned to LED0. In this particular example, we are showing how to change the pins for the ESP32 demo. This is a further explanation of the device tree overlay shown in the LightDB Demo Videos:
    Part 1: • Golioth LightDB Demo
    Part 2: • Golioth LightDB WebApp...
    The Zephyr Project (zephyrproject.org/) is a popular and growing Real Time Operating System (RTOS) used for bringing a range of features into the realm of possibility for embedded devices. Golioth uses Zephyr as part of the Golioth SDK to bootstrap application examples and show how to utilize the range of networking features Golioth enables via their APIs.
    Device Tree Overlay Docs: docs.zephyrproject.org/latest...
    Golioth: golioth.io
    Golioth Docs: docs.golioth.io
    Golioth Console: console.golioth.io
    0:00 Introduction
    0:45 2 types of Zephyr overlays
    2:15 Configuring a GPIO using an device overlay
    4:00 LightDB example on ESP32
    6:30 Looking at a configuration overlay
    8:00 Tweaking memory and enabling libraries
    10:30 Where to look in Zephyr directories
    13:15 Connecting LEDs to pins
    15:10 The difficulties of porting between boards/chips (before Zephyr)
    19:15 Reviewing source code
    23:10 Extending the idea to other GPIO examples
    24:00 Conclusion
    #ZephyrRTOS

КОМЕНТАРІ • 11

  • @scotts4406
    @scotts4406 Рік тому

    Thanks Chris for asking questions and clarifying some of the confusing terminology. It is very helpful for viewers for the presenter to not assume that the basics are familiar to the viewers.

  • @voytek_two_thousand
    @voytek_two_thousand 2 роки тому +3

    I wish I watched this video 3 months ago. Good way to consolidate my own learnings.
    Great video, thanks Chris, dziekuje Marcin

    • @GoliothOfficial
      @GoliothOfficial  2 роки тому

      Glad it was helpful! Are there other Zephyr topics you'd like to see covered?

    • @voytek_two_thousand
      @voytek_two_thousand 2 роки тому +1

      @@GoliothOfficial if you could do something on AT modems and MQTT subsciribe, but using the ZEPHYR stack rather then the one built into the modem firmware.

  • @yaghiyahbrenner8902
    @yaghiyahbrenner8902 2 роки тому +1

    good video. I would recommend when sharing the screen zoom into the screenshare/code editor things isn't really clearly communicated if the audio and code isn't is sync with the video.

  • @rhythmpatel9098
    @rhythmpatel9098 Рік тому +1

    Hi, I am trying to understand overlay in zephyr (completely different from Linux). If zephyr compiles the dts file to static header that drivers can use; then I can safely assume that overlay files are compiled (with main device tree source file) to static header file with updated values? There is nothing dynamically update going on (it shouldn't be possible since values were statically induced in drivers), right?

  • @ocyberestagiario
    @ocyberestagiario 2 роки тому

    hey man,thanks a lot !

    • @GoliothOfficial
      @GoliothOfficial  2 роки тому +1

      You're welcome! Are there other Zephyr topics you'd like to see us cover?

    • @ocyberestagiario
      @ocyberestagiario 2 роки тому +1

      @@GoliothOfficial of couse

    • @GoliothOfficial
      @GoliothOfficial  2 роки тому

      @@ocyberestagiario We got you covered, stay tuned!

  • @user-yb9yr2wu8v
    @user-yb9yr2wu8v Рік тому

    学到了很多