filmov
tv
Introduction to Embedded Linux Part 5 - Patch Device Tree for I2C in Yocto | Digi-Key Electronics
![preview_player](https://i.ytimg.com/vi/srM6u8e4tyw/maxresdefault.jpg)
Показать описание
Linux is a powerful operating system that can be compiled for a number of platforms and architectures. One of the biggest draws is its ability to be customized for an application. Tools like Buildroot, OpenWRT, and Yocto Project help us create custom Linux distributions for embedded systems.
In this video series, we will explore Buildroot and the Yocto Project. We also demonstrate how you might develop applications for embedded Linux. We will not dive into the specifics of how each of these systems work but give you a good starting place so you can read or watch more advanced material about working with embedded Linux.
In this episode, we look at enabling ports and peripherals on the microprocessor by creating a custom Linux kernel patch for the device tree. Specifically, we enable I2C port 5 on the STM32MP157D-DK1 so that we can use it to talk to a temperature sensor.
We also include the “i2cdetect” tool by enabling it in busybox.
We build the new kernel and device tree, flash the SD card, and boot our board. We connect the temperature sensor and probe it using i2cdetect.
Product Links:
Related Videos:
Related Project Links:
Related Articles:
Learn more:
In this video series, we will explore Buildroot and the Yocto Project. We also demonstrate how you might develop applications for embedded Linux. We will not dive into the specifics of how each of these systems work but give you a good starting place so you can read or watch more advanced material about working with embedded Linux.
In this episode, we look at enabling ports and peripherals on the microprocessor by creating a custom Linux kernel patch for the device tree. Specifically, we enable I2C port 5 on the STM32MP157D-DK1 so that we can use it to talk to a temperature sensor.
We also include the “i2cdetect” tool by enabling it in busybox.
We build the new kernel and device tree, flash the SD card, and boot our board. We connect the temperature sensor and probe it using i2cdetect.
Product Links:
Related Videos:
Related Project Links:
Related Articles:
Learn more:
Комментарии