[#2] ESP32 on Zephyr OS: "Hello, world!" (Blinking LED) [Part 2]

  Рет қаралды 10,704

The Pull-up Resistor Channel

The Pull-up Resistor Channel

Күн бұрын

The ESP32 family of microcontrollers are capable devices with many built-in peripherals, including Bluetooth and Wi-Fi. The official SDK and toolchain is the ESP IoT Development Framework (ESP-IDF) and uses FreeRTOS as its real-time operating system.
However, in this tutorial series, we'll use the Zephyr real-time operating system and SDK to program the firmware for the ESP32. This is the second video in the series, so I recommend watching the previous video first: • [#1] ESP32 on Zephyr O...
Links:
Zephyr Getting Started Guide: docs.zephyrpro...
ESP32 specific instructions: docs.zephyrpro...
ESP32 Technical Reference Manual: www.espressif....
Zephyr Devicetree Mysteries, Solved: • Zephyr Devicetree Myst...
Github repository: github.com/bok...

Пікірлер: 28
@TheIndianSniper
@TheIndianSniper 2 жыл бұрын
please make more, Really loved the content, the quality and the information in the video!!!
@thepullupresistor
@thepullupresistor 2 жыл бұрын
Thank you very much for your encouragement. I've just uploaded the next video in the series, I hope you'll enjoy it, too.
@gastonmelo6473
@gastonmelo6473 2 ай бұрын
u deserve a oscar man for the way u explain°!!!!
@vanhuynguyen3892
@vanhuynguyen3892 Жыл бұрын
this series is super intuitive, and helpful for someone didn't have experience in linux. Thank you so much! Can't believe you only have some hundreds of subs.
@thepullupresistor
@thepullupresistor Жыл бұрын
Your feedback is so valuable to me, as this was the reason I decided to start making these videos in the first place. With regards to subscribers, your individual comments and feedback are far more motivating than having many more subscribers. Knowing that a few people are finding the videos helpful makes my day :-)
@inaamulhaq5866
@inaamulhaq5866 2 ай бұрын
dude is a genius, life saver
@NewCenturyOfGaming
@NewCenturyOfGaming Жыл бұрын
Thank you so much for your explanations! I've never worked with Zephyr RTOS before, so your insight has been invaluable to me. Before watching this series, I actually didn't know what .dts and .dtsi files meant or what they were used for. I really appreciate the effort you put into these videos, I learned a lot!
@thepullupresistor
@thepullupresistor Жыл бұрын
Great to know that you found the video series useful. I also didn't know anything about .dts and .dtsi files before exploring Zephyr, and it was quite a steep learning curve.
@koxu25cm
@koxu25cm 9 ай бұрын
For people wondering why overlay is not included into the final dts file, you need to include this .overlay in CMakeLists with for example "set(DTC_OVERLAY_FILE "esp32.overlay")"
@thepullupresistor
@thepullupresistor 8 ай бұрын
Thank you for sharing that insight with everyone! I believe that Zephyr changed the board naming last year, so that the esp32.overlay file was not automatically picked up. Currently, I usually just call my overlay file app.overlay instead of esp32.overlay, as per the manual here: docs.zephyrproject.org/latest/build/dts/howtos.html#set-devicetree-overlays Thanks again for taking the time to help anyone facing similar issues.
@QAYWSXEDCCXYDSAEWQ
@QAYWSXEDCCXYDSAEWQ Ай бұрын
This is super cryptic programming, truly for bit twiddlers
@deterdamel7380
@deterdamel7380 2 жыл бұрын
Again, great content!
@thepullupresistor
@thepullupresistor 2 жыл бұрын
Thanks again! :-)
@andreyparovozz
@andreyparovozz Жыл бұрын
magnificent miracle
@jayakrishnanharikumaran676
@jayakrishnanharikumaran676 4 ай бұрын
Currently we only have pin 25 specified in the blinking_leds port. What if we had more than one pin in the port? would all gpios defined in that port toggle?
@DerrickEdwards1007
@DerrickEdwards1007 2 жыл бұрын
Great Videos. Thanks
@thepullupresistor
@thepullupresistor 2 жыл бұрын
Thank you very much for your kind feedback! :-)
@duyphuong9217
@duyphuong9217 2 жыл бұрын
i love this awesome video, its clearly , Can you make tutorial for nrf5xx with zephyr?. Many thanks
@thepullupresistor
@thepullupresistor 2 жыл бұрын
It makes me very happy that you found the video useful, thank you for letting me know! I don't have any plans for making tutorials for nrf5xx at the moment, but I'll be sure to keep it in mind for the future :-)
@fouadayoubi3727
@fouadayoubi3727 11 ай бұрын
Thank you for your informative videos. Why is this information given twice: "gpios = " in the overlay file and "ret = gpio_pin_configure_dt(&led, GPIO_OUTPUT_ACTIVE)" in main.c? Isn't it redundant?
@thepullupresistor
@thepullupresistor 10 ай бұрын
Thank you for the feedback and the excellent question. Whilst GPIO_ACTIVE_HIGH and GPIO_OUTPUT_ACTIVE look quite similar, their meaning is slightly different. In the devicetree overlay file, GPIO_ACTIVE_HIGH says that this pin will have the logical value of 1 (ACTIVE) when the voltage level is HIGH. So, for example, if the voltage on that pin is 3.3V or 5V (depending on your power supply), Zephyr will treat it as a logical value 1 (ACTIVE). If the voltage is at 0V (ground), Zephyr will treat the logical value as 0. If, instead, we had configured the devicetree overlay file to say GPIO_ACTIVE_LOW, then Zephyr would treat 3.3V/5V as a logical 0, and 0V as logical 1 (ACTIVE). Now, as for the GPIO_OUTPUT_ACTIVE flag, this tells the MCU to treat the GPIO pin pointed to by &gpio0 25 as an output AND set it to logical value 1 (ACTIVE). Since we have configured GPIO_ACTIVE_HIGH in our devicetree, this means that the voltage will be set to 3.3V/5V. If, instead, we had configured the devicetree with GPIO_ACTIVE_LOW, then the MCU would set the voltage to 0V, because this is then the logical value 1 (ACTIVE). Sorry for the long-winded explanation, but hopefully it makes sense. Please let me know if you're OK or if I misunderstood your question. Thanks again!
@fouadayoubi3727
@fouadayoubi3727 10 ай бұрын
crystal clear, thank you@@thepullupresistor
@SaieenTwist
@SaieenTwist 10 ай бұрын
Hello, Do you know where to place the overlay file if I am using PlatformIO in Windows?
@thepullupresistor
@thepullupresistor 9 ай бұрын
Sorry, but I don't use PlatformIO or Windows so I don't know. Good luck in finding an answer to your problem.
@techxplorerxxx
@techxplorerxxx 2 жыл бұрын
Keep on going... We need everything that Zephyr and esp32 can do... Please upload videos regularly... Don't bother about views..
@thepullupresistor
@thepullupresistor 2 жыл бұрын
Thanks for the encouragement, it really helps to know that you find the content useful.
[#3] ESP32 on Zephyr OS: GPIO Interrupt (ISR) [Part 3]
9:30
The Pull-up Resistor Channel
Рет қаралды 6 М.
[#1] ESP32 on Zephyr OS: "Hello, world!" (Blinking LED) [Part 1]
11:27
The Pull-up Resistor Channel
Рет қаралды 32 М.
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 107 МЛН
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 75 МЛН
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 46 МЛН
Run Linux on ESP32 - how to run the Linux kernel on an ESP32
19:53
Tam Hanna's Crazy Electronics Lab
Рет қаралды 61 М.
ESP32 Toolchain Install (Golioth, Zephyr)
11:26
Golioth
Рет қаралды 1,5 М.
6 Horribly Common PCB Design Mistakes
10:40
Predictable Designs
Рет қаралды 213 М.
Zephyr RTOS Intro - And why I love it
39:37
ANTSHIV ROBOTICS
Рет қаралды 8 М.
12 Useful & Interesting ESP32 Projects for Beginners!
9:41
ToP Projects Compilation
Рет қаралды 640 М.
Introduction to the Zephyr RTOS
1:04:31
Nordic Semiconductor
Рет қаралды 49 М.
STM32 on Zephyr, What You Need to Know - Erwan Gouriou, STMicroelectronics
42:04
[#6] ESP32 on Zephyr OS: Custom Device Driver [Part 6]
22:02
The Pull-up Resistor Channel
Рет қаралды 4,3 М.
Super-Simple Tasker -- The Hardware RTOS for ARM Cortex-M, Part-1
22:01
Quantum Leaps, LLC
Рет қаралды 10 М.
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 107 МЛН